Closed kevglynn closed 8 years ago
When I run the command cd graphlab-sdk && make, the examples won't build, and I get the following error:
cd graphlab-sdk && make
$ cd graphlab-sdk && make g++ -o sdk_example/example1.so -std=c++11 -I . -shared -fPIC --stdlib=libc++ -undefined dynamic_lookup sdk_example/example1.cpp g++: error: unrecognized command line option ‘--stdlib=libc++’ make: *** [sdk_example/example1.so] Error 1 graphlab-sdk $
$ cd graphlab-sdk && make
g++ -o sdk_example/example1.so -std=c++11 -I . -shared -fPIC --stdlib=libc++ -undefined
dynamic_lookup sdk_example/example1.cpp
g++: error: unrecognized command line option ‘--stdlib=libc++’
make: *** [sdk_example/example1.so] Error 1
graphlab-sdk $
Is it necessary to modify the .cpp file, like here on stackoverflow?
I should have added, Mac OS X 10.11.5, GLC 1.10, xcode is installed, etc.
Hi, can you try replacing g++ with clang++ in the Makefile.
Yes that worked perfectly. Thank you.
When I run the command
cd graphlab-sdk && make
, the examples won't build, and I get the following error:$ cd graphlab-sdk && make
g++ -o sdk_example/example1.so -std=c++11 -I . -shared -fPIC --stdlib=libc++ -undefined
dynamic_lookup sdk_example/example1.cpp
g++: error: unrecognized command line option ‘--stdlib=libc++’
make: *** [sdk_example/example1.so] Error 1
graphlab-sdk $
Is it necessary to modify the .cpp file, like here on stackoverflow?