Questions tagged [gcc5]

Version 5.x of GCC (GNU Compiler Collection).

76 questions
1
vote
1 answer

GCC 5.1 library dependencies on old distributions - walkthough

I compiled and install GCC 5.1.0 on my CentOS 5.11 (with default GCC 4.x onboard). It is safe to run compiled (on this machine) binary on another CenOS 5.11 workstation, where is no any gcc 5.1 runtime libraries (/usr/local/lib64) ? Will be…
user1503944
  • 387
  • 2
  • 16
1
vote
1 answer

Undefined reference when linking with Boost using g++-4.9 on a g++-5-ish distribution

I've written the following groundbreaking application: #include int main(int argc, char** argv) { boost::program_options::options_description generic_options("foo"); return 0; } I am trying to build this on…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
1
vote
1 answer

error with gcc 5 for varargs function: suffix or operands invalid for `movq'

When trying to install OpenMPI the .configure filed failed in the section checking for ISO C99 ability of the selected compiler. Puzzled as gcc of course has both the std=gnu99 and std=c99 option, I pruning the 20,000 lines configure file to…
ppl4world
  • 51
  • 6
1
vote
1 answer

ImportError: Cython and gcc-5

I want to use some C-functions in Python by using Cython. Here I noticed that if I use GCC-5 for compiling the C-code (in order to use Cilk) nm lists a lot less entrances in the resulting *.so-function: 0000000000201030 B…
arc_lupus
  • 3,942
  • 5
  • 45
  • 81
1
vote
1 answer

Regex functionality in g++ 5.1

Is all the regex functionality finally implemented in gcc5.1? The previous versions only had partial support.
SU3
  • 5,064
  • 3
  • 35
  • 66
0
votes
0 answers

My GCC compiler didn't identify the PlaySound function

I'm kinda confused when having the PlaySound function in my code. I did a double check the syntax and pretty sure I used the necessary library. I'm using GCC version 5.1.0 and I had my WAV file in the same directory. Also, here is my code and the…
Jin
  • 1
  • 1
0
votes
1 answer

How does one install wxmaxima?

I entered sudo port install maxima and got Error: Failed to build libgcc-devel: command execution failed Error: See…
0
votes
1 answer

Compiling GCC-5.0 OS X Lion dyld: Symbol not found: __ZNKSt11logic_error4whatEv

I'm trying to install gcc-5.0 from source on my OS X 10.7.5 using the (Apple built) /usr/bin/gcc-4.2 and the appropriate versions of gcc dependencies (gmp,mpfr,mpc) which are installed at /usr/local. The reason I'm trying to (re)install gcc-5.0 is…
Terry
  • 1,206
  • 1
  • 10
  • 26
0
votes
0 answers

How to ignore unused static variables in gcc 5.x?

I'm using an external library which has one particular header file that has around 50 static variables in it's header that are unused. I'm using gcc 5.5.0, cmake and c++14. When I try to compile I'm getting -Werror=unused-variable. Normally I would…
Gio
  • 3,242
  • 1
  • 25
  • 53
0
votes
2 answers

Direct inclusion of template slower than separate instantiation

I have a simple template header containing 3 templated functions (no declarations, just definitions and marked static inline), two of these functions being 5000 lines long. These long functions are very simple, but are long because they are in…
rfabbri
  • 239
  • 2
  • 13
0
votes
0 answers

Affdex SDK Compilation error with undefined reference to `Visualizer::Visualizer()'

I wish to setup Affectiva SDK 4.0.0 for Linux and hence, have started working on example apps from https://github.com/Affectiva/cpp-sdk-samples I have Ubunutu 16.04, OpenCV 2.4.11, Boost 1.63, cmake 3.8.1, pre-installed gcc 5.5.0 and manually…
Mudra
  • 36
  • 8
0
votes
1 answer

"collect2: error: ld returned 1 exit status" on Codeblocks (Raspberry Pi 3b/GCC 5.4.0)

Currently I'm learning how to create games (at a low level) at my degree. I'm programming on Ubuntu mate 16.04, Codeblocks 13.12 and this happen: -------------- Build: Debug in s04 (compiler: GNU GCC Compiler)--------------- g++ -o bin/Debug/s04…
0
votes
1 answer

how to compile Ignite application on CMake?

I did compile Ignite Application successfully. but The Binary didn't work. /tmp/tmp.Nw0IPD6ru3/cmake-build-debug-local-container/planet_engine: error while loading shared libraries: libjvm.so: cannot open shared object file: No such file or…
0
votes
0 answers

Undefined references in libfftw3_mpi.a with gcc-5

I am new to fftw library. I recently downloaded a simple mpi-fftw code from here. I have some undefined references to mpi functions from libfftw3_mpi.a when I compile the code on Ubuntu 18.04 as mpicc -I /usr/local/include -L /usr/local/lib …
user10954947
0
votes
1 answer

std::string class inheritance and tedious c++ overload resolution #2

Previous question: std::string class inheritance and tedious c++ overload resolution In steps after the previous question i have tried to test operator+ over the raw string pointer: "aaa" + path_string{ "bbb" }. And found it does not call the…
Andry
  • 2,273
  • 29
  • 28