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

[make] Add windows support #82

Merged

Conversation

tobil4sk
Copy link
Contributor

On windows, we need to generate a .dll instead of a .so file, and we need to link explicitly against the lua library.

Some of the changes here are adapted from: sebthom@2eec510

On windows, we need to explicitly link against lua.dll
Since lua was built with VS2022, the luarocks install script uses
`MSVCR80` as the default runtime which causes problems when loading
dlls.
@tobil4sk
Copy link
Contributor Author

There was an issue running ci on windows-2022 (see luarocks/luarocks#1697), so I had to add a workaround 1958042.

windows-2019 was also failing with this error: lunarmodules/luasystem#29

@FourierTransformer FourierTransformer merged commit 1eb85fb into FourierTransformer:master Jul 23, 2024
@tobil4sk tobil4sk deleted the feature/windows-support branch July 24, 2024 22:39
Makefile Show resolved Hide resolved
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

Successfully merging this pull request may close these issues.

2 participants