******************************************************************************** conan install cppcheck/2.9.2@#f4d229476d8f6343b9a76eb1c44c926f --build=cppcheck -pr C:\J\w\prod\BuildSingleReference@2\156867\d5df4d6e-5ceb-45f4-a095-b8758902ae1d/profile_windows_16_mt_vs_release_64..txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Auto detecting your dev setup to initialize the default profile (C:\J\w\prod\BuildSingleReference@2\.conan\profiles\default) Found Visual Studio 17 Default settings os=Windows os_build=Windows arch=x86_64 arch_build=x86_64 compiler=Visual Studio compiler.version=17 build_type=Release *** You can change them in C:\J\w\prod\BuildSingleReference@2\.conan\profiles\default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MT compiler.version=16 os=Windows [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True pcre/8.45: Not found in local cache, looking in remotes... pcre/8.45: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz pcre/8.45: Downloaded recipe revision 7b541b65d8201ff59d07e9744921e08c bzip2/1.0.8: Not found in local cache, looking in remotes... bzip2/1.0.8: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz bzip2/1.0.8: Downloaded recipe revision 464be69744fa6d48ed01928cfe470008 zlib/1.2.13: Not found in local cache, looking in remotes... zlib/1.2.13: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz zlib/1.2.13: Downloaded recipe revision 13c96f538b52e1600c40b88994de240f cppcheck/2.9.2: Forced build from source Installing package: cppcheck/2.9.2 Requirements bzip2/1.0.8 from 'conan-center' - Downloaded cppcheck/2.9.2 from local cache - Cache pcre/8.45 from 'conan-center' - Downloaded zlib/1.2.13 from 'conan-center' - Downloaded Packages bzip2/1.0.8:8feb221a01dcb7f80d1d66f9676d4e44215f5e08 - Download cppcheck/2.9.2:1470180831f1b7ccf6ebacbd386d5a96d4d00eb7 - Build pcre/8.45:443fc99648c71cebc502a054a58484979da7ef70 - Download zlib/1.2.13:a79a557254fabcb77849dd623fed97c9c5ab7651 - Download Installing (downloading, building) binaries... bzip2/1.0.8: Retrieving package 8feb221a01dcb7f80d1d66f9676d4e44215f5e08 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz bzip2/1.0.8: Package installed 8feb221a01dcb7f80d1d66f9676d4e44215f5e08 bzip2/1.0.8: Downloaded package revision 0659f259bed6d6c326d632bed547d038 zlib/1.2.13: Retrieving package a79a557254fabcb77849dd623fed97c9c5ab7651 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.13: Package installed a79a557254fabcb77849dd623fed97c9c5ab7651 zlib/1.2.13: Downloaded package revision 171d14ee762f2308d5ec848f149c326b pcre/8.45: Retrieving package 443fc99648c71cebc502a054a58484979da7ef70 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz pcre/8.45: Package installed 443fc99648c71cebc502a054a58484979da7ef70 pcre/8.45: Downloaded package revision 330991a631be0285eda09ac13e1ff4ec pcre/8.45: Appending PATH environment variable: C:\J\w\prod\BuildSingleReference@2\.conan\data\pcre\8.45\_\_\package\443fc99648c71cebc502a054a58484979da7ef70\bin [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK cppcheck/2.9.2: Configuring sources in C:\J\w\prod\BuildSingleReference@2\.conan\data\cppcheck\2.9.2\_\_\source\src cppcheck/2.9.2: [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK cppcheck/2.9.2: Copying sources to build folder cppcheck/2.9.2: Building your package in C:\J\w\prod\BuildSingleReference@2\.conan\data\cppcheck\2.9.2\_\_\build\1470180831f1b7ccf6ebacbd386d5a96d4d00eb7 cppcheck/2.9.2: Generator txt created conanbuildinfo.txt cppcheck/2.9.2: Calling generate() cppcheck/2.9.2: Preset 'default' added to CMakePresets.json. Invoke it manually using 'cmake --preset default' cppcheck/2.9.2: 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\.conan\data\cppcheck\2.9.2\_\_\build\1470180831f1b7ccf6ebacbd386d5a96d4d00eb7\build\generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW' cppcheck/2.9.2: Aggregating env generators [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 cppcheck/2.9.2: Calling build() cppcheck/2.9.2: Apply patch (portability): Remove dmake tool from target ALL cppcheck/2.9.2: Apply patch (portability): Use Python 3 in Shebang Header cppcheck/2.9.2: Apply patch (portability): Consider the Debug suffix for Windows cppcheck/2.9.2: CMake command: cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@2/.conan/data/cppcheck/2.9.2/_/_/build/1470180831f1b7ccf6ebacbd386d5a96d4d00eb7/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@2/.conan/data/cppcheck/2.9.2/_/_/package/1470180831f1b7ccf6ebacbd386d5a96d4d00eb7" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@2\.conan\data\cppcheck\2.9.2\_\_\build\1470180831f1b7ccf6ebacbd386d5a96d4d00eb7\src" ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@2/.conan/data/cppcheck/2.9.2/_/_/build/1470180831f1b7ccf6ebacbd386d5a96d4d00eb7/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@2/.conan/data/cppcheck/2.9.2/_/_/package/1470180831f1b7ccf6ebacbd386d5a96d4d00eb7" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@2\.conan\data\cppcheck\2.9.2\_\_\build\1470180831f1b7ccf6ebacbd386d5a96d4d00eb7\src" ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference@2/.conan/data/cppcheck/2.9.2/_/_/build/1470180831f1b7ccf6ebacbd386d5a96d4d00eb7/build/generators/conan_toolchain.cmake -- Configuring incomplete, errors occurred! cppcheck/2.9.2: CMake Error at C:/J/w/prod/BuildSingleReference@2/.conan/data/cppcheck/2.9.2/_/_/build/1470180831f1b7ccf6ebacbd386d5a96d4d00eb7/build/generators/conan_toolchain.cmake:98 (set): Syntax error in cmake code at C:/J/w/prod/BuildSingleReference@2/.conan/data/cppcheck/2.9.2/_/_/build/1470180831f1b7ccf6ebacbd386d5a96d4d00eb7/build/generators/conan_toolchain.cmake:98 when parsing string C:\J\w\prod\BuildSingleReference@2\.conan\data\cppcheck\2.9.2\_\_\package\1470180831f1b7ccf6ebacbd386d5a96d4d00eb7\res Invalid escape sequence \J Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineSystem.cmake:124 (include) CMakeLists.txt:2 (project) cppcheck/2.9.2: 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 cppcheck/2.9.2: 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 cppcheck/2.9.2: ERROR: Package '1470180831f1b7ccf6ebacbd386d5a96d4d00eb7' build failed cppcheck/2.9.2: WARN: Build folder C:\J\w\prod\BuildSingleReference@2\.conan\data\cppcheck\2.9.2\_\_\build\1470180831f1b7ccf6ebacbd386d5a96d4d00eb7\build ERROR: cppcheck/2.9.2: Error in build() method, line 56 cmake.configure() ConanException: Error 1 while executing cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@2/.conan/data/cppcheck/2.9.2/_/_/build/1470180831f1b7ccf6ebacbd386d5a96d4d00eb7/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@2/.conan/data/cppcheck/2.9.2/_/_/package/1470180831f1b7ccf6ebacbd386d5a96d4d00eb7" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@2\.conan\data\cppcheck\2.9.2\_\_\build\1470180831f1b7ccf6ebacbd386d5a96d4d00eb7\src"