You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build a Conan v2 recipe on Windows 10 with VS 2022 (community) and the supplied clang-cl - with boost 1.86 recipe. I have created a Conan profile msvc-cl for this purpose
and the error messages now appears in the real project for all recipes:
...
conanvcvars.bat: Activating environment Visual Studio 17 - amd64 - winsdk_version=None - vcvars_ver=14.3
[ERROR:vcvars.bat] Toolset directory for version '14.3' was not found.
[ERROR:VsDevCmd.bat] *** VsDevCmd.bat encountered errors. Environment may be incomplete and/or incorrect. ***
...
conanvcvars.bat: Activating environment Visual Studio 17 - amd64 - winsdk_version=None - vcvars_ver=14.3
[ERROR:vcvars.bat] Toolset directory for version '14.3' was not found.
[ERROR:VsDevCmd.bat] *** VsDevCmd.bat encountered errors. Environment may be incomplete and/or incorrect. ***
[ERROR:VsDevCmd.bat] In an uninitialized command prompt, please 'set VSCMD_DEBUG=[value]' and then re-run
[ERROR:VsDevCmd.bat] vsdevcmd.bat [args] for additional details.
[ERROR:VsDevCmd.bat] Where [value] is:
[ERROR:VsDevCmd.bat] 1 : basic debug logging
[ERROR:VsDevCmd.bat] 2 : detailed debug logging
[ERROR:VsDevCmd.bat] 3 : trace level logging. Redirection of output to a file when using this level is recommended.
[ERROR:VsDevCmd.bat] Example: set VSCMD_DEBUG=3
[ERROR:VsDevCmd.bat] vsdevcmd.bat > vsdevcmd.trace.txt 2>&1
boost/1.86.0: ERROR:
Package 'ac512eddf2e24b0e3aa02deb09048b5331337818' build failed
boost/1.86.0: WARN: Build folder C:\Users\Olaf\.conan2\p\b\boostded99e149e468\b\build-debug
ERROR: boost/1.86.0: Error in build() method, line 1167
self.run(full_command)
ConanException: Error 1 while executing
Process failed because did not return a successful return code. Returned 1
Even if I set compiler.runtime_version=v144 I wasn't able to successfully compile the recipes (Somewhere in the logs I saw v14.4, can't remember where, vswhere doesn't seems to show it).
Have I forgotten something, or is the Boost recipe not intended for this?
What is your question?
I am trying to build a Conan v2 recipe on Windows 10 with VS 2022 (community) and the supplied
clang-cl
- with boost 1.86 recipe. I have created a Conan profilemsvc-cl
for this purposeset the
compiler.version=18
to the version number of the bundled clang-cl,and tested it (as suggested in Conan's doc) successfully with
conan new cmake_lib
.Conan's command line is:
and the error messages now appears in the real project for all recipes:
Even if I set
compiler.runtime_version=v144
I wasn't able to successfully compile the recipes (Somewhere in the logs I saw v14.4, can't remember where,vswhere
doesn't seems to show it).Have I forgotten something, or is the Boost recipe not intended for this?
The
conanfile.py
is nothing special:The text was updated successfully, but these errors were encountered: