******************************************************************************** conan install cppcheck/2.8.2@#dbfad3c83de79ab9048a7488e568d545 --build=cppcheck -pr C:\J\w\prod\BuildSingleReference@2\123289\eb844f63-2bbd-43d6-93d2-ea24c837b74f/profile_windows_16_mtd_vs_debug_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=Debug compiler=Visual Studio compiler.runtime=MTd 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.8.2: Forced build from source Installing package: cppcheck/2.8.2 Requirements bzip2/1.0.8 from 'conan-center' - Downloaded cppcheck/2.8.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:73c22595362cd7ddee053c6b60c2c6360d1a8f7e - Download cppcheck/2.8.2:6c1d1a59da579fd4ded270f3bda8767f53d41d9a - Build pcre/8.45:5756e0d38460c2317dcbc1194c3b3ab843fe8780 - Download zlib/1.2.13:b2b69efcc79a149e0bc765fb12ba0278d52fc260 - Download Installing (downloading, building) binaries... bzip2/1.0.8: Retrieving package 73c22595362cd7ddee053c6b60c2c6360d1a8f7e from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz bzip2/1.0.8: Package installed 73c22595362cd7ddee053c6b60c2c6360d1a8f7e bzip2/1.0.8: Downloaded package revision a468e7911f6177d28bcdde1ca0c82fdd zlib/1.2.13: Retrieving package b2b69efcc79a149e0bc765fb12ba0278d52fc260 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.13: Package installed b2b69efcc79a149e0bc765fb12ba0278d52fc260 zlib/1.2.13: Downloaded package revision 21d4a0c4275436ded63c64e887ed08f2 pcre/8.45: Retrieving package 5756e0d38460c2317dcbc1194c3b3ab843fe8780 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz pcre/8.45: Package installed 5756e0d38460c2317dcbc1194c3b3ab843fe8780 pcre/8.45: Downloaded package revision ae764d2ca6cc5ee722fbd33fa4fcdb7f pcre/8.45: Appending PATH environment variable: C:\J\w\prod\BuildSingleReference@2\.conan\data\pcre\8.45\_\_\package\5756e0d38460c2317dcbc1194c3b3ab843fe8780\bin [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK cppcheck/2.8.2: Configuring sources in C:\J\w\prod\BuildSingleReference@2\.conan\data\cppcheck\2.8.2\_\_\source\. cppcheck/2.8.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.8.2: Copying sources to build folder cppcheck/2.8.2: Building your package in C:\J\w\prod\BuildSingleReference@2\.conan\data\cppcheck\2.8.2\_\_\build\6c1d1a59da579fd4ded270f3bda8767f53d41d9a cppcheck/2.8.2: Generator txt created conanbuildinfo.txt cppcheck/2.8.2: Calling generate() cppcheck/2.8.2: Preset 'default' added to CMakePresets.json. Invoke it manually using 'cmake --preset default' cppcheck/2.8.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.8.2\_\_\build\6c1d1a59da579fd4ded270f3bda8767f53d41d9a\build\generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW' cppcheck/2.8.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.8.2: Calling build() cppcheck/2.8.2: CMake command: cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@2/.conan/data/cppcheck/2.8.2/_/_/build/6c1d1a59da579fd4ded270f3bda8767f53d41d9a/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@2/.conan/data/cppcheck/2.8.2/_/_/package/6c1d1a59da579fd4ded270f3bda8767f53d41d9a" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@2\.conan\data\cppcheck\2.8.2\_\_\build\6c1d1a59da579fd4ded270f3bda8767f53d41d9a\." ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@2/.conan/data/cppcheck/2.8.2/_/_/build/6c1d1a59da579fd4ded270f3bda8767f53d41d9a/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@2/.conan/data/cppcheck/2.8.2/_/_/package/6c1d1a59da579fd4ded270f3bda8767f53d41d9a" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@2\.conan\data\cppcheck\2.8.2\_\_\build\6c1d1a59da579fd4ded270f3bda8767f53d41d9a\." ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference@2/.conan/data/cppcheck/2.8.2/_/_/build/6c1d1a59da579fd4ded270f3bda8767f53d41d9a/build/generators/conan_toolchain.cmake -- The C compiler identification is MSVC 19.29.30146.0 -- The CXX compiler identification is MSVC 19.29.30146.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- 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 -- Configuring incomplete, errors occurred! See also "C:/J/w/prod/BuildSingleReference@2/.conan/data/cppcheck/2.8.2/_/_/build/6c1d1a59da579fd4ded270f3bda8767f53d41d9a/build/CMakeFiles/CMakeOutput.log". cppcheck/2.8.2: CMake Error at cmake/findDependencies.cmake:41 (message): pcre dependency for RULES has not been found Call Stack (most recent call first): CMakeLists.txt:11 (include) cppcheck/2.8.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.8.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.8.2: ERROR: Package '6c1d1a59da579fd4ded270f3bda8767f53d41d9a' build failed cppcheck/2.8.2: WARN: Build folder C:\J\w\prod\BuildSingleReference@2\.conan\data\cppcheck\2.8.2\_\_\build\6c1d1a59da579fd4ded270f3bda8767f53d41d9a\build ERROR: cppcheck/2.8.2: Error in build() method, line 54 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.8.2/_/_/build/6c1d1a59da579fd4ded270f3bda8767f53d41d9a/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@2/.conan/data/cppcheck/2.8.2/_/_/package/6c1d1a59da579fd4ded270f3bda8767f53d41d9a" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@2\.conan\data\cppcheck\2.8.2\_\_\build\6c1d1a59da579fd4ded270f3bda8767f53d41d9a\."