Open smbenincasa opened 2 years ago
It seems as you are using an Intel-based Mac.
Which version of clang are you using? clang --version
Did you install all prerequisites and dependencies? -> https://sumo.dlr.de/docs/Installing/MacOS_Build.html#the_homebrew_approach
Hi Angelo,
Yes I did install the preqs and dependencies for the brew approach as described.
The clang version I'm using is:
Apple clang version 14.0.0 (clang-1400.0.29.102)
Target: x86_64-apple-darwin21.6.0
Thread model: posix
Cheers, Sam
On Wed, Oct 5, 2022 at 5:17 AM Angelo Banse @.***> wrote:
It seems as you are using an Intel-based Mac. Which version of clang are you using? clang --version
Did you install all prerequisites and dependencies? -> https://sumo.dlr.de/docs/Installing/MacOS_Build.html#the_homebrew_approach
— Reply to this email directly, view it on GitHub https://github.com/eclipse/sumo/issues/11757#issuecomment-1268171462, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVPS2QESJUZEUQE2RPMDU3WBVBQXANCNFSM6AAAAAAQ3SOW5I . You are receiving this because you authored the thread.Message ID: @.***>
I've been trying to get sumo up and running on a mac machine (running Monterey 12.6). 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!
------error message to follow
[ 92%] Built target microsim
Undefined symbols for architecture x86_64:
"typeinfo for testing::Test", referenced from:
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:
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:
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:
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:
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