FMod error :s

BlitzMax Forums/Brucey's Modules/FMod error :s

*(Posted 2010) [#1]
I get the following when compiling with fmod.mod

dyld: Library not loaded: @executable_path/libfmodex.dylib
  Referenced from: /Users/edzup/Desktop/PRP/Source/prp029_01.debug.app/Contents/MacOS/prp029_01.debug
  Reason: image not found


anyone have any ideas I have the files etc.


Brucey(Posted 2010) [#2]
You need to put the .dylib into your app bundle (in the same dir as the app binary itself).


Brucey(Posted 2010) [#3]
(the default) BlitzMax makes it fun to develop on the Mac, but allowing you full control over what to do once you've compiled your program - like copying by hand, things that need to go inside the bundle.

Good luck :-)


*(Posted 2010) [#4]
I put the dylib in the same directory as my app and inserted it into the app contents now I get:
Building prp029_01
Compiling:prp_incdata.bmx
Compiling:prp_translations.bmx
Compiling:mac_dock_support.m
Compiling:prp029_01.bmx
Linking:prp029_01.debug
Executing:prp029_01.debug
2010-07-30 23:31:25.079 prp029_01.debug[466:60b] -[NSMenu submenu]: unrecognized selector sent to instance 0x42b9b0
2010-07-30 23:31:25.140 prp029_01.debug[466:60b] -[NSMenu submenu]: unrecognized selector sent to instance 0x42b9b0


this XCode thing isnt as easy as it seems :)


Brucey(Posted 2010) [#5]
That's a MaxGUI bug :-)


*(Posted 2010) [#6]
Where is the latest BaH.FMOD module as I have 4.14.x not the latest.


*(Posted 2010) [#7]
FMod files were the incorrect ones, to get the latest version download fmod and copy the include and lib files to the Bah.fmod directories include and lib directories :)