******************************************************************************** conan install cppcheck/2.8.2@#dbfad3c83de79ab9048a7488e568d545 --build=cppcheck -pr C:\J\w\prod\BuildSingleReference\123289\6fba983a-cb23-4681-af9f-535131e0cba5/profile_windows_15_mdd_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\.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=Debug compiler=Visual Studio compiler.runtime=MDd 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.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:5c382ca84120276840c8074ab1851697636fb8ae - Download cppcheck/2.8.2:40bca69f429dca61452f3e1a0cdcc90160bada1f - Build pcre/8.45:4718c350e510d7cbbd2f81f3b971627340461a2a - Download zlib/1.2.13:8cf01e2f50fcd6b63525e70584df0326550364e1 - Download Installing (downloading, building) binaries... bzip2/1.0.8: Retrieving package 5c382ca84120276840c8074ab1851697636fb8ae from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz bzip2/1.0.8: Package installed 5c382ca84120276840c8074ab1851697636fb8ae bzip2/1.0.8: Downloaded package revision 206a0421b85257e6c055e325e4551b89 zlib/1.2.13: Retrieving package 8cf01e2f50fcd6b63525e70584df0326550364e1 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.13: Package installed 8cf01e2f50fcd6b63525e70584df0326550364e1 zlib/1.2.13: Downloaded package revision 0d5d6042740d373c696e546d71b64a5f pcre/8.45: Retrieving package 4718c350e510d7cbbd2f81f3b971627340461a2a from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz pcre/8.45: Package installed 4718c350e510d7cbbd2f81f3b971627340461a2a pcre/8.45: Downloaded package revision e60057be3ff2b306024468ceb2f919cb pcre/8.45: Appending PATH environment variable: C:\J\w\prod\BuildSingleReference\.conan\data\pcre\8.45\_\_\package\4718c350e510d7cbbd2f81f3b971627340461a2a\bin [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK cppcheck/2.8.2: Configuring sources in C:\J\w\prod\BuildSingleReference\.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\.conan\data\cppcheck\2.8.2\_\_\build\40bca69f429dca61452f3e1a0cdcc90160bada1f 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 15 2017" -DCMAKE_TOOLCHAIN_FILE=C:\J\w\prod\BuildSingleReference\.conan\data\cppcheck\2.8.2\_\_\build\40bca69f429dca61452f3e1a0cdcc90160bada1f\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 15 2017" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/cppcheck/2.8.2/_/_/build/40bca69f429dca61452f3e1a0cdcc90160bada1f/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/cppcheck/2.8.2/_/_/package/40bca69f429dca61452f3e1a0cdcc90160bada1f" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\cppcheck\2.8.2\_\_\build\40bca69f429dca61452f3e1a0cdcc90160bada1f\." ----Running------ > cmake -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/cppcheck/2.8.2/_/_/build/40bca69f429dca61452f3e1a0cdcc90160bada1f/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/cppcheck/2.8.2/_/_/package/40bca69f429dca61452f3e1a0cdcc90160bada1f" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\cppcheck\2.8.2\_\_\build\40bca69f429dca61452f3e1a0cdcc90160bada1f\." ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference/.conan/data/cppcheck/2.8.2/_/_/build/40bca69f429dca61452f3e1a0cdcc90160bada1f/build/generators/conan_toolchain.cmake -- The C compiler identification is MSVC 19.16.27048.0 -- The CXX compiler identification is MSVC 19.16.27048.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/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/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring incomplete, errors occurred! See also "C:/J/w/prod/BuildSingleReference/.conan/data/cppcheck/2.8.2/_/_/build/40bca69f429dca61452f3e1a0cdcc90160bada1f/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 '40bca69f429dca61452f3e1a0cdcc90160bada1f' build failed cppcheck/2.8.2: WARN: Build folder C:\J\w\prod\BuildSingleReference\.conan\data\cppcheck\2.8.2\_\_\build\40bca69f429dca61452f3e1a0cdcc90160bada1f\build ERROR: cppcheck/2.8.2: Error in build() method, line 54 cmake.configure() ConanException: Error 1 while executing cmake -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/cppcheck/2.8.2/_/_/build/40bca69f429dca61452f3e1a0cdcc90160bada1f/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/cppcheck/2.8.2/_/_/package/40bca69f429dca61452f3e1a0cdcc90160bada1f" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\cppcheck\2.8.2\_\_\build\40bca69f429dca61452f3e1a0cdcc90160bada1f\."