You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using UE4.26 on MacOS Monterey 12.2.1, with JetBrains Rider IDE.
The broker that I've set up is RabbitMQ hosted on AWS MQ.
I get the following error when I attempt to build by clicking on build button in the IDE:
Undefined symbols for architecture x86_64:
"USpacesMarkerManager::rc", referenced from:
USpacesMarkerManager::connect_callback(mosquitto*, void*, int) in SpacesMarkerManager.cpp.o
USpacesMarkerManager::BeginSubscribe() in SpacesMarkerManager.cpp.o
ld: symbol(s) not found for architecture x86_64
0>clang: Error : linker command failed with exit code 1 (use -v to see invocation)
Rebuild failed at 9:35:20 PM
in particular, making any reference to static class variable caused the linker error, like using ResponseCode or RunStatus.
So my question is, how do you use mosquitto_loop if you can't use any references to variables outside of the callback function scope? Or if I'm mistaken, I would be grateful if someone could show me how you use reference to variables defined outside of the callback function scope. I want to use some kind of variable to control whether the subscription should continue or halt.
I'm using UE4.26 on MacOS Monterey 12.2.1, with JetBrains Rider IDE.
The broker that I've set up is RabbitMQ hosted on AWS MQ.
I get the following error when I attempt to build by clicking on build button in the IDE:
Code:
I would appreciate any insight on how I can resolve this build issue. TIA!
The text was updated successfully, but these errors were encountered: