I’m running Mac OS X 10.6.3 with Xcode 3.2.2. When I add the FMOD library and try to run I get this error in the console at startup and my application will not run.
[code:2g1cgoqr]dyld: Library not loaded: ./libfmodex.dylib
Reason: image not found[/code:2g1cgoqr]
- OrganicBytes asked 7 years ago
i am running the same configuration, and having the same issue:
iMac 27" quad-core, OSX 10.6.3, Xcode 3.2.2 (64bit)
the examples in "FMOD Programmers API Mac" load into Xcode, and "build/run" without problem, but launching, say, the "submixing" executable gives error message:
dyld: Library not loaded: ./libfmodex.dylib
Referenced from: /Developer/FMOD Programmers API Mac/examples/submixing/build/Debug/submixing
Reason: image not found
however, libfmodex.dylib is also in that directory, as seems it should be, according to mathew’s post …
the Run Script seems to do the recommended copy procedure:
cp ../../api/lib/libfmodex.dylib .
cp -f "$TARGET_BUILD_DIR/$PRODUCT_NAME" .
cp ../../api/lib/libfmodex.dylib "$TARGET_BUILD_DIR"
cp -rf ../media "$TARGET_BUILD_DIR/../"
and even running the Make file from the Terminal App (which includes the
install_name_tool -change ./libfmodex.dylib ../../api/lib/libfmodex.dylib
command) … results in exactly the same error and logout.
SO, uh, how the heck are you supposed to build the application so that it runs outside of Xcode???
- pdx answered 7 years ago
Please login first to submit.