Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac OS Big Sur make error #16104

Open
basakulas opened this issue Jan 30, 2025 · 0 comments
Open

Mac OS Big Sur make error #16104

basakulas opened this issue Jan 30, 2025 · 0 comments

Comments

@basakulas
Copy link

basakulas commented Jan 30, 2025

Hello, I recently started getting an error while building SUMO. Admittedly, I am using an old machine, but it has worked so far for the build process. But I merged the fresh commits and started getting an error, then I saw that the build for Mac is currently failing so I switched the code to the last successful run but I'm still getting an error.

Undefined symbols for architecture x86_64:
  "std::__1::vector<Position, std::__1::allocator<Position> >::~vector()", referenced from:
      LandmarkLookupTable<MSEdge, SUMOVehicle, MapMatcher<MSEdge, MSLane, MSJunction> >::LandmarkLookupTable(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<MSEdge*, std::__1::allocator<MSEdge*> > const&, SUMOAbstractRouter<MSEdge, SUMOVehicle>*, SUMOAbstractRouter<ReversedEdge<MSEdge, SUMOVehicle>, SUMOVehicle>*, SUMOVehicle const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, MapMatcher<MSEdge, MSLane, MSJunction>*) in libmicrosim_devices.a(MSRoutingEngine.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/basakulas/sumomac/sumomac/bin/sumo] Error 1
make[1]: *** [src/CMakeFiles/sumo.dir/all] Error 2
make: *** [all] Error 2

And here is my clang version if needed:

Apple clang version 13.0.0 (clang-1300.0.29.30)
Target: x86_64-apple-darwin20.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants