-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[package] boost/1.75.0: Build fails on windows #4338
Comments
Same issue here. Changing original Boost conanfile did the trick. Replaced this line:
With this one:
|
Don't mean to resurrect an old thread but I am having the same issues with g++ compiler on Windows. My path to g++ is:
Because "Program Files" contains spaces it fails to detect g++.exe Here are the logs I've been getting:
After I moved my mingw-w64 folder to this new path, it worked fine again
The solution would probably be to apply the same fix not only for MSVC, but also for g++ |
Build of the latest boost package fails on windows using visual studio 19 with the following config:
Package and Environment Details (include every applicable attribute)
Conan profile (output of
conan profile show default
orconan profile show <profile>
if custom profile is in use)[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=Visual Studio
compiler.version=16
build_type=Release
[options]
[build_requires]
[env]
This is what I think is the relevant part of the log (my highlights with **):
The file user-config.jam contains this:
It looks like the package tries to use the path to cl.exe given in user-config.jam, but since the path contains spaces and is not enclosed with quitation marks, it fails.
I think the relevant part of conanfile.py is line 1005 and it was changed recently here: #3362. There is some discussion in the pull request that quotation marks might be needed for windows and paths with spaces: "that might be a situation fixing one thing, but breaking another".
The text was updated successfully, but these errors were encountered: