dlopen on mac?
I'm developing a cross platform dynamic library loader for my game engine. On Windows I'm using LoadLibrary() and GetProcAddress(). I was hoping I could use dlopen() on Linux and on Mac OS X, but apparently OS X doesn't implement dlopen()?
If you use libltdl, it'll handle all of this for you. I just wrap it in my own interface because it's more portable than anything I'd take the time to write (well, not really, but for the most part ;)). I think it allows for static linking as well...
If you check this page it'll tell you what to use instead of dlopen and friends. I bookmarked that page a long while ago since it's pretty helpful :).
If you check this page it'll tell you what to use instead of dlopen and friends. I bookmarked that page a long while ago since it's pretty helpful :).
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement