******************************************************************************** conan install cppcheck/2.9.2@#f4d229476d8f6343b9a76eb1c44c926f --build=cppcheck -pr C:\J\w\prod\BuildSingleReference\156867\7ba1e6a8-e656-4e5b-8bfe-01f7b6fb47ff/profile_windows_16_md_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\.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\.conan\profiles\default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MD 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:d16a91eadaaf5829b928b12d2f836ff7680d3df5 - Download cppcheck/2.9.2:cbf7c884656cfe4fe1cc3d2601df1b131aab0331 - Build pcre/8.45:e87a8a0d1a34c63e57cfcfa8aa6088b17582df41 - Download zlib/1.2.13:3fb49604f9c2f729b85ba3115852006824e72cab - Download Installing (downloading, building) binaries... bzip2/1.0.8: Retrieving package d16a91eadaaf5829b928b12d2f836ff7680d3df5 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz bzip2/1.0.8: Package installed d16a91eadaaf5829b928b12d2f836ff7680d3df5 bzip2/1.0.8: Downloaded package revision 423c07e6667f84d920943dd4e11916a8 zlib/1.2.13: Retrieving package 3fb49604f9c2f729b85ba3115852006824e72cab from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.13: Package installed 3fb49604f9c2f729b85ba3115852006824e72cab zlib/1.2.13: Downloaded package revision af3348b4caca1d82c42531a352a4cc25 pcre/8.45: Retrieving package e87a8a0d1a34c63e57cfcfa8aa6088b17582df41 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz pcre/8.45: Package installed e87a8a0d1a34c63e57cfcfa8aa6088b17582df41 pcre/8.45: Downloaded package revision eede2c19735aa28b05a9d536b556f707 pcre/8.45: Appending PATH environment variable: C:\J\w\prod\BuildSingleReference\.conan\data\pcre\8.45\_\_\package\e87a8a0d1a34c63e57cfcfa8aa6088b17582df41\bin [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK cppcheck/2.9.2: Configuring sources in C:\J\w\prod\BuildSingleReference\.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\.conan\data\cppcheck\2.9.2\_\_\build\cbf7c884656cfe4fe1cc3d2601df1b131aab0331 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\.conan\data\cppcheck\2.9.2\_\_\build\cbf7c884656cfe4fe1cc3d2601df1b131aab0331\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/.conan/data/cppcheck/2.9.2/_/_/build/cbf7c884656cfe4fe1cc3d2601df1b131aab0331/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/cppcheck/2.9.2/_/_/package/cbf7c884656cfe4fe1cc3d2601df1b131aab0331" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\cppcheck\2.9.2\_\_\build\cbf7c884656cfe4fe1cc3d2601df1b131aab0331\src" ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/cppcheck/2.9.2/_/_/build/cbf7c884656cfe4fe1cc3d2601df1b131aab0331/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/cppcheck/2.9.2/_/_/package/cbf7c884656cfe4fe1cc3d2601df1b131aab0331" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\cppcheck\2.9.2\_\_\build\cbf7c884656cfe4fe1cc3d2601df1b131aab0331\src" ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference/.conan/data/cppcheck/2.9.2/_/_/build/cbf7c884656cfe4fe1cc3d2601df1b131aab0331/build/generators/conan_toolchain.cmake -- Configuring incomplete, errors occurred! cppcheck/2.9.2: CMake Error at C:/J/w/prod/BuildSingleReference/.conan/data/cppcheck/2.9.2/_/_/build/cbf7c884656cfe4fe1cc3d2601df1b131aab0331/build/generators/conan_toolchain.cmake:98 (set): Syntax error in cmake code at C:/J/w/prod/BuildSingleReference/.conan/data/cppcheck/2.9.2/_/_/build/cbf7c884656cfe4fe1cc3d2601df1b131aab0331/build/generators/conan_toolchain.cmake:98 when parsing string C:\J\w\prod\BuildSingleReference\.conan\data\cppcheck\2.9.2\_\_\package\cbf7c884656cfe4fe1cc3d2601df1b131aab0331\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 'cbf7c884656cfe4fe1cc3d2601df1b131aab0331' build failed cppcheck/2.9.2: WARN: Build folder C:\J\w\prod\BuildSingleReference\.conan\data\cppcheck\2.9.2\_\_\build\cbf7c884656cfe4fe1cc3d2601df1b131aab0331\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/.conan/data/cppcheck/2.9.2/_/_/build/cbf7c884656cfe4fe1cc3d2601df1b131aab0331/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/cppcheck/2.9.2/_/_/package/cbf7c884656cfe4fe1cc3d2601df1b131aab0331" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\cppcheck\2.9.2\_\_\build\cbf7c884656cfe4fe1cc3d2601df1b131aab0331\src"