******************************************************************************** conan install glew/2.2.0@#edecc4f633091e359fd480dbf34c2eb4 --build=glew -pr C:\J\w\prod\BuildSingleReference@4\94070\627f4d52-ee4a-4e38-8007-b1434e3a17e3/profile_windows_15_mdd_vs_debug_64.glew-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@4\.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@4\.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] glew:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True opengl/system: Not found in local cache, looking in remotes... opengl/system: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py opengl/system: Downloaded recipe revision 96cbfe3a344598a4edcfbd82b9ac978f glu/system: Not found in local cache, looking in remotes... glu/system: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py glu/system: Downloaded recipe revision ede79e8f388e28d1761f3688b5d8df76 glew/2.2.0: Forced build from source Installing package: glew/2.2.0 Requirements glew/2.2.0 from local cache - Cache glu/system from 'conan-center' - Downloaded opengl/system from 'conan-center' - Downloaded Packages glew/2.2.0:0fcdbaa65203539ee5bda7e980392e1a3ead76c8 - Build glu/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download opengl/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download Installing (downloading, building) binaries... opengl/system: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz opengl/system: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 opengl/system: Downloaded package revision 8a765353a7971363b01b935d604ee7da glu/system: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz glu/system: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 glu/system: Downloaded package revision 34a380ff7f3e23be44d5ee591b943cd6 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK glew/2.2.0: Configuring sources in C:\J\w\prod\BuildSingleReference@4\.conan\data\glew\2.2.0\_\_\source\src glew/2.2.0: [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 glew/2.2.0: Copying sources to build folder glew/2.2.0: Building your package in C:\J\w\prod\BuildSingleReference@4\.conan\data\glew\2.2.0\_\_\build\0fcdbaa65203539ee5bda7e980392e1a3ead76c8 glew/2.2.0: Generator txt created conanbuildinfo.txt glew/2.2.0: Calling generate() glew/2.2.0: 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 glew/2.2.0: Calling build() glew/2.2.0: apply_conandata_patches(): No patches defined in conandata glew/2.2.0: CMake command: cmake -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@4/.conan/data/glew/2.2.0/_/_/build/0fcdbaa65203539ee5bda7e980392e1a3ead76c8/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@4/.conan/data/glew/2.2.0/_/_/package/0fcdbaa65203539ee5bda7e980392e1a3ead76c8" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@4\.conan\data\glew\2.2.0\_\_\build\0fcdbaa65203539ee5bda7e980392e1a3ead76c8\src\build\cmake" ----Running------ > cmake -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@4/.conan/data/glew/2.2.0/_/_/build/0fcdbaa65203539ee5bda7e980392e1a3ead76c8/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@4/.conan/data/glew/2.2.0/_/_/package/0fcdbaa65203539ee5bda7e980392e1a3ead76c8" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@4\.conan\data\glew\2.2.0\_\_\build\0fcdbaa65203539ee5bda7e980392e1a3ead76c8\src\build\cmake" ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference@4/.conan/data/glew/2.2.0/_/_/build/0fcdbaa65203539ee5bda7e980392e1a3ead76c8/build/generators/conan_toolchain.cmake -- Configuring incomplete, errors occurred! glew/2.2.0: CMake Error at C:/J/w/prod/BuildSingleReference@4/.conan/data/glew/2.2.0/_/_/build/0fcdbaa65203539ee5bda7e980392e1a3ead76c8/build/generators/conan_toolchain.cmake:27 (message): The CMake policy CMP0091 must be NEW, but is '' Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineSystem.cmake:124 (include) CMakeLists.txt:5 (project) glew/2.2.0: 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 glew/2.2.0: ERROR: Package '0fcdbaa65203539ee5bda7e980392e1a3ead76c8' build failed glew/2.2.0: WARN: Build folder C:\J\w\prod\BuildSingleReference@4\.conan\data\glew\2.2.0\_\_\build\0fcdbaa65203539ee5bda7e980392e1a3ead76c8\build ERROR: glew/2.2.0: Error in build() method, line 72 cmake.configure(build_script_folder=os.path.join(self.source_folder, "build", "cmake")) ConanException: Error 1 while executing cmake -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference@4/.conan/data/glew/2.2.0/_/_/build/0fcdbaa65203539ee5bda7e980392e1a3ead76c8/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference@4/.conan/data/glew/2.2.0/_/_/package/0fcdbaa65203539ee5bda7e980392e1a3ead76c8" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference@4\.conan\data\glew\2.2.0\_\_\build\0fcdbaa65203539ee5bda7e980392e1a3ead76c8\src\build\cmake"