arac icon indicating copy to clipboard operation
arac copied to clipboard

Build error on Mac OS X

Open cgreenberg opened this issue 13 years ago • 2 comments

scons is giving me this error:

g++ -o test-arac src/cpp/tests/test_datasets.o src/cpp/tests/test_main.o src/cpp/tests/test_optimzation.o src/cpp/tests/test_structure.o src/cpp/tests/test_utilities.o -L/usr/lib -L. -L/usr/local/lib -larac -lgtest scons: *** [src/python/arac/_cppbridge.so] Source file: src/swig/cppbridge.i is static and is not compatible with shared target: src/python/arac/_cppbridge.so scons: building terminated because of errors.

I'm using SCons version 2.0.1, SWIG version 1.3.40, and Mac OS X 10.7

cgreenberg avatar Nov 03 '11 20:11 cgreenberg

I'm hitting this too, did you end up figuring this out?

thavidu avatar Feb 08 '13 08:02 thavidu

I solved it by manually compiling swig from the sources. without any changes. $ swig -version

SWIG Version 2.0.9

derbroti avatar May 09 '13 13:05 derbroti