falken
falken copied to clipboard
falken::Rotation::FromEulerAngles causes LNK2019 compiler error
When building my solution, i keep encountering a LNK2019 error while using falken::Rotation::FromEulerAngles
. Other methods from the library compile, only this one is polling the error.
My current set up is
- Unreal Engine 4.25
- Visual Studio 2019
- released version of the c++ sdk (0.0.2)
Hi,
Please try rebuilding the SDK as well; this problems happens with some compiler and library configurations that don't completely match the ones used for building the released version.
Thanks
i tried recompiling the sdk and i encounter errors in cmake (ver 3.21.1). i attached the error log for clarity CMakeError.log
This looks like missing dependencies, but I can't look into it deeply enough to debug it further. I suggest rechecking dependencies and compiler / linker configuration.
i managed to compile the sdk from scratch. after updating my files, the issue still persists.
the output log has the messge error LNK2019: unresolved external symbol "public: static struct falken::Rotation __cdecl falken::Rotation::FromEulerAngles(float,float,float)" (?FromEulerAngles@Rotation@falken@@SA?AU12@MMM@Z)
The simplest cause for this would be that you are not linking to the library in your program. But there could be other causes.
Do the tests pass? Are you able to build and run the example programs?
If they work, how does your compiler and linker configuration differ from that used to run the example programs? Those differences should point out to the issue here.
i can build and run.. but encounter errors in the game
i tried rebuilding from the source with the prebuilt sdk and a fresh environment
Great to hear it. Would you please describe what you did to fix the issue?
As for the errors, it would be very helpful to look at logs in the service as well (you may need to add some logs if needed). The important bit is to figure out which calls are reaching the service correctly, and if any, which ones are timing out because of errors service-side.
i get those messages after building hello_falken. i took the source code and built from scratch.
Thanks for the details.