-
Notifications
You must be signed in to change notification settings - Fork 13
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
The specified module could not be found Error #11
Comments
Is there any good reason not to stick to the installation instructions? |
Are you using MSYS2/MinGW on Windows? By the way, I see that you are using Lua 5.1. As stated in the README, this library and its companions require Lua >= 5.3. Some of them may work with previous versions but this is not guaranteed. This shouldn't be the cause for this particular error you get, though. When you get a 'module not found' error from Lua it means that the required module is not in one of the paths specified in the variable package.cpath (for C modules) or package.path (for .lua modules). Try adding the following commands at the very top of the example script, before the require, and copy here the output you get:
|
I wanted to use those libs in luajit, thats why i built for lua 5.1. that didnt work, but building it for lua 5.4 worked just fine. I wanted to use it in luajit bc of imgui, i couldnt install the imgui_lua_bindings for standard lua. |
me too lua: error loading module 'moongl' from file '.\moongl.dll': stack traceback: |
but im not using lua 5.1 or luajit, im using 5.4 |
it runs the moonglfw perfectly, but don't run the moongl |
I have moonglfw and moongl in the same directory as the ran script, tho when i execute the example code on the repo i get this error:
The text was updated successfully, but these errors were encountered: