irrKlang Library not loaded
BlitzMax Forums/Brucey's Modules/irrKlang Library not loaded
| ||
Hi! I downloaded bah.irrklang and compiled it, everything worked fine. But when I try to compile a code using irrklang (e.g. one of the samples) I get this error: dyld: Library not loaded: @executable_path/libirrklang.dylib Referenced from: /Applications/BlitzMax/mod/bah.mod/irrklang.mod/examples/helloworld.app/Contents/MacOS/helloworld Reason: image not found I'm on MacOS 10.5.5 PPC using BlitzMax SVN-Version. How could I fix that? hamZta |
| ||
Hi :-) The .dylib file from the irrklang.mod/lib/macos folder need to be copied into the application bundle. In your example, it goes into : helloworld.app/Contents/MacOS/ Unfortunately, the current version of BlitzMax doesn't support "post" build options, so unless you were to write a script to copy the file, you will have to do it manually. |
| ||
Thanks for the quick reply! I wrote a small compile script, now it works :) hamZta |