******************************************************************************** conan test cci-3be00abf\recipes\open62541\all\test_package\conanfile.py open62541/1.4.6@#097516a26ba5db7df66373b603a8d968 -pr C:/J/workspace/prod-v1/bsr/110140/cddbe/profile_windows_16_mdd_vs_debug_64.open62541-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Debug compiler=Visual Studio compiler.runtime=MDd compiler.version=16 os=Windows [options] open62541:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True ua-nodeset/padim-1.02-2021-07-21: Not found in local cache, looking in remotes... ua-nodeset/padim-1.02-2021-07-21: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz ua-nodeset/padim-1.02-2021-07-21: Downloaded recipe revision 7751a244e54b69ead7a9c5de84d141f8 open62541/1.4.6 (test package): Installing package Requirements open62541/1.4.6 from local cache - Cache ua-nodeset/padim-1.02-2021-07-21 from 'conan-center' - Downloaded Packages open62541/1.4.6:519073dae8bf201a73267c96fb00e2c62d9031f9 - Cache ua-nodeset/padim-1.02-2021-07-21:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download Installing (downloading, building) binaries... ua-nodeset/padim-1.02-2021-07-21: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz ua-nodeset/padim-1.02-2021-07-21: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 ua-nodeset/padim-1.02-2021-07-21: Downloaded package revision f4ee3ebcb42e901c258b0659a69bd622 open62541/1.4.6: Already installed! open62541/1.4.6 (test package): Generator txt created conanbuildinfo.txt open62541/1.4.6 (test package): Generator 'VirtualRunEnv' calling 'generate()' open62541/1.4.6 (test package): Generator 'CMakeDeps' calling 'generate()' open62541/1.4.6 (test package): Calling generate() open62541/1.4.6 (test package): Preset 'default' added to CMakePresets.json. Invoke it manually using 'cmake --preset default' open62541/1.4.6 (test package): If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE=C:\J\workspace\prod-v1\bsr\cci-3be00abf\recipes\open62541\all\test_package\build\generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW' open62541/1.4.6 (test package): Aggregating env generators open62541/1.4.6 (test package): Generated conaninfo.txt open62541/1.4.6 (test package): Generated graphinfo Using lockfile: 'C:\J\workspace\prod-v1\bsr\cci-3be00abf\recipes\open62541\all\test_package\build\generators/conan.lock' Using cached profile from lockfile [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK open62541/1.4.6 (test package): Calling build() open62541/1.4.6 (test package): CMake command: cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/workspace/prod-v1/bsr/cci-3be00abf/recipes/open62541/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\workspace\prod-v1\bsr\cci-3be00abf\recipes\open62541\all\test_package\." ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/workspace/prod-v1/bsr/cci-3be00abf/recipes/open62541/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\workspace\prod-v1\bsr\cci-3be00abf\recipes\open62541\all\test_package\." ----------------- -- Using Conan toolchain: C:/J/workspace/prod-v1/bsr/cci-3be00abf/recipes/open62541/all/test_package/build/generators/conan_toolchain.cmake -- The C compiler identification is MSVC 19.29.30148.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Conan: Target declared 'open62541::open62541' -- Conan: Including build module from 'C:/J/workspace/prod-v1/bsr/110140/addde/s/d93926/1/lib/cmake/open62541/open62541Macros.cmake' -- Looking for pthread.h -- Looking for pthread.h - not found -- Found Threads: TRUE -- Found Python3: C:/Python37/python.exe (found version "3.7.9") found components: Interpreter -- Configuring done -- Generating done -- Build files have been written to: C:/J/workspace/prod-v1/bsr/cci-3be00abf/recipes/open62541/all/test_package/build open62541/1.4.6 (test package): CMake command: cmake --build "C:\J\workspace\prod-v1\bsr\cci-3be00abf\recipes\open62541\all\test_package\build" --config Debug ----Running------ > cmake --build "C:\J\workspace\prod-v1\bsr\cci-3be00abf\recipes\open62541\all\test_package\build" --config Debug ----------------- Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Checking Build System Generating src_generated/foo_flt_nodeids.h Building Custom Rule C:/J/workspace/prod-v1/bsr/cci-3be00abf/recipes/open62541/all/test_package/CMakeLists.txt Generating src_generated/types_foo_flt_generated.c, src_generated/types_foo_flt_generated.h, src_generated/types_foo_flt_generated_handling.h Building Custom Rule C:/J/workspace/prod-v1/bsr/cci-3be00abf/recipes/open62541/all/test_package/CMakeLists.txt Generating src_generated/namespace_foo_flt_generated.c, src_generated/namespace_foo_flt_generated.h INFO:__main__:Preprocessing (existing) C:/J/workspace/prod-v1/bsr/110140/addde/s/9df0aa/1/res/Schema/Opc.Ua.NodeSet2.xml INFO:__main__:Preprocessing C:/J/workspace/prod-v1/bsr/cci-3be00abf/recipes/open62541/all/test_package/FooFlt.NodeSet2.xml INFO:__main__:Generating Code for Backend: open62541 INFO:__main__:NodeSet generation code successfully printed Building Custom Rule C:/J/workspace/prod-v1/bsr/cci-3be00abf/recipes/open62541/all/test_package/CMakeLists.txt Building Custom Rule C:/J/workspace/prod-v1/bsr/cci-3be00abf/recipes/open62541/all/test_package/CMakeLists.txt namespace_foo_flt_generated.c types_foo_flt_generated.c test_package.c open62541.lib(ua_util.obj) : error LNK2019: unresolved external symbol SecureZeroMemory referenced in function UA_ByteString_memZero [C:\J\workspace\prod-v1\bsr\cci-3be00abf\recipes\open62541\all\test_package\build\test_package.vcxproj] open62541.lib(eventloop_posix_udp.obj) : error LNK2019: unresolved external symbol __imp_GetAdaptersAddresses referenced in function setMulticastInterface [C:\J\workspace\prod-v1\bsr\cci-3be00abf\recipes\open62541\all\test_package\build\test_package.vcxproj] C:\J\workspace\prod-v1\bsr\cci-3be00abf\recipes\open62541\all\test_package\build\Debug\test_package.exe : fatal error LNK1120: 2 unresolved externals [C:\J\workspace\prod-v1\bsr\cci-3be00abf\recipes\open62541\all\test_package\build\test_package.vcxproj] CMake Warning at C:/J/workspace/prod-v1/bsr/110140/addde/s/d93926/1/lib/cmake/open62541/open62541Macros.cmake:560 (message): NAMESPACE_MAP argument is deprecated and no longer has any effect. The index of the nodeset is set automatically. Call Stack (most recent call first): CMakeLists.txt:14 (ua_generate_nodeset_and_datatypes) CMake Warning at C:/J/workspace/prod-v1/bsr/110140/addde/s/d93926/1/lib/cmake/open62541/open62541Macros.cmake:139 (message): NAMESPACE_MAP argument is deprecated and no longer has any effect. The index of the nodeset is set automatically. Call Stack (most recent call first): C:/J/workspace/prod-v1/bsr/110140/addde/s/d93926/1/lib/cmake/open62541/open62541Macros.cmake:625 (ua_generate_datatypes) CMakeLists.txt:14 (ua_generate_nodeset_and_datatypes) WARN: ************************************************** WARN: *** Conan 1 is legacy and on a deprecation path ** WARN: *********** Please upgrade to Conan 2 ************ WARN: ************************************************** open62541/1.4.6 (test package): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior open62541/1.4.6 (test package): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior ERROR: open62541/1.4.6 (test package): Error in build() method, line 32 cmake.build() ConanException: Error 1 while executing cmake --build "C:\J\workspace\prod-v1\bsr\cci-3be00abf\recipes\open62541\all\test_package\build" --config Debug