******************************************************************************** conan test cci-e92c4d63\recipes\bgfx\all\test_package\conanfile.py bgfx/cci.20230216@#d0a3d459281387cf1a0744c2c69cde36 -pr C:\J\w\prod\BuildSingleReference@2\224864\7bfb8775-ba44-4ee6-b148-d411cb81191b/profile_windows_16_mdd_vs_debug_64.bgfx-shared-True.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] bgfx:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True bgfx/cci.20230216 (test package): Installing package Requirements bgfx/cci.20230216 from local cache - Cache bimg/cci.20230114 from 'conan-center' - Cache bx/cci.20221116 from 'conan-center' - Cache opengl/system from 'conan-center' - Cache Packages bgfx/cci.20230216:db7f410171bc5cb5bd260a1474d84f8407755dfa - Cache bimg/cci.20230114:db834d218dc44a773eb2d75cdae3addb397d80af - Cache bx/cci.20221116:d057732059ea44a47760900cb5e4855d2bea8714 - Cache opengl/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache Installing (downloading, building) binaries... bx/cci.20221116: Already installed! opengl/system: Already installed! bimg/cci.20230114: Already installed! bgfx/cci.20230216: Already installed! bgfx/cci.20230216 (test package): Generator 'CMakeDeps' calling 'generate()' bgfx/cci.20230216 (test package): Generator 'CMakeToolchain' calling 'generate()' bgfx/cci.20230216 (test package): Preset 'default' added to CMakePresets.json. Invoke it manually using 'cmake --preset default' bgfx/cci.20230216 (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\w\prod\BuildSingleReference@2\cci-e92c4d63\recipes\bgfx\all\test_package\build\generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW' bgfx/cci.20230216 (test package): Generator txt created conanbuildinfo.txt bgfx/cci.20230216 (test package): Generator 'VirtualRunEnv' calling 'generate()' bgfx/cci.20230216 (test package): Aggregating env generators bgfx/cci.20230216 (test package): Generated conaninfo.txt bgfx/cci.20230216 (test package): Generated graphinfo Using lockfile: 'C:\J\w\prod\BuildSingleReference@2\cci-e92c4d63\recipes\bgfx\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 bgfx/cci.20230216 (test package): Calling build() bgfx/cci.20230216 (test package): CMake command: cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@2/cci-e92c4d63/recipes/bgfx/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@2\cci-e92c4d63\recipes\bgfx\all\test_package\." ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@2/cci-e92c4d63/recipes/bgfx/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@2\cci-e92c4d63\recipes\bgfx\all\test_package\." ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference@2/cci-e92c4d63/recipes/bgfx/all/test_package/build/generators/conan_toolchain.cmake -- The CXX compiler identification is MSVC 19.29.30147.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: Target declared 'bx::bx' -- Conan: Target declared 'bimg::bimg' -- Conan: Target declared 'bgfx::bgfx' -- Conan: Target declared 'opengl::opengl' -- Configuring done -- Generating done -- Build files have been written to: C:/J/w/prod/BuildSingleReference@2/cci-e92c4d63/recipes/bgfx/all/test_package/build bgfx/cci.20230216 (test package): CMake command: cmake --build "C:\J\w\prod\BuildSingleReference@2\cci-e92c4d63\recipes\bgfx\all\test_package\build" --config Debug ----Running------ > cmake --build "C:\J\w\prod\BuildSingleReference@2\cci-e92c4d63\recipes\bgfx\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 Building Custom Rule C:/J/w/prod/BuildSingleReference@2/cci-e92c4d63/recipes/bgfx/all/test_package/CMakeLists.txt test_package.cpp test_package.obj : error LNK2019: unresolved external symbol "public: __cdecl bgfx::Init::Init(void)" (??0Init@bgfx@@QEAA@XZ) referenced in function main [C:\J\w\prod\BuildSingleReference@2\cci-e92c4d63\recipes\bgfx\all\test_package\build\test_package.vcxproj] test_package.obj : error LNK2019: unresolved external symbol "bool __cdecl bgfx::init(struct bgfx::Init const &)" (?init@bgfx@@YA_NAEBUInit@1@@Z) referenced in function main [C:\J\w\prod\BuildSingleReference@2\cci-e92c4d63\recipes\bgfx\all\test_package\build\test_package.vcxproj] test_package.obj : error LNK2019: unresolved external symbol "void __cdecl bgfx::shutdown(void)" (?shutdown@bgfx@@YAXXZ) referenced in function main [C:\J\w\prod\BuildSingleReference@2\cci-e92c4d63\recipes\bgfx\all\test_package\build\test_package.vcxproj] C:\J\w\prod\BuildSingleReference@2\cci-e92c4d63\recipes\bgfx\all\test_package\build\Debug\test_package.exe : fatal error LNK1120: 3 unresolved externals [C:\J\w\prod\BuildSingleReference@2\cci-e92c4d63\recipes\bgfx\all\test_package\build\test_package.vcxproj] bgfx/cci.20230216 (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 bgfx/cci.20230216 (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: bgfx/cci.20230216 (test package): Error in build() method, line 21 cmake.build() ConanException: Error 1 while executing cmake --build "C:\J\w\prod\BuildSingleReference@2\cci-e92c4d63\recipes\bgfx\all\test_package\build" --config Debug ******************************************************************************** conan test cci-e92c4d63\recipes\bgfx\all\test_v1_package\conanfile.py bgfx/cci.20230216@#d0a3d459281387cf1a0744c2c69cde36 -pr C:\J\w\prod\BuildSingleReference@2\224864\7bfb8775-ba44-4ee6-b148-d411cb81191b/profile_windows_16_mdd_vs_debug_64.bgfx-shared-True.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] bgfx:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True bgfx/cci.20230216 (test package): Installing package Requirements bgfx/cci.20230216 from local cache - Cache bimg/cci.20230114 from 'conan-center' - Cache bx/cci.20221116 from 'conan-center' - Cache opengl/system from 'conan-center' - Cache Packages bgfx/cci.20230216:db7f410171bc5cb5bd260a1474d84f8407755dfa - Cache bimg/cci.20230114:db834d218dc44a773eb2d75cdae3addb397d80af - Cache bx/cci.20221116:d057732059ea44a47760900cb5e4855d2bea8714 - Cache opengl/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache Installing (downloading, building) binaries... bx/cci.20221116: Already installed! opengl/system: Already installed! bimg/cci.20230114: Already installed! bgfx/cci.20230216: Already installed! bgfx/cci.20230216 (test package): Generator cmake_find_package_multi created bgfx-config-version.cmake bgfx/cci.20230216 (test package): Generator cmake_find_package_multi created bgfx-config.cmake bgfx/cci.20230216 (test package): Generator cmake_find_package_multi created bgfxTargets.cmake bgfx/cci.20230216 (test package): Generator cmake_find_package_multi created bgfxTarget-debug.cmake bgfx/cci.20230216 (test package): Generator cmake_find_package_multi created bimg-config-version.cmake bgfx/cci.20230216 (test package): Generator cmake_find_package_multi created bimg-config.cmake bgfx/cci.20230216 (test package): Generator cmake_find_package_multi created bimgTargets.cmake bgfx/cci.20230216 (test package): Generator cmake_find_package_multi created bimgTarget-debug.cmake bgfx/cci.20230216 (test package): Generator cmake_find_package_multi created opengl_system-config-version.cmake bgfx/cci.20230216 (test package): Generator cmake_find_package_multi created opengl_system-config.cmake bgfx/cci.20230216 (test package): Generator cmake_find_package_multi created opengl_systemTargets.cmake bgfx/cci.20230216 (test package): Generator cmake_find_package_multi created opengl_systemTarget-debug.cmake bgfx/cci.20230216 (test package): Generator cmake_find_package_multi created bx-config-version.cmake bgfx/cci.20230216 (test package): Generator cmake_find_package_multi created bx-config.cmake bgfx/cci.20230216 (test package): Generator cmake_find_package_multi created bxTargets.cmake bgfx/cci.20230216 (test package): Generator cmake_find_package_multi created bxTarget-debug.cmake bgfx/cci.20230216 (test package): Generator txt created conanbuildinfo.txt bgfx/cci.20230216 (test package): Generator cmake created conanbuildinfo.cmake bgfx/cci.20230216 (test package): Aggregating env generators bgfx/cci.20230216 (test package): Generated conaninfo.txt bgfx/cci.20230216 (test package): Generated graphinfo Using lockfile: 'C:\J\w\prod\BuildSingleReference@2\cci-e92c4d63\recipes\bgfx\all\test_v1_package\build\da7080a9fbcd0510d9c0a7e80337aff411096a96/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 bgfx/cci.20230216 (test package): Calling build() ----Running------ > cd C:\J\w\prod\BuildSingleReference@2\cci-e92c4d63\recipes\bgfx\all\test_v1_package\build\da7080a9fbcd0510d9c0a7e80337aff411096a96 && cmake -G "Visual Studio 16 2019" -A "x64" -DCONAN_LINK_RUNTIME="/MDd" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="Visual Studio" -DCONAN_COMPILER_VERSION="16" -DCONAN_CXX_FLAGS="/MP8" -DCONAN_C_FLAGS="/MP8" -DCMAKE_INSTALL_PREFIX="C:\J\w\prod\BuildSingleReference@2\cci-e92c4d63\recipes\bgfx\all\test_v1_package\build\da7080a9fbcd0510d9c0a7e80337aff411096a96\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_PREFIX_PATH="C:/J/w/prod/BuildSingleReference@2/cci-e92c4d63/recipes/bgfx/all/test_v1_package/build/da7080a9fbcd0510d9c0a7e80337aff411096a96" -DCMAKE_MODULE_PATH="C:/J/w/prod/BuildSingleReference@2/cci-e92c4d63/recipes/bgfx/all/test_v1_package/build/da7080a9fbcd0510d9c0a7e80337aff411096a96" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev C:\J\w\prod\BuildSingleReference@2\cci-e92c4d63\recipes\bgfx\all\test_v1_package ----------------- -- The CXX compiler identification is MSVC 19.29.30147.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake targets configuration -- Library bgfx found C:/J/w/prod/BuildSingleReference@2/.conan/data/bgfx/cci.20230216/_/_/package/db7f410171bc5cb5bd260a1474d84f8407755dfa/lib/bgfx.lib -- Library bimg_encode found C:/J/w/prod/BuildSingleReference@2/.conan/data/bimg/cci.20230114/_/_/package/db834d218dc44a773eb2d75cdae3addb397d80af/lib/bimg_encode.lib -- Library bimg_decode found C:/J/w/prod/BuildSingleReference@2/.conan/data/bimg/cci.20230114/_/_/package/db834d218dc44a773eb2d75cdae3addb397d80af/lib/bimg_decode.lib -- Library bimg found C:/J/w/prod/BuildSingleReference@2/.conan/data/bimg/cci.20230114/_/_/package/db834d218dc44a773eb2d75cdae3addb397d80af/lib/bimg.lib -- Library bx found C:/J/w/prod/BuildSingleReference@2/.conan/data/bx/cci.20221116/_/_/package/d057732059ea44a47760900cb5e4855d2bea8714/lib/bx.lib -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Library bx found C:/J/w/prod/BuildSingleReference@2/.conan/data/bx/cci.20221116/_/_/package/d057732059ea44a47760900cb5e4855d2bea8714/lib/bx.lib -- Found: C:/J/w/prod/BuildSingleReference@2/.conan/data/bx/cci.20221116/_/_/package/d057732059ea44a47760900cb5e4855d2bea8714/lib/bx.lib -- Library bimg_encode found C:/J/w/prod/BuildSingleReference@2/.conan/data/bimg/cci.20230114/_/_/package/db834d218dc44a773eb2d75cdae3addb397d80af/lib/bimg_encode.lib -- Found: C:/J/w/prod/BuildSingleReference@2/.conan/data/bimg/cci.20230114/_/_/package/db834d218dc44a773eb2d75cdae3addb397d80af/lib/bimg_encode.lib -- Library bimg_decode found C:/J/w/prod/BuildSingleReference@2/.conan/data/bimg/cci.20230114/_/_/package/db834d218dc44a773eb2d75cdae3addb397d80af/lib/bimg_decode.lib -- Found: C:/J/w/prod/BuildSingleReference@2/.conan/data/bimg/cci.20230114/_/_/package/db834d218dc44a773eb2d75cdae3addb397d80af/lib/bimg_decode.lib -- Library bimg found C:/J/w/prod/BuildSingleReference@2/.conan/data/bimg/cci.20230114/_/_/package/db834d218dc44a773eb2d75cdae3addb397d80af/lib/bimg.lib -- Found: C:/J/w/prod/BuildSingleReference@2/.conan/data/bimg/cci.20230114/_/_/package/db834d218dc44a773eb2d75cdae3addb397d80af/lib/bimg.lib -- Dependency bx already found -- Library bgfx found C:/J/w/prod/BuildSingleReference@2/.conan/data/bgfx/cci.20230216/_/_/package/db7f410171bc5cb5bd260a1474d84f8407755dfa/lib/bgfx.lib -- Found: C:/J/w/prod/BuildSingleReference@2/.conan/data/bgfx/cci.20230216/_/_/package/db7f410171bc5cb5bd260a1474d84f8407755dfa/lib/bgfx.lib -- Dependency bx already found -- Dependency bimg already found -- Configuring done -- Generating done -- Build files have been written to: C:/J/w/prod/BuildSingleReference@2/cci-e92c4d63/recipes/bgfx/all/test_v1_package/build/da7080a9fbcd0510d9c0a7e80337aff411096a96 ----Running------ > cmake --build C:\J\w\prod\BuildSingleReference@2\cci-e92c4d63\recipes\bgfx\all\test_v1_package\build\da7080a9fbcd0510d9c0a7e80337aff411096a96 --config Debug -- /m:8 /verbosity:minimal ----------------- Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Checking Build System Building Custom Rule C:/J/w/prod/BuildSingleReference@2/cci-e92c4d63/recipes/bgfx/all/test_package/CMakeLists.txt test_package.cpp test_package.obj : error LNK2019: unresolved external symbol "public: __cdecl bgfx::Init::Init(void)" (??0Init@bgfx@@QEAA@XZ) referenced in function main [C:\J\w\prod\BuildSingleReference@2\cci-e92c4d63\recipes\bgfx\all\test_v1_package\build\da7080a9fbcd0510d9c0a7e80337aff411096a96\test_package\test_package.vcxproj] test_package.obj : error LNK2019: unresolved external symbol "bool __cdecl bgfx::init(struct bgfx::Init const &)" (?init@bgfx@@YA_NAEBUInit@1@@Z) referenced in function main [C:\J\w\prod\BuildSingleReference@2\cci-e92c4d63\recipes\bgfx\all\test_v1_package\build\da7080a9fbcd0510d9c0a7e80337aff411096a96\test_package\test_package.vcxproj] test_package.obj : error LNK2019: unresolved external symbol "void __cdecl bgfx::shutdown(void)" (?shutdown@bgfx@@YAXXZ) referenced in function main [C:\J\w\prod\BuildSingleReference@2\cci-e92c4d63\recipes\bgfx\all\test_v1_package\build\da7080a9fbcd0510d9c0a7e80337aff411096a96\test_package\test_package.vcxproj] C:\J\w\prod\BuildSingleReference@2\cci-e92c4d63\recipes\bgfx\all\test_v1_package\build\da7080a9fbcd0510d9c0a7e80337aff411096a96\bin\test_package.exe : fatal error LNK1120: 3 unresolved externals [C:\J\w\prod\BuildSingleReference@2\cci-e92c4d63\recipes\bgfx\all\test_v1_package\build\da7080a9fbcd0510d9c0a7e80337aff411096a96\test_package\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: bgfx/cci.20230216 (test package): Error in build() method, line 12 cmake.build() ConanException: Error 1 while executing cmake --build C:\J\w\prod\BuildSingleReference@2\cci-e92c4d63\recipes\bgfx\all\test_v1_package\build\da7080a9fbcd0510d9c0a7e80337aff411096a96 --config Debug -- /m:8 /verbosity:minimal