mac fmodex

BlitzMax Modules Forums/Brucey's Modules/mac fmodex

I'm getting the following error when trying to compile Grisu's radio player on OS X 10.4.11:

/usr/bin/ld: /Users/c-knight/Desktop/BlitzMax/mod/bah.mod/fmod.mod/lib/macos/libfmodex.dylib load command 4 unknown cmd field
collect2: ld returned 1 exit status
Build Error: Failed to link /Users/c-knight/Desktop/prp_source/prp003_FModEx006_newbutton.app/Contents/MacOS/prp003_FModEx006_newbutton


i've got a copy of the dylib from the module/lib/macos folder in the application bundle where the binary would live (if it would compile...)

what's going on?

Cheers
Charlie

well... that's an exciting error, isn't it? :-)

I thought my use of "-bind_at_load" would get rid of messages like that...


Looking into it.

cheers Brucey!

Okay... we may need to experiment here...

I've been trawling google, and have come up with at least one thing we could try.

Firstly, create a copy of the dylib (so we don't break your only one).
Next, you'll need to open a Terminal session, and get yourself into the same directory as the .dylib. (I'll assume you can sort that bit out ;-)
Now the fun part. Try entering the following:
strip -S -arch ppc -no_uuid libfmodex.dylib

... if you are on PPC.

Then try the build again, with your now modified .dylib in the correct place.

... then maybe a plan B... ;-)

terminal says:

r-c-knights-imac-g5:~/Desktop c-knight$ strip -S -arch ppc -no_uuid libfmodex.dylib
strip: unrecognized option: -no_uuid
Usage: strip [-AnuSXx] [-] [-d filename] [-s filename] [-R filename] [-o output] file [...] 


am i out of date dev tools wise? or is that a 10.5 thing?

Cheers
Charlie

Ah... yes, you may need XCode 2.5

Hold on. I'll make you one and send it to you... (the dylib... not xcode!)

charlie@------------

Cheers
Charlie

cheers Brucey :)

Cheers
Charlie