******************************************************************************** conan test conan-center-index\recipes\bstrlib\all\test_package\conanfile.py bstrlib/1.0.0@ --profile=C:\J\w\BuildSingleReference@3/20289/0eb1a9ac-d9a9-42b4-af9c-b1a7cc9d50e8/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Debug compiler=Visual Studio compiler.runtime=MTd compiler.version=16 os=Windows os_build=Windows [options] bstrlib:shared=False [build_requires] [env] bstrlib/1.0.0 (test package): Installing package Requirements bstrlib/1.0.0 from local cache - Cache Packages bstrlib/1.0.0:b2b69efcc79a149e0bc765fb12ba0278d52fc260 - Cache Installing (downloading, building) binaries... bstrlib/1.0.0: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK bstrlib/1.0.0 (test package): Generator txt created conanbuildinfo.txt bstrlib/1.0.0 (test package): Generator cmake_find_package created Findbstrlib.cmake bstrlib/1.0.0 (test package): Generator cmake created conanbuildinfo.cmake bstrlib/1.0.0 (test package): Generated conaninfo.txt bstrlib/1.0.0 (test package): Generated graphinfo Using lockfile: 'C:\J\w\BuildSingleReference@3\conan-center-index\recipes\bstrlib\all\test_package\build\343088477136c35af198fefaa2083d1a5424a15b/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 bstrlib/1.0.0 (test package): Calling build() ----Running------ > cd C:\J\w\BuildSingleReference@3\conan-center-index\recipes\bstrlib\all\test_package\build\343088477136c35af198fefaa2083d1a5424a15b && cmake -G "Visual Studio 16 2019" -A "x64" -DCONAN_LINK_RUNTIME="/MTd" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="Visual Studio" -DCONAN_COMPILER_VERSION="16" -DCONAN_CXX_FLAGS="/MP16" -DCONAN_C_FLAGS="/MP16" -DCMAKE_INSTALL_PREFIX="C:\J\w\BuildSingleReference@3\conan-center-index\recipes\bstrlib\all\test_package\build\343088477136c35af198fefaa2083d1a5424a15b\package" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_MODULE_PATH="C:/J/w/BuildSingleReference@3/conan-center-index/recipes/bstrlib/all/test_package/build/343088477136c35af198fefaa2083d1a5424a15b" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev C:\J\w\BuildSingleReference@3\conan-center-index\recipes\bstrlib\all\test_package ----------------- -- The C compiler identification is MSVC 19.28.29333.0 -- The CXX compiler identification is MSVC 19.28.29333.0 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Using autogenerated Findbstrlib.cmake -- Found bstrlib: 1.0.0 (found version "1.0.0") -- Library bstrlib found C:/J/w/BuildSingleReference@3/.conan/data/bstrlib/1.0.0/_/_/package/b2b69efcc79a149e0bc765fb12ba0278d52fc260/lib/bstrlib.lib -- Found: C:/J/w/BuildSingleReference@3/.conan/data/bstrlib/1.0.0/_/_/package/b2b69efcc79a149e0bc765fb12ba0278d52fc260/lib/bstrlib.lib -- Configuring done -- Generating done -- Build files have been written to: C:/J/w/BuildSingleReference@3/conan-center-index/recipes/bstrlib/all/test_package/build/343088477136c35af198fefaa2083d1a5424a15b ----Running------ > cmake --build C:\J\w\BuildSingleReference@3\conan-center-index\recipes\bstrlib\all\test_package\build\343088477136c35af198fefaa2083d1a5424a15b --config Debug -- /m:16 /verbosity:minimal ----------------- Microsoft (R) Build Engine version 16.8.1+bd2ea1e3c for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Checking Build System Building Custom Rule C:/J/w/BuildSingleReference@3/conan-center-index/recipes/bstrlib/all/test_package/CMakeLists.txt test_package.cpp LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\bstrlib\all\test_package\build\343088477136c35af198fefaa2083d1a5424a15b\test_package.vcxproj] LINK : warning LNK4217: symbol '__stdio_common_vsprintf' defined in 'libucrtd.lib(output.obj)' is imported by 'bstrlib.lib(bstrlib.obj)' in function '_vsnprintf_l' [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\bstrlib\all\test_package\build\343088477136c35af198fefaa2083d1a5424a15b\test_package.vcxproj] LINK : warning LNK4217: symbol 'free' defined in 'libucrtd.lib(free.obj)' is imported by 'bstrlib.lib(bstrlib.obj)' in function 'bfromcstr' [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\bstrlib\all\test_package\build\343088477136c35af198fefaa2083d1a5424a15b\test_package.vcxproj] LINK : warning LNK4217: symbol 'malloc' defined in 'libucrtd.lib(malloc.obj)' is imported by 'bstrlib.lib(bstrlib.obj)' in function 'bfromcstr' [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\bstrlib\all\test_package\build\343088477136c35af198fefaa2083d1a5424a15b\test_package.vcxproj] LINK : warning LNK4217: symbol 'isspace' defined in 'libucrtd.lib(_ctype.obj)' is imported by 'bstrlib.lib(bstrlib.obj)' in function 'bltrimws' [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\bstrlib\all\test_package\build\343088477136c35af198fefaa2083d1a5424a15b\test_package.vcxproj] LINK : warning LNK4217: symbol 'toupper' defined in 'libucrtd.lib(tolower_toupper.obj)' is imported by 'bstrlib.lib(bstrlib.obj)' in function 'btoupper' [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\bstrlib\all\test_package\build\343088477136c35af198fefaa2083d1a5424a15b\test_package.vcxproj] LINK : warning LNK4217: symbol 'tolower' defined in 'libucrtd.lib(tolower_toupper.obj)' is imported by 'bstrlib.lib(bstrlib.obj)' in function 'bstricmp' [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\bstrlib\all\test_package\build\343088477136c35af198fefaa2083d1a5424a15b\test_package.vcxproj] bstrlib.lib(bstrlib.obj) : error LNK2019: unresolved external symbol __imp_realloc referenced in function balloc [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\bstrlib\all\test_package\build\343088477136c35af198fefaa2083d1a5424a15b\test_package.vcxproj] C:\J\w\BuildSingleReference@3\conan-center-index\recipes\bstrlib\all\test_package\build\343088477136c35af198fefaa2083d1a5424a15b\bin\test_package.exe : fatal error LNK1120: 1 unresolved externals [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\bstrlib\all\test_package\build\343088477136c35af198fefaa2083d1a5424a15b\test_package.vcxproj] CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR ERROR: bstrlib/1.0.0 (test package): Error in build() method, line 12 cmake.build() ConanException: Error 1 while executing cmake --build C:\J\w\BuildSingleReference@3\conan-center-index\recipes\bstrlib\all\test_package\build\343088477136c35af198fefaa2083d1a5424a15b --config Debug -- /m:16 /verbosity:minimal