-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
MacOs, m2, failed to compile build.bash #4980
Comments
macOS, m2, Sonoma. UE 4.27.2 |
Same problem, have you figured out it? Apple clang version 15.0.0 (clang-1500.3.9.4) |
@554773162 did you try to |
Same error on clang 19.1.3.
|
Any updates on this? @shge @hongh0 @554773162 On a mac m2 |
This seemed to resolve the issue for me: #4740 |
Question
What's your question?
./setup.bash has been complied successfully.
But, when I compiled ./build.sh, it reported "
[ 98%] Linking CXX executable ../output/bin/DroneShell
Undefined symbols for architecture x86_64:
"std::exception_ptr::__from_native_exception_pointer(void*)", referenced from:
std::__1::promise<clmdep_msgpack::v1::object_handle>::~promise() in libAirLib.a(RpcLibClientBase.cpp.o)
std::__1::promise<clmdep_msgpack::v1::object_handle>::~promise() in libAirLib.a(MultirotorRpcLibClient.cpp.o)
std::__1::promise<clmdep_msgpack::v1::object_handle>::~promise() in librpc.a(client.cc.o)
"___cxa_init_primary_exception", referenced from:
std::__1::promise<clmdep_msgpack::v1::object_handle>::~promise() in libAirLib.a(RpcLibClientBase.cpp.o)
std::__1::promise<clmdep_msgpack::v1::object_handle>::~promise() in libAirLib.a(MultirotorRpcLibClient.cpp.o)
std::__1::promise<clmdep_msgpack::v1::object_handle>::~promise() in librpc.a(client.cc.o)
ld: symbol(s) not found for architecture arm64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [output/bin/DroneShell] Error 1
make[1]: *** [DroneShell/CMakeFiles/DroneShell.dir/all] Error 2
"
Because the MacOs update, the methods before doesnt work.
Maybe due to architecture arm64, after modified, it doesnt work either.
I dont know how to deal with it
Context details
Tasks
The text was updated successfully, but these errors were encountered: