cmake messages in Windows environment

20 views
Skip to first unread message

Jacky Bek

unread,
Apr 28, 2022, 6:29:09 AMApr 28
to open62541
After i configure my Cmake in windows and select the features of open62541, i get these errors.  I downloaded v1.3 source code from https://github.com/open62541/open62541/releases 
=========================================

Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19043.

Could NOT find Git (missing: GIT_EXECUTABLE)

Could NOT find Git (missing: GIT_EXECUTABLE)

CMake Warning at tools/cmake/SetGitBasedVersion.cmake:23 (message):
Failed to determine the version from git information. Using defaults.
Call Stack (most recent call first):
CMakeLists.txt:51 (set_open62541_version)

open62541 Version: v1.2.2-unknown

The selected architecture is: win32

CMake Warning at CMakeLists.txt:421 (MESSAGE):
Multithreading is enabled in MQTT plugin. This feature is under
development and marked as EXPERIMENTAL

CMake Warning at CMakeLists.txt:558 (MESSAGE):
UA_ENABLE_SUBSCRIPTIONS_ALARMS_CONDITIONS is enabled. The feature is under
development and marked as EXPERIMENTAL

CMake Error: File C:/Users/Jacky Bek/Downloads/open62541-1.3/open62541-1.3/deps/mdnsd/libmdnsd/mdnsd_config_extra.in does not exist.

CMake Error at CMakeLists.txt:823 (configure_file):
configure_file Problem configuring file

CMake Warning at CMakeLists.txt:1076 (MESSAGE):
Multithreading is enabled in MQTT plugin. This feature is under
development and marked as EXPERIMENTAL

CMake Error at CMakeLists.txt:1170 (message):
File C:/Users/Jacky
Bek/Downloads/open62541-1.3/open62541-1.3/deps/ua-nodeset/Schema/Opc.Ua.NodeSet2.xml
not found. You probably need to initialize the git submodule for
deps/ua-nodeset or set open62541_NODESET_DIR.


Configuring incomplete, errors occurred!

See also "D:/open62541/build/CMakeFiles/CMakeOutput.log".

See also "D:/open62541/build/CMakeFiles/CMakeError.log".


Error 1 - it says 1.2.2, but i downloaded 1.3

Error 2 - in linux, i run : git submodule update --init --recursive.  What is the equivalent command in Windows ?

Error 3 - i created a environment variable in Cmake : open62541_NODESET_DIR = C:\Users\Jacky Bek\Downloads\open62541-1.3\open62541-1.3\deps\ua-nodeset\Schema\

Reply all
Reply to author
Forward
0 new messages