bayerj / arac

C++ library for neural networks.
Other
39 stars 57 forks source link

Build error on Mac OS X #13

Open cgreenberg opened 12 years ago

cgreenberg commented 12 years ago

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

thavidu commented 11 years ago

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

derbroti commented 11 years ago

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

SWIG Version 2.0.9