Sign in to follow this  
disanti

Problem with Mono...

Recommended Posts

disanti    174
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
disanti    174
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
disanti    174
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