******************************************************************************** conan install jsoncpp/1.9.1@#70b7922a5856eeec3f2b18b1ca641a06 --build=jsoncpp -pr C:\J\w\prod\BuildSingleReference@2\155667\d00b5ff1-34b8-4975-b8a4-d82e3cbf97ea/profile_windows_16_mdd_vs_debug_64.jsoncpp-shared-False.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=MDd compiler.version=16 os=Windows [options] jsoncpp:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True jsoncpp/1.9.1: Forced build from source Installing package: jsoncpp/1.9.1 Requirements jsoncpp/1.9.1 from local cache - Cache Packages jsoncpp/1.9.1:d057732059ea44a47760900cb5e4855d2bea8714 - Build Installing (downloading, building) binaries... [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK jsoncpp/1.9.1: Configuring sources in C:\J\w\prod\BuildSingleReference@2\.conan\data\jsoncpp\1.9.1\_\_\source\src jsoncpp/1.9.1: [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 jsoncpp/1.9.1: Copying sources to build folder jsoncpp/1.9.1: Building your package in C:\J\w\prod\BuildSingleReference@2\.conan\data\jsoncpp\1.9.1\_\_\build\d057732059ea44a47760900cb5e4855d2bea8714 jsoncpp/1.9.1: Generator txt created conanbuildinfo.txt jsoncpp/1.9.1: Calling generate() jsoncpp/1.9.1: Preset 'default' added to CMakePresets.json. Invoke it manually using 'cmake --preset default' jsoncpp/1.9.1: 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\jsoncpp\1.9.1\_\_\build\d057732059ea44a47760900cb5e4855d2bea8714\build\generators\conan_toolchain.cmake -DCCACHE_FOUND= -DCMAKE_POLICY_DEFAULT_CMP0091=NEW' jsoncpp/1.9.1: 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 jsoncpp/1.9.1: Calling build() jsoncpp/1.9.1: jsoncpp/1.9.1: 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 jsoncpp/1.9.1: ERROR: Package 'd057732059ea44a47760900cb5e4855d2bea8714' build failed jsoncpp/1.9.1: WARN: Build folder C:\J\w\prod\BuildSingleReference@2\.conan\data\jsoncpp\1.9.1\_\_\build\d057732059ea44a47760900cb5e4855d2bea8714\build ERROR: jsoncpp/1.9.1: Error in build() method, line 79 self._patch_sources() while calling '_patch_sources', line 73 if is_msvc(self) and self.settings.compiler.version in ("11", "170"): ConanException: Invalid setting '170' is not a valid 'settings.compiler.version' value. Possible values are ['8', '9', '10', '11', '12', '14', '15', '16', '17'] Read "http://docs.conan.io/en/latest/faq/troubleshooting.html#error-invalid-setting"