Jump to content
  • Advertisement
Sign in to follow this  
disanti

Problem with Mono...

This topic is 4445 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I'm trying to get my game to run on Linux with Mono and I've run into a few problems. I've installed Mono on Fedora 4 with the Tao Framework, and everything is working except the fact that libglfw.so cannot be found. I downloaded the source code to libglfw from glfw.sf.net, and built it. However, after installing it, Mono still cannot find it. I've run ldconfig numerous times with libglfw.so installed to /usr/lib. It should work. Here is the error message I'm receiving: $ mono zolo.exe Unhandled Exception: System.DllNotFoundException: libglfw.so in (wrapper managed-to-native) Tao.Glfw.Glfw:glfwInit () in <0x00214> zolo.ZoloMain:Main (System.String[] args) I've even tried putting libglfw.so into the same directory as zolo.exe. If anyone can help me, that would be great. Thanks.

Share this post


Link to post
Share on other sites
Advertisement
OK, I rewrote part of my game so that it uses SDL instead of GLFW. Now it opens a window and instantly quits because it cannot find DevIL.

Unhandled Exception: System.DllNotFoundException: libIL.so
in (wrapper managed-to-native) Tao.DevIl.Il:ilInit ()
in <0x00387> zolo.ZoloMain:Main (System.String[] args)

I installed DevIL from the source code and ran ldconfig with no problems.
What could be preventing Mono from finding these libraries?

Thanks.

Share this post


Link to post
Share on other sites
It is working now. Apparently DevIL was installing to /usr/local/lib and ldconfig wasn't configured to look there for it.

I'm still intrigued as to why GLFW didn't work as that was found by ldconfig.

Problem solved.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!