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

Windows build #21

Open
jroeglin opened this issue Aug 1, 2022 · 1 comment
Open

Windows build #21

jroeglin opened this issue Aug 1, 2022 · 1 comment

Comments

@jroeglin
Copy link

jroeglin commented Aug 1, 2022

Hallo,

i tried to build the library under windows and with open62541 1.3. without UA_MULTITHREADING and UA_ARCHITECTURE win32.

I added some defines in open62541server.h so that i able to build the lib without multi threading support.
Also i added '#include "open62541/win32/ua_architecture.h"' instead of the linux lib.

I can build the open62541cpp.lib but I get linker errors when i try to build den open62541cpp.dll.

servernodetree.obj : error LNK2001: Nicht aufgelöstes externes Symbol "UA_TYPES".
...

i linked the open62541.lib with
target_link_libraries(${OPEN62541_CPP} PUBLIC ${Boost_LIBRARIES} ";C:/Program Files/open62541/lib/open62541.lib;C:/dependencies/boost_1_77_0/lib64-msvc-14.2/libboost_thread-vc142-mt-gd-x64-1_77.lib;C:/dependencies/boost_1_77_0/lib64-msvc-14.2/libboost_chrono-vc142-mt-gd-x64-1_77.lib" open62541::open62541)

Do i missed something?

@jroeglin
Copy link
Author

jroeglin commented Aug 3, 2022

I use it now without the library. I built open62541 without dll and use this wrapper as source code.

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