[Mono-osx] Where to place .dylib files

Eduardo Jimenez barkley at eclipse-games.net
Mon Nov 14 08:49:18 EST 2011


Hi all,

I'm developing a game with mono and I've got an external library that I've written in C++/Objective-C. I've compiled it as a .dylib file and I'm using it in my game.

Until the last update I was able to run the game with no problems (it wasn't packaging my game in an .app dir) just placing the .dylib file along with the executable. But with the .app package I don't know where to put the library so that it will find it. It keeps complaining about it and saying it can't find it. I've tried both in the resources and MacOS folders but it doesn't work in neither case.

Could someone help me out with this? Where should I place an external .dylib file I want to call from a mono .app bundle?

Thanks!
Eduardo


More information about the Mono-osx mailing list