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

Error loading module luv #691

Closed
fenix272 opened this issue Feb 9, 2024 · 3 comments
Closed

Error loading module luv #691

fenix272 opened this issue Feb 9, 2024 · 3 comments

Comments

@fenix272
Copy link

fenix272 commented Feb 9, 2024

What i'm doing wrong? I have built luv as a module and i got 'luv.dll', then to try it out i put it in the same folder as a lua script:
local luv = require('luv') but when i run the script i get this error: Error loading module 'luv' from file '.luv.dll', the specified procedure couldn't be found.

@fenix272
Copy link
Author

fenix272 commented Feb 9, 2024

Upon further investigation i discovered the following. If i doluajit test.lua or lua test.lua it gives me that error. If i use wxlua, which i built using luajit everything is fine...

@fenix272
Copy link
Author

fenix272 commented Feb 9, 2024

I was running the script with git bash, i then switched to a plain cmd window(i'm on windows 7) and got a more clear error: the procedure entry point GetSystemTimePreciseAsFileTime could not be located in Kernel32.dll. I think i know, it's because they dropped support for windows 7. Infact using a less recent version it works.

@squeek502
Copy link
Member

Yep, the minimum Windows version became Windows 8 in Libuv 1.41.0: https://github.com/luvit/luv/releases/tag/1.41.0-0

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