Open chraibi opened 7 years ago
What version of g++ is this? I've encountered this before as well. This is something I could hope to address.
Oops. Scrolling the screen showed me the version number. :)
👍
Some news about this issue?
FYI I just got a clean version of Ubuntu installed. I want to compile Menge
.
Following remarks:
On Branch Master:
The compiler has C++11 support
g++ (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
I checked in the Cmakefiles. The c++11 flag for debug and release are there.
The solution was to specify the cmake_build_type
to Debug or Release. What happens if you don't?
The way to build it is to simply go to the projects/g++
directory and type make
. Did you do that or did you do the cmake stuff yourself? (And this is very relevant to issue #40 and the erratically documented build process.)
I cmake
and then make
There's a Makefile
in projects/g++
who wraps up the cmake stuff and make all in one fell swoop. I'd suggest cleaning out your build artifacts and simply call make
.
The Makefile
works.
I just wanted to go in two steps. But this is not necessary, only a habit.
Sometimes the 2 steps method is handy if you want to pass some other parameters like
-D CMAKE_MACOSX_RPATH=1
. Surely, this can be also done in the Makefile.
It's probably worth setting things up so that those more familiar with CMake and have good CMake reflexes like you do don't suffer.
I think the relevant infos are summed up in this screenshot.