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

How to solve Fiddle:DLError #100

Open
zeke-taylor opened this issue Feb 24, 2021 · 4 comments
Open

How to solve Fiddle:DLError #100

zeke-taylor opened this issue Feb 24, 2021 · 4 comments
Labels

Comments

@zeke-taylor
Copy link

Every time I try and run a mittsu program this error pops up:
Screenshot-2021-02-24-134325
And then it immediately closes does anybody know how to fix this so that it'll work.

@danini-the-panini
Copy link
Owner

Have you tried setting the environment variable MITTSU_LIBGLFW_PATH to point to the glfw3 dll file?

@danpish
Copy link

danpish commented Jan 19, 2024

@danini-the-panini I tried it. Didn't work.
I tried setting it in advance system settings and it didn't work. I tried setting both MITTSU_LIBGLFW_FILE and MITTSU_LIBGLFW_PATH in both cmd and advance system settings with no luck.
I also tried copying glfw3.dll to msys2 crt64 bin folder, ruby's bin folder, project root folder and also tried renaming "GLFW3.dll" to "glfw3.dll" in opengl-bindings glfw.rb file. But I think these steps were useless anyway.

@danpish
Copy link

danpish commented Jan 22, 2024

It works! my path was messed up.
I tried installing mittsu in jruby instead. It didn't work however it gave me more useful debug info ( Could not open library <broken-path> : The specified procedure could not be found.). My path was messed up so I changed it and it still didn't work but at least it found the glfw3.dll.
with glfw3.dll correctly in place opening the file with normal ruby successfully opens a window. It's weird because I'm sure I got the path right the first time.

@danini-the-panini
Copy link
Owner

Yeah i don't think JRuby works properly yet. I think there's a branch where i was experimenting with Charles Nutter

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

No branches or pull requests

3 participants