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: INSTALL deploy mode does not work #151

Open
ralphlange opened this issue Nov 21, 2023 · 8 comments
Open

Windows: INSTALL deploy mode does not work #151

ralphlange opened this issue Nov 21, 2023 · 8 comments

Comments

@ralphlange
Copy link
Member

Building an application also needs the DLL stub library in $(OPCUA)/lib/$(T_A), not just the DLL in $(OPCUA)/bin/$(T_A).
(Careful: the stub is named differently between MSVC and MinGW.)

The application, on the other hand, should only install a copy of the DLL for distribution. The stub is not needed for running an application, just for building it.

@splashmak
Copy link

We are trying to build it on windows (minGW) and we get :
make[2]: *** No rule to make target '../opcua.dll', needed by '../../lib/windows-x64-mingw/opcua.dll'. Stop.
You think it could be linked ? how can we choose between MSVC & MinGW ? our EPICS_HOST_ARCH is configured in a environnement variable

@ralphlange
Copy link
Member Author

What are you trying to build?

@splashmak
Copy link

opcuaBinaryDist

@ralphlange
Copy link
Member Author

Which doesn't exist for Windows.
(I don't even have a Windows license of the SDK.)

@ralphlange
Copy link
Member Author

For Windows builds, you can use the UASDK evaluation bundle. (I'm testing with those.)

Long-term, I would recommend using the open62541 client. Free, open, and works on Windows.

@splashmak
Copy link

In fact we don't know where to begin with windows ( linux is working but we want to test it on windows too).
So you confirm that we have to download Source code (zip) and not BDIST ?

@ralphlange
Copy link
Member Author

Start with reading the "EPICS on Windows" doc that explains the compilers and build options.
https://docs.epics-controls.org/en/latest/getting-started/installation-windows.html

For that, you will have to download or check out the source code of the Device Support and build (open62541) or install (UASDK) the low-level client, correct.

@splashmak
Copy link

You're so great! Thank you

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

2 participants