-
Notifications
You must be signed in to change notification settings - Fork 427
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 build does not generate 64 bit build for windows. #382
Comments
We need to add |
Adds -DCMAKE_GENERATOR_PLATFORM=x64 when needed. It seems that CMake does not do that by default (although I might be wrong on that). fixes luarocks#382
Meh, I'm not happy with this. To be able to use Right now, I'm looking for a way to get cmake to report which compiler is going to use. |
Only when using Windows 64 bits and the msvc compiler. CMake uses the x86 generator by default. We need to tell it explicitly that we wan't to use the x64 generator. refs luarocks#382
Adds -DCMAKE_GENERATOR_PLATFORM=x64 when needed. It seems that CMake does not do that by default (although I might be wrong on that). fixes luarocks#382
Only when using Windows 64 bits and the msvc compiler. CMake uses the x86 generator by default. We need to tell it explicitly that we wan't to use the x64 generator. refs luarocks#382
Adds -DCMAKE_GENERATOR_PLATFORM=x64 when needed. It seems that CMake does not do that by default (although I might be wrong on that). fixes luarocks#382
Only when using Windows 64 bits and the msvc compiler. CMake uses the x86 generator by default. We need to tell it explicitly that we wan't to use the x64 generator. refs luarocks#382
I'm back here again. But it seems have issue when install busted.
See full build log here on appveyor. I don't know exactly is this due to luarocks or busted or just my install_lua.bat has gone wrong. |
This may not be a LuaRocks issue. It is CMake that it is using a newer Visual Studio version instead of the one you chose in appveyor. You need to choose the generator when building, and you should do that in your I'm testing a fix for that. |
cmake build does not generate 64 bit build for windows when luarocks installed with a 64 bit lua.
The text was updated successfully, but these errors were encountered: