Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Trouble installing on mac

Hello!

I've been trying to get sumo up and running on a mac machine. I'm having difficulties with both the homebrew and build from source methods.

The homebrew is successful for the sumo and netedit capabilities, but silently fails to create a tools folder and thus does not successfully install osmWebWizard capabilities.

Building from source can nearly get there but is unable to finish due to some architecture problems. I will copy the error messages from the build option at the bottom of this email. 

Thanks for your help!

Cheers,
Sam

------error message to follow

[ 92%] Built target microsim

Undefined symbols for architecture x86_64:

  "typeinfo for testing::Test", referenced from:

      typeinfo for Boundary_test_method_add_Test in BoundaryTest.cpp.o

      typeinfo for Boundary_test_method_add_multiple_Test in BoundaryTest.cpp.o

      typeinfo for Boundary_test_method_getCenter_Test in BoundaryTest.cpp.o

      typeinfo for Boundary_test_method_getWidthHeight_Test in BoundaryTest.cpp.o

      typeinfo for Boundary_test_method_around_Test in BoundaryTest.cpp.o

      typeinfo for Boundary_test_method_overlapsWith_Test in BoundaryTest.cpp.o

      typeinfo for Boundary_test_method_crosses_Test in BoundaryTest.cpp.o

      ...

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

make[2]: *** [/Users/sbenincasa/sumo/bin/testgeom] Error 1

make[1]: *** [unittest/src/utils/geom/CMakeFiles/testgeom.dir/all] Error 2

make[1]: *** Waiting for unfinished jobs....

Undefined symbols for architecture x86_64:

  "typeinfo for testing::Test", referenced from:

      typeinfo for StringTokenizer_test_split_with_whitechar_Test in StringTokenizerTest.cpp.o

      typeinfo for StringTokenizer_test_split_with_newline_Test in StringTokenizerTest.cpp.o

      typeinfo for StringTokenizer_test_split_with_x_Test in StringTokenizerTest.cpp.o

      typeinfo for StringTokenizer_test_split_any_char_Test in StringTokenizerTest.cpp.o

      typeinfo for StringTokenizer_test_method_reinit_Test in StringTokenizerTest.cpp.o

      typeinfo for StringTokenizer_test_method_size_Test in StringTokenizerTest.cpp.o

      typeinfo for StringTokenizer_test_method_front_Test in StringTokenizerTest.cpp.o

      ...

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

make[2]: *** [/Users/sbenincasa/sumo/bin/testcommon] Error 1

Undefined symbols for architecture x86_64:

  "typeinfo for testing::Test", referenced from:

      typeinfo for MFXWorkerThread_test_init_Test in MFXWorkerThreadTest.cpp.o

      typeinfo for MFXWorkerThread_test_get_all_Test in MFXWorkerThreadTest.cpp.o

make[1]: *** [unittest/src/utils/common/CMakeFiles/testcommon.dir/all] Error 2

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

make[2]: *** [/Users/sbenincasa/sumo/bin/testfoxtools] Error 1

make[1]: *** [unittest/src/utils/foxtools/CMakeFiles/testfoxtools.dir/all] Error 2

Undefined symbols for architecture x86_64:

  "typeinfo for testing::Test", referenced from:

      typeinfo for NBHeightMapperTest in NBHeightMapperTest.cpp.o

      typeinfo for NBTrafficLightLogic_test_method_getDuration_Test in NBTrafficLightLogicTest.cpp.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

make[2]: *** [/Users/sbenincasa/sumo/bin/testnetbuild] Error 1

make[1]: *** [unittest/src/netbuild/CMakeFiles/testnetbuild.dir/all] Error 2

[ 92%] Built target sumo

[ 92%] Built target testlibsumostatic

[ 92%] Built target libsumo

[ 93%] Built target sumo-gui

[ 93%] Linking CXX executable /Users/sbenincasa/sumo/bin/testmicrosim

[ 95%] Built target netedit

[ 98%] Built target libsumocpp

Undefined symbols for architecture x86_64:

  "typeinfo for testing::Test", referenced from:

      typeinfo for MSEventControl_test_method_execute_Test in MSEventControlTest.cpp.o

      typeinfo for MSCFModelTest in MSCFModelTest.cpp.o

      typeinfo for MSCFModel_IDMTest in MSCFModel_IDMTest.cpp.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

make[2]: *** [/Users/sbenincasa/sumo/bin/testmicrosim] Error 1

make[1]: *** [unittest/src/microsim/CMakeFiles/testmicrosim.dir/all] Error 2

make: *** [all] Error 2


Back to the top