******************************************************************************** conan install jsoncpp/1.9.4@#6edd1df09239426b33c2abd7f8b82bf8 --build=jsoncpp -pr C:\J\w\prod\BuildSingleReference@2\155672\58d0dcc5-8d6a-47c8-9bbf-287f21e256f4/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.4: Forced build from source Installing package: jsoncpp/1.9.4 Requirements jsoncpp/1.9.4 from local cache - Cache Packages jsoncpp/1.9.4:d057732059ea44a47760900cb5e4855d2bea8714 - Build Installing (downloading, building) binaries... [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK jsoncpp/1.9.4: Configuring sources in C:\J\w\prod\BuildSingleReference@2\.conan\data\jsoncpp\1.9.4\_\_\source\src jsoncpp/1.9.4: [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.4: Copying sources to build folder jsoncpp/1.9.4: Building your package in C:\J\w\prod\BuildSingleReference@2\.conan\data\jsoncpp\1.9.4\_\_\build\d057732059ea44a47760900cb5e4855d2bea8714 jsoncpp/1.9.4: Generator txt created conanbuildinfo.txt jsoncpp/1.9.4: Calling generate() jsoncpp/1.9.4: Preset 'default' added to CMakePresets.json. Invoke it manually using 'cmake --preset default' jsoncpp/1.9.4: 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.4\_\_\build\d057732059ea44a47760900cb5e4855d2bea8714\build\generators\conan_toolchain.cmake -DCCACHE_EXECUTABLE= -DCMAKE_POLICY_DEFAULT_CMP0091=NEW' jsoncpp/1.9.4: 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.4: Calling build() jsoncpp/1.9.4: apply_conandata_patches(): No patches defined in conandata jsoncpp/1.9.4: jsoncpp/1.9.4: 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.4: ERROR: Package 'd057732059ea44a47760900cb5e4855d2bea8714' build failed jsoncpp/1.9.4: WARN: Build folder C:\J\w\prod\BuildSingleReference@2\.conan\data\jsoncpp\1.9.4\_\_\build\d057732059ea44a47760900cb5e4855d2bea8714\build ERROR: jsoncpp/1.9.4: 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"