opcua icon indicating copy to clipboard operation
opcua copied to clipboard

Windows: INSTALL deploy mode does not work

Open ralphlange opened this issue 2 years ago • 8 comments

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.

ralphlange avatar Nov 21 '23 14:11 ralphlange

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

splashmak avatar Dec 13 '24 14:12 splashmak

What are you trying to build?

ralphlange avatar Dec 13 '24 14:12 ralphlange

opcuaBinaryDist

splashmak avatar Dec 13 '24 14:12 splashmak

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

ralphlange avatar Dec 13 '24 14:12 ralphlange

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.

ralphlange avatar Dec 13 '24 14:12 ralphlange

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 ?

splashmak avatar Dec 13 '24 14:12 splashmak

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.

ralphlange avatar Dec 13 '24 14:12 ralphlange

You're so great! Thank you

splashmak avatar Dec 13 '24 14:12 splashmak

Closing as wontfix.

ralphlange avatar Aug 06 '25 17:08 ralphlange