Created
September 9, 2015 13:05
-
-
Save kunthar/9e934497126309d924c3 to your computer and use it in GitHub Desktop.
caf compile steps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo port install cmake | |
gcc --version (gcc (MacPorts gcc49 4.9.3_0) 4.9.3) | |
which gcc (/opt/local/bin/gcc) | |
./configure --with-gcc=/opt/local/bin/g++ | |
make | |
sudo make install | |
ls /usr/local/include/caf/ (files exist) | |
λ kunthar : port select --list gcc | |
Available versions for gcc: | |
mp-gcc48 | |
mp-gcc49 (active) | |
none | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
found an error
/usr/local/share/caf/examples
λ kunthar : gcc aout.cpp
In file included from /opt/local/include/gcc49/c++/random:35:0,
from aout.cpp:5:
/opt/local/include/gcc49/c++/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support for the
^
aout.cpp:10:23: fatal error: caf/all.hpp: No such file or directory
#include "caf/all.hpp"
^
compilation terminated.