bazza2jw / open62541Cpp

C++ Wrappers for Open62541 Version 0.3
35 stars 21 forks source link

Building error #18

Closed AVerutin closed 2 years ago

AVerutin commented 2 years ago

I try to build this library under the MinGW on Windows and can't do it becouse I can't build library Open62541 with option posix and I can't build this library when I have builded Open62541 with option win32:

In file included from E:/Projects/CPP/Libs/open62541Cpp/src/open62541objects.cpp:13:
E:/Projects/CPP/Libs/open62541Cpp/include/open62541cpp/open62541objects.h:44:10: fatal error: open62541/posix/ua_architecture.h: No such file or directory
   44 | #include "open62541/posix/ua_architecture.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
bazza2jw commented 2 years ago

I only build under linux. Check in the installed include directory for the open62451 C library. If there is a win32 directory than change the include in the open62541objects.h to reflect this.

AVerutin commented 2 years ago

Yes, I have founded solution, thank you.