******************************************************************************** conan install cppcheck/2.9.2@#f4d229476d8f6343b9a76eb1c44c926f --build=cppcheck -pr C:\J\w\prod\BuildSingleReference@3\156867\e00e9619-0edd-4dbe-aeb8-57afed94336a/profile_windows_15_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@3\.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@3\.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=15 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:5be2b7a2110ec8acdbf9a1cea9de5d60747edb34 - Download cppcheck/2.9.2:2c3019e43ed11e8efb120d3e28e70512ed8672bc - Build pcre/8.45:7c247c33e53b19b610716f519f192e84f13f964e - Download zlib/1.2.13:6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 - Download Installing (downloading, building) binaries... bzip2/1.0.8: Retrieving package 5be2b7a2110ec8acdbf9a1cea9de5d60747edb34 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz bzip2/1.0.8: Package installed 5be2b7a2110ec8acdbf9a1cea9de5d60747edb34 bzip2/1.0.8: Downloaded package revision 4369adfe6b9116b1a9ea1dd551c296fa zlib/1.2.13: Retrieving package 6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.13: Package installed 6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 zlib/1.2.13: Downloaded package revision 481234a6c14e4b0bba04e4b86717c77e pcre/8.45: Retrieving package 7c247c33e53b19b610716f519f192e84f13f964e from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz pcre/8.45: Package installed 7c247c33e53b19b610716f519f192e84f13f964e pcre/8.45: Downloaded package revision 55068bd95ed92829b2c362512c5a445e pcre/8.45: Appending PATH environment variable: C:\J\w\prod\BuildSingleReference@3\.conan\data\pcre\8.45\_\_\package\7c247c33e53b19b610716f519f192e84f13f964e\bin [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK cppcheck/2.9.2: Configuring sources in C:\J\w\prod\BuildSingleReference@3\.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@3\.conan\data\cppcheck\2.9.2\_\_\build\2c3019e43ed11e8efb120d3e28e70512ed8672bc 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 15 2017" -DCMAKE_TOOLCHAIN_FILE=C:\J\w\prod\BuildSingleReference@3\.conan\data\cppcheck\2.9.2\_\_\build\2c3019e43ed11e8efb120d3e28e70512ed8672bc\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 15 2017" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@3/.conan/data/cppcheck/2.9.2/_/_/build/2c3019e43ed11e8efb120d3e28e70512ed8672bc/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@3/.conan/data/cppcheck/2.9.2/_/_/package/2c3019e43ed11e8efb120d3e28e70512ed8672bc" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@3\.conan\data\cppcheck\2.9.2\_\_\build\2c3019e43ed11e8efb120d3e28e70512ed8672bc\src" ----Running------ > cmake -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@3/.conan/data/cppcheck/2.9.2/_/_/build/2c3019e43ed11e8efb120d3e28e70512ed8672bc/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@3/.conan/data/cppcheck/2.9.2/_/_/package/2c3019e43ed11e8efb120d3e28e70512ed8672bc" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@3\.conan\data\cppcheck\2.9.2\_\_\build\2c3019e43ed11e8efb120d3e28e70512ed8672bc\src" ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference@3/.conan/data/cppcheck/2.9.2/_/_/build/2c3019e43ed11e8efb120d3e28e70512ed8672bc/build/generators/conan_toolchain.cmake -- Configuring incomplete, errors occurred! cppcheck/2.9.2: CMake Error at C:/J/w/prod/BuildSingleReference@3/.conan/data/cppcheck/2.9.2/_/_/build/2c3019e43ed11e8efb120d3e28e70512ed8672bc/build/generators/conan_toolchain.cmake:98 (set): Syntax error in cmake code at C:/J/w/prod/BuildSingleReference@3/.conan/data/cppcheck/2.9.2/_/_/build/2c3019e43ed11e8efb120d3e28e70512ed8672bc/build/generators/conan_toolchain.cmake:98 when parsing string C:\J\w\prod\BuildSingleReference@3\.conan\data\cppcheck\2.9.2\_\_\package\2c3019e43ed11e8efb120d3e28e70512ed8672bc\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 '2c3019e43ed11e8efb120d3e28e70512ed8672bc' build failed cppcheck/2.9.2: WARN: Build folder C:\J\w\prod\BuildSingleReference@3\.conan\data\cppcheck\2.9.2\_\_\build\2c3019e43ed11e8efb120d3e28e70512ed8672bc\build ERROR: cppcheck/2.9.2: Error in build() method, line 56 cmake.configure() ConanException: Error 1 while executing cmake -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@3/.conan/data/cppcheck/2.9.2/_/_/build/2c3019e43ed11e8efb120d3e28e70512ed8672bc/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@3/.conan/data/cppcheck/2.9.2/_/_/package/2c3019e43ed11e8efb120d3e28e70512ed8672bc" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@3\.conan\data\cppcheck\2.9.2\_\_\build\2c3019e43ed11e8efb120d3e28e70512ed8672bc\src"