-
Notifications
You must be signed in to change notification settings - Fork 16
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
Cmake cannot find Visual Studio under the MSVC cross image #60
Comments
link.exe
when building CMake projects.
Interesting! I thought this was fixed but seems it's a different issue that wasn't fixed with rust-lang/cc-rs#907. The problem is that relevant lines in cmake: and fix in cc that removed a bunch of assumptions can you try adding #Cross.toml
[target.x86_64-pc-windows-msvc.env]
passthrough = ["VisualStudioVersion=17.0"] |
I added the passthrough variable, and it cannot find the Visual Studio generator.
I think we'll need a cmake toolchain file to specify the generator and remove that |
Also maybe add |
Hello, I am trying to use the
x86_64-pc-windows-msvc
docker image. I can compile a "hello world" program. However, when trying to buildraylib-sys
, the build fails:How can I run
vcvarsall.bat
before running the build command?The text was updated successfully, but these errors were encountered: