Faunus requires a C++ compiler with good C++11 support; Clang 3.1+, gcc4.6+, and intel composer 13 are known to work. If your current compiler is insufficient, here are some ways to get an updated version:
MacOS:
- download a precompiled version of gcc from http://hpc.sourceforge.net.
- upgrade to the latest Xcode version on MacOS X 10.7/10.8; clang will work.
- use MacPorts to install a newer version of gcc - i.e. "sudo port install gcc47".
General unix/linux:
- build clang or gcc from source: see http://clang.llvm.org or http://gcc.gnu.org
- use a port manager to install a newer version.
- upgrade your distribution.
To tell the build system about compilers in non-standard locations, explicitly specify it when running cmake. For example:
$ CXX=/usr/local/bin/g++ CC=/usr/local/bin/gcc cmake . [options]
Anonymous
Diff: