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

Undefined symbols for architecture arm64 #45

Open
leonidaas opened this issue Aug 2, 2024 · 0 comments
Open

Undefined symbols for architecture arm64 #45

leonidaas opened this issue Aug 2, 2024 · 0 comments

Comments

@leonidaas
Copy link

leonidaas commented Aug 2, 2024

When I try to build the project on my Macbook Pro with an M1 Chip I get the following error:

0>[1/3] Link [Apple] UnrealEditor-MqttUtilities.dylib
0>ld: Warning : ignoring file /Plugins/MqttUtilities/Binaries/Mac/mosquitto.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
0>ld: Warning : ignoring file /Plugins/MqttUtilities/Binaries/Mac/mosquittopp.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
0>Undefined symbols for architecture arm64:
0> "mosqpp::mosquittopp::disconnect()", referenced from:
0> FMqttRunnable::Run() in Module.MqttUtilities.cpp.o
0> "mosqpp::mosquittopp::unsubscribe(int*, char const*)", referenced from:
0> FMqttRunnable::Run() in Module.MqttUtilities.cpp.o
0> "mosqpp::mosquittopp::username_pw_set(char const*, char const*)", referenced from:
0> FMqttRunnable::Run() in Module.MqttUtilities.cpp.o
0> "mosqpp::mosquittopp::max_inflight_messages_set(unsigned int)", referenced from:
0> FMqttRunnable::Run() in Module.MqttUtilities.cpp.o
0> "mosqpp::mosquittopp::loop(int, int)", referenced from:
0> FMqttRunnable::Run() in Module.MqttUtilities.cpp.o
0> "mosqpp::mosquittopp::connect(char const*, int, int)", referenced from:
0> FMqttRunnable::Run() in Module.MqttUtilities.cpp.o
0> "mosqpp::mosquittopp::publish(int*, char const*, int, void const*, int, bool)", referenced from:
0> FMqttRunnable::Run() in Module.MqttUtilities.cpp.o
0> "mosqpp::mosquittopp::reconnect()", referenced from:
0> FMqttRunnable::Run() in Module.MqttUtilities.cpp.o
0> "mosqpp::mosquittopp::subscribe(int*, char const*, int)", referenced from:
0> FMqttRunnable::Run() in Module.MqttUtilities.cpp.o
0> "mosqpp::mosquittopp::mosquittopp(char const*, bool)", referenced from:
0> FMqttRunnable::Run() in Module.MqttUtilities.cpp.o
0> "mosqpp::mosquittopp::~mosquittopp()", referenced from:
0> MqttClientImpl::~MqttClientImpl() in Module.MqttUtilities.cpp.o
0> MqttClientImpl::~MqttClientImpl() in Module.MqttUtilities.cpp.o
0> FMqttRunnable::Run() in Module.MqttUtilities.cpp.o
0> "mosqpp::lib_init()", referenced from:
0> FMqttRunnable::Run() in Module.MqttUtilities.cpp.o
0> "_mosquitto_strerror", referenced from:
0> FMqttRunnable::Run() in Module.MqttUtilities.cpp.o
0>ld: symbol(s) not found for architecture arm64
0>clang: Error : linker command failed with exit code 1 (use -v to see invocation)

Is it possible to build this on a arm64 architecture?

Thanks in advance

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

No branches or pull requests

1 participant