Skip to content
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

64-bit luarocks on windows? #12

Open
Alloyed opened this issue Sep 23, 2016 · 3 comments
Open

64-bit luarocks on windows? #12

Alloyed opened this issue Sep 23, 2016 · 3 comments

Comments

@Alloyed
Copy link
Owner

Alloyed commented Sep 23, 2016

By default, the built-in lua that luarocks provides is 32-bit. LOVE can either be 32-bit or 64-bit, so there's a chance (hi) that your LOVE game and your loverocks install have different architectures.
We should probably do something about that ¯_(ツ)_/¯

@pablomayobre
Copy link
Contributor

Detect it and report an error, let the user choose if he wants to use LÖVE for 32bits or if he wants to build a 64bit version of Lua/Luarocks (dependencies?)

Which areas does this affect particularly?

@Alloyed
Copy link
Owner Author

Alloyed commented Sep 24, 2016

This affects native modules: you can't use a 32-bit DLL with a 64-bit love and vice-versa.

The problem is that loverocks has no way of knowing which love.exe you want to bundle with your game (it's not a build tool), so the only possible time we could detect it is at runtime.

Maybe this is a good argument for packaging love+luarocks+loverocks into a single bundle?

@pablomayobre
Copy link
Contributor

Add +love-release to that last question and you got me in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants