-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Unresolved external symbol errors #2930
Comments
I tested by downloading the 0.3 single distribution code and was able to run the tutorial server. I'm not sure if there's an error when using the amalgamation flag. |
How exactly did you build the library and how does you command line look to build the tutorial? |
We are in the nasty habit of rewriting the /MT /MD compiler flags in cmake. With this, we can link against library dependencies from vcpkg. |
Other than turning on the amalgamation flag, I left every other flag on as default. I used the cmake GUI. I did not turn on the build_shared_libs flag.
|
I also downloaded the single file relase tag: 9095278 (the most recent one) and am coming into this error. |
Hmm. That's not good. |
It is Microsoft Visual Studio Professional 2019 Version 16.1.5 |
I'm experiencing same issue in VS 2017 v15.9.7. Part of my CMakeLists.txt which is responsible for compiling open62541 library:
Compile time error: What could be done to resolve this. |
I have the same problem in VS 2022. Is there a solution? |
Description
I'm running into issues with trying to build a simple server with the AMALGAMATION flag enabled. It gives me these linking errors despite linking the open62541.lib
I'm not too sure where I'm going wrong.
Used CMake options:
Checklist
Please provide the following information:
The text was updated successfully, but these errors were encountered: