0
0

Greetings,

Using the search feature on this forum didn’t yeild any obvious answers, but I will happily stand corrected as a generally oblivious person.

Using the FMOD 4.06.22, a project group of which I am a part has had difficulty including the .dylib’s into XCode.

They can be placed in the project fine, and the project builds fine, but upon attempting to run it, we get the following error:
dyld: Library not loaded: /usr/local/lib/*.dylib
Referenced from: /Users/…etc. etc… /<application executablename>
Reason: image not found

Where *.dylib is whichever of the dylibs it first decides to encounter.

Upon running ‘otool -L’ on the executable, we noticed that despite adding all the dylibs to the project, the references all pointed to /usr/local/lib/. Upon running ‘otool -L’ on any of the dylibs, we discovered that these were also all pointing to /usr/local/lib/.

There exists a somewhat useful tool to change the location of dylibs for binary files, but not that I can find for existing dylibs. As such our inconvenient ‘work around’ is to run a script at the end of every build that does the following on all the fmod dylibs:

install_name_tool -change /usr/local/lib/libfmodex.dylib @executable_path/../Frameworks/libfmodex.dylib <name of executable>

This is incredibly inconvenient, and at present I’m trying to find a better solution, ideally changing the dylibs own statically stored path to themselves to be something more useful (if that is in fact what is the root of the problem). I opened the XCode examples, to find they compiled and ran… from XCode. Trying to run example app outside of XCode resulted in the same error. I then attempted the Makefile also provided with all the examples, but only to be faced with the same problem. It is however from the makefile that I devised the temporary solution using install_name_tool script. It may be worth considering that the use of install_name_tool in the makefile didn’t actually run, as for instance with the ‘effects’, it has the following line:

install_name_tool -change libfmodex.dylib @executable_path/libfmodex.dylib effects

But when doing an ‘otool -L’ on the executable ‘effects’ both before and afterwards I get the same output, ie:
/usr/local/lib/libfmodex.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.9)

Modifying the install_name_tool command to the following:
install_name_tool -change /usr/local/lib/libfmodex.dylib @executable_path/libfmodex.dylib effects

results in ‘otool -L effects’ updating to:
@executable_path/libfmodex.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.9)

Which I believe is the desired output.

I would easily believe this to be an OSX only problem, but nevertheless it has been causing me a rather big headache so far, and I’m open to any suggestion or assistance (not to mention a hint as to why XCode can build+run fine, but if you try and run the executable outside of XCode it fails with the same original error).

Note – This is on an intel OSX machine, running 10.4.10, and has only been tested (and confirmed to have the same issue) on other 10.4.10 machines (intel and PPC).

Also note – That copying all the dylibs to /usr/local/lib resolves the problem, but is not feasible as access to all our machines for work have different privelages (and thus some we cannot copy to /usr/local/lib), and a release would need to be self contained.

Apologies for the first post being a long one, but I’m trying to get as much info as I think might help lead to a solution of this problem.

  • You must to post comments
0
0

thanks for your help mathew! But I still need you (or anybody else!) to run my app.
I tried to change the reference using install_name_tool and the script given on brockwolf website, but I still have this link error. Can you please tell me step by step what I have to do? 😥

  • You must to post comments
0
0

Okay then, wow!

I have been busy working on cleaning up the MacOSX code recently and have not been monitoring the forum as closely as I would have liked to. It would seem you have done a very good job of detailing what I have been working on.

The issue with the install_name_tool stuff should be all resolved now. I have set up the dylibs so that they use a relative path. So fmodevent will assume fmodex is in the same directory. I have also updated the examples to use relative paths for the accessing the library, eg. ../api/lib/libfmodex.dylib.

Another thing that was mentioned here was the use of universal binaries, well that has been implemented as well. Since the majority of people would benefit from having the libraries as universal, the minority can now use lipo to thin them back out to individual archs if needed. Notes have been added to the mac specific section of the docs explaining this.

All of these changes have been made to the development version of FMOD only, and should appear in the next release. Please stay tuned for the release and let me know if there is anything else we can tweak.

  • You must to post comments
0
0

Not a problem, if you can email your Xcode project / code to support@fmod.org I will take a look at it for you and see what you need to do to get it going.

  • You must to post comments
0
0

Ok, after a bit more investigation, it appears the PPC version of the dylibs, when running otool -L on them returns:
libfmodex.dylib:
[b:2ny6qxv6]libfmodex.dylib[/b:2ny6qxv6] (compatibility version 0.0.0, current version 0.0.0)
/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 128.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.8)

Whereas the Intel version, using the same command returns:
libfmodex.dylib:
[b:2ny6qxv6]/usr/local/lib/libfmodex.dylib[/b:2ny6qxv6] (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 128.0.0)
/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.3)

Running ‘otool -R’ on the two returns the following:
(PPC)
libfmodex.dylib:
libfmodex.dylib

(Intel)
libfmodex.dylib:
/usr/local/lib/libfmodex.dylib

If someone can direct me to a method of changing the install paths of dylibs (as install_name_tool does not seem to change the install paths of dylibs, only executables as far as I can tell), I’d appreciate it. Also if this problem is not unique to myself, it may be worth considering this a potential fix for the next release.

  • You must to post comments
0
0

Hey guys, I have read through this thread and another one a few times and I cannot understand how this problem is "SOLVED".
From what I understand, you need to use the install name tool command.

[quote="sidegame":2b87g41r]Good news. It appears there is functionality of the install_name_tool that I missed earlier.

if I go:
install_name_tool -id @executable_path/../Frameworks/<dylibname>.dylib <dylibname>.dylib
[/quote:2b87g41r]

However, being a Mac programming newbie, I really dont understand the correct usage of this command. How do I apply it to a compiled .app bundle that I have produced with Xcode.
I copied my "libfmodex.dylib" to the debug build directory that Xcode produces and if i run my application using the run command within Xcode, then my program runs with no errors.
However, if i double click my .app file in the Finder I get the same error:

[code:2b87g41r]Library not loaded: ./libfmodexp.dylib
Referenced from: /Users/ben/Game/Debug/RTS.app/Contents/MacOS/RTS
Reason: image not found
[/code:2b87g41r]

[quote:2b87g41r]
Neverthless, hopefully this can act as a reference for anyone else who stumbles into the same trap.[/quote:2b87g41r]

Well, kinda, except this hasn’t really answered my problem. Some help from a Mac guru would be kindly appreciated.

  • You must to post comments
0
0

[quote="mathew":kg1ogpmo]Not a problem, if you can email your Xcode project / code to support@fmod.org I will take a look at it for you and see what you need to do to get it going.[/quote:kg1ogpmo]
wahou that’s very very nice. Thanks a lot if you can help me. I send my xcodeProject with source code and qt makefile. (.pro)
:)

  • You must to post comments
0
0

Ok.

I just did the same otool -L on the development build (4.07.19) and got the following results:

(PPC)
libfmodex.dylib:
[b:1t59dbeo]libfmodex.dylib[/b:1t59dbeo] (compatibility version 0.0.0, current version 0.0.0)
/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 128.0.0)
/System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.8)

(Intel)
libfmodex.dylib:
[b:1t59dbeo]/Users/Mathew/Desktop/sound/fmod4/mac/build/Release/libfmodex.dylib[/b:1t59dbeo] (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 128.0.0)
/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.3)

I would like to make a request that when Mathew (guessing that is OSX Intel developer for FMOD) has a few spare moments that he modify the install path of the library to be consistent with the PPC versions. I apologise if listing the paths above is an unintended invasion of privacy, but they are publically available, and should the problem be solved feel free to remove the reference to the absolute path on your system where FMOD is being built.

  • You must to post comments
0
0

[quote="California27":rwmaqso1]Hey guys, I have read through this thread and another one a few times and I cannot understand how this problem is "SOLVED".
From what I understand, you need to use the install name tool command.
[/quote:rwmaqso1]

Yes, you still need install_name_tool. Its pretty much a fact of life of Mac development, that you will need to use install_name_tool. This problem isn’t unique to FMOD.

[quote="California27":rwmaqso1]However, being a Mac programming newbie, I really dont understand the correct usage of this command. How do I apply it to a compiled .app bundle that I have produced with Xcode.[/quote:rwmaqso1]

I don’t use Xcode, so the best answer I have for you is "it depends on where Xcode puts libfmodex.dylib relative to your main program". Where "main program" refers to the executable in Contents/MacOS directory in the bundle, and not the folder with the .app extension that is the root of your bundle.

What you need to do is use install_name_tool to change the id of fmod (using install_name_tool -id) and all binaries that reference it (using install_name_tool -change) to point to where fmod really is. For example, if you put fmod in the same directory as your main executable, you would use:

@executable_path/libfmodex.dylib

if, instead, you put it in a Libraries folder in your bundle, you would use:

@executable_path/../Libraries/libfmodex.dylib

and so on. Does that help?

  • You must to post comments
0
0

Your app doesn’t compile out of the box, there were a lot of issues with Qt. I tried running the app that was already compiled and there was a dynamic link error with Qt also. When you create an .app file you need to bundle the relevant Qt frameworks inside the app bundle or use staticly linked versions.

I’m going to give you some steps to follow though that should resolve your FMOD issue.

You need to put the FMOD dylib in the app bundle first, for instance, in test.app/Contents/Libraries/libfmodex.dylib.

Now you need to tell your executable where to find that library at runtime. You can run ‘otool -L test.app/Contents/MacOS/test’ to see where the app is currently looking for each dylib (it will be looking for fmod at ./libfmodex.dylib).

To change that you use ‘install_name_tool -change ./libfmodex.dylib @executable_path/../Libraries/libfmodex.dylib test.app/Contents/MacOS/test’.

That should be all you need to do (you can verify the new path with otool). You can easily add these steps as a post build operation in your Xcode project.

If you have any more questions let me know.

  • You must to post comments
0
0

Sorry to keep replying rather than modifying the above post, however this is not an edit of what I said before but rather something new:

Running ‘otool -L’ on all the dylibs (w/ ‘head -n 2’ for each of them), has shown some interesting results (as shown below).

Could I make the request that possibly the OSX builds be available as universal binaries (quite easy using the lipo command), and then possibly put together in a Framework?

  • You must to post comments
0
0

@ssexton
Thank you very much for your swift reply ssexton, as well as everyone else’s help. After reading your post and everyone else’s a couple of times I figured it out.

A combination of running:

otool -L /path/to/AppName.app/Contents/MacOS/AppName

And creating a run script for Xcode:

mkdir "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Frameworks"
cp -f /Developer/FMOD Programmers API/api/lib/libfmodex.dylib "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Frameworks/libfmodex.dylib"

install_name_tool -change ./libfmodexp.dylib @loader_path/../Frameworks/libfmodex.dylib "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/MacOS/$PRODUCT_NAME"

I also made a much more comprehensive guide to let other people who may not be as clever as us know how to do this. At the bottom of the article you can download a copy as either a Pages or PDF document.

Here: http://brockwoolf.com/how-to-use-dynami … using-fmod

Tell me if you liked it. Thanks

Brock

  • You must to post comments
0
0

ok thanks a lot. I will try again with the explanation you told me
:)

  • You must to post comments
0
0

[code:1suw1y9f]
libfmodex.dylib
/usr/local/lib/libfmodex.dylib (compatibility version 1.0.0, current version 1.0.0)
libfmodexp.dylib
/usr/local/lib/libfmodexp.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_aiff.dylib
/usr/local/lib/codec_aiff.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_cdda.dylib
/usr/local/lib/codec_cdda.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_dls.dylib
/usr/local/lib/codec_dls.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_flac.dylib
/usr/local/lib/codec_flac.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_fsb.dylib
/usr/local/lib/codec_fsb.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_it.dylib
/usr/local/lib/codec_it.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_midi.dylib
/usr/local/lib/codec_midi.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_mod.dylib
/usr/local/lib/codec_mod.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_mpeg.dylib
/usr/local/lib/codec_mpeg.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_oggvorbis.dylib
/usr/local/lib/codec_oggvorbis.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_playlist.dylib
/usr/local/lib/codec_playlist.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_raw.dylib
/usr/local/lib/codec_raw.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_s3m.dylib
/usr/local/lib/codec_s3m.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_sf2.dylib
/usr/local/lib/codec_sf2.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_tag.dylib
/usr/local/lib/codec_tag.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_wav.dylib
/usr/local/lib/codec_wav.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_xm.dylib
/usr/local/lib/codec_xm.dylib (compatibility version 1.0.0, current version 1.0.0)
dsp_chorus.dylib
/usr/local/lib/dsp_chorus.dylib (compatibility version 1.0.0, current version 1.0.0)
dsp_distortion.dylib
/usr/local/lib/dsp_distortion.dylib (compatibility version 1.0.0, current version 1.0.0)
dsp_echo.dylib
/usr/local/lib/dsp_echo.dylib (compatibility version 1.0.0, current version 1.0.0)
dsp_flange.dylib
/usr/local/lib/dsp_flange.dylib (compatibility version 1.0.0, current version 1.0.0)
dsp_highpass.dylib
/usr/local/lib/dsp_highpass.dylib (compatibility version 1.0.0, current version 1.0.0)
dsp_itecho.dylib
/usr/local/lib/dsp_itecho.dylib (compatibility version 1.0.0, current version 1.0.0)
dsp_lowpass.dylib
/usr/local/lib/dsp_lowpass.dylib (compatibility version 1.0.0, current version 1.0.0)
dsp_lowpass2.dylib
/usr/local/lib/dsp_lowpass2.dylib (compatibility version 1.0.0, current version 1.0.0)
dsp_normalize.dylib
/usr/local/lib/dsp_normalize.dylib (compatibility version 1.0.0, current version 1.0.0)
dsp_oscillator.dylib
/usr/local/lib/dsp_oscillator.dylib (compatibility version 1.0.0, current version 1.0.0)
dsp_parameq.dylib
/usr/local/lib/dsp_parameq.dylib (compatibility version 1.0.0, current version 1.0.0)
dsp_pitchshift.dylib
/usr/local/lib/dsp_pitchshift.dylib (compatibility version 1.0.0, current version 1.0.0)
dsp_reverb.dylib
/usr/local/lib/dsp_reverb.dylib (compatibility version 1.0.0, current version 1.0.0)
output_coreaudio.dylib
/usr/local/lib/output_coreaudio.dylib (compatibility version 1.0.0, current version 1.0.0)
output_nosound_nrt.dylib
/usr/local/lib/output_nosound_nrt.dylib (compatibility version 1.0.0, current version 1.0.0)
output_nosound.dylib
/usr/local/lib/output_nosound.dylib (compatibility version 1.0.0, current version 1.0.0)
output_soundmanager.dylib
/usr/local/lib/output_soundmanager.dylib (compatibility version 1.0.0, current version 1.0.0)
output_wavwriter_nrt.dylib
/usr/local/lib/output_wavwriter_nrt.dylib (compatibility version 1.0.0, current version 1.0.0)
output_wavwriter.dylib
/usr/local/lib/output_wavwriter.dylib (compatibility version 1.0.0, current version 1.0.0)[/code:1suw1y9f]

  • You must to post comments
0
0

Brock, a couple of comments:

  1. A Framework is different than a Library. A standalone .dylib should go in Libraries directory, not Frameworks directory. Putting it next to the main executable is also common. That’s the convention, anyway.

Like a .app, a .framework is another bundle structure, more than I want to get into here – ADC has some good info, and you can take a look /System/Library/Frameworks for some examples. OpenAL.framework in particular reflects what you should probably do to use FMOD as a framework. At a minimum, you would change your script to:

  • create directory Contents/MacOS/Frameworks/FMOD.framework/Versions/A
  • cp libfmodex.dylib Contents/MacOS/Frameworks/FMOD.framework/Versions/A/FMOD
  • create a ‘Current’ symlink within FMOD.framework (see OpenAL.framework for an example)
  • create a ‘FMOD’ symlink within FMOD.framework (ditto)

Note that in doing this, you are renaming libfmodex.dylib to FMOD (without any file extension). Also, that the renamed FMOD library is named s.t. it matches the bundle directory (FMOD.framework) that contains it.

  1. I’d be surprised if XCode doesn’t have an option to "embed frameworks into application bundle", that would do the same thing your script does. I could’ve sworn I’ve seen one, but, I don’t spend much time with XCode. Might be worth looking around a bit for it.

Regards,
Steve

  • You must to post comments
0
0

I forgot to reply but it works now with your indication! I didn’t understand one thing : @executable_path is not the .app but inside Contents/MacOS/ directory… That’s why I was confused.

Don’t ask me why I thought a such thing, I don’t know myself!

Anyway, thanks a lot.

  • You must to post comments
0
0

[code:3p97i3me]
libfmodex.dylib
libfmodex.dylib (compatibility version 0.0.0, current version 0.0.0)
libfmodexp.dylib
libfmodexp.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_aiff.dylib
version/api/plugins/codec_aiff.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_cdda.dylib
version/api/plugins/codec_cdda.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_dls.dylib
version/api/plugins/codec_dls.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_flac.dylib
version/api/plugins/codec_flac.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_fsb.dylib
version/api/plugins/codec_fsb.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_it.dylib
version/api/plugins/codec_it.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_midi.dylib
version/api/plugins/codec_midi.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_mod.dylib
version/api/plugins/codec_mod.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_mpeg.dylib
version/api/plugins/codec_mpeg.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_oggvorbis.dylib
version/api/plugins/codec_oggvorbis.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_playlist.dylib
version/api/plugins/codec_playlist.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_raw.dylib
version/api/plugins/codec_raw.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_s3m.dylib
version/api/plugins/codec_s3m.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_sf2.dylib
version/api/plugins/codec_sf2.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_tag.dylib
version/api/plugins/codec_tag.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_wav.dylib
version/api/plugins/codec_wav.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_xm.dylib
version/api/plugins/codec_xm.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_chorus.dylib
version/api/plugins/dsp_chorus.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_distortion.dylib
version/api/plugins/dsp_distortion.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_echo.dylib
version/api/plugins/dsp_echo.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_flange.dylib
version/api/plugins/dsp_flange.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_highpass.dylib
version/api/plugins/dsp_highpass.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_itecho.dylib
version/api/plugins/dsp_itecho.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_lowpass_simple.dylib
version/api/plugins/dsp_lowpass_simple.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_lowpass.dylib
version/api/plugins/dsp_lowpass.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_lowpass2.dylib
version/api/plugins/dsp_lowpass2.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_normalize.dylib
version/api/plugins/dsp_normalize.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_oscillator.dylib
version/api/plugins/dsp_oscillator.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_parameq.dylib
version/api/plugins/dsp_parameq.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_pitchshift.dylib
version/api/plugins/dsp_pitchshift.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_reverb.dylib
version/api/plugins/dsp_reverb.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_sfxreverb.dylib
version/api/plugins/dsp_sfxreverb.dylib (compatibility version 0.0.0, current version 0.0.0)
output_coreaudio.dylib
version/api/plugins/output_coreaudio.dylib (compatibility version 0.0.0, current version 0.0.0)
output_nosound_nrt.dylib
version/api/plugins/output_nosound_nrt.dylib (compatibility version 0.0.0, current version 0.0.0)
output_nosound.dylib
version/api/plugins/output_nosound.dylib (compatibility version 0.0.0, current version 0.0.0)
output_soundmanager.dylib
version/api/plugins/output_soundmanager.dylib (compatibility version 0.0.0, current version 0.0.0)
output_wavwriter_nrt.dylib
version/api/plugins/output_wavwriter_nrt.dylib (compatibility version 0.0.0, current version 0.0.0)
output_wavwriter.dylib
version/api/plugins/output_wavwriter.dylib (compatibility version 0.0.0, current version 0.0.0)[/code:3p97i3me]

  • You must to post comments
0
0

Hmmm some very good ideas there. I will have to explore your comments more. I do agree with you about maybe not putting them in /Frameworks.
I might do what you said and put them next to the executable inside the bundle.

It’s been quite difficult finding sample code or even how to do this since Apple’s developer documentation is fairly skint and they don’t have a knowledge base like Microsoft do (and they need it!) but it would be nice if Apple actually updated their dev docs once in a while.

But anyway it is a unix based system and any Linux coder would have to put up with worse than this so I should be happy :)

Thanks fpr your help ssexton!

  • You must to post comments
0
0

[code:1nx1dksq]libfmodex.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release/libfmodex.dylib (compatibility version 1.0.0, current version 1.0.0)
libfmodexp.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/libfmodexp.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_aiff.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/codec_aiff.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_cdda.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/codec_cdda.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_dls.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/codec_dls.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_flac.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/codec_flac.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_fsb.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/codec_fsb.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_it.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/codec_it.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_midi.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/codec_midi.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_mod.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/codec_mod.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_mpeg.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/codec_mpeg.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_oggvorbis.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/codec_oggvorbis.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_playlist.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/codec_playlist.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_raw.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/codec_raw.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_s3m.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/codec_s3m.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_sf2.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/codec_sf2.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_tag.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/codec_tag.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_wav.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/codec_wav.dylib (compatibility version 1.0.0, current version 1.0.0)
codec_xm.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/codec_xm.dylib (compatibility version 1.0.0, current version 1.0.0)
dsp_chorus.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/dsp_chorus.dylib (compatibility version 1.0.0, current version 1.0.0)
dsp_distortion.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/dsp_distortion.dylib (compatibility version 1.0.0, current version 1.0.0)
dsp_echo.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/dsp_echo.dylib (compatibility version 1.0.0, current version 1.0.0)
dsp_flange.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/dsp_flange.dylib (compatibility version 1.0.0, current version 1.0.0)
dsp_highpass.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/dsp_highpass.dylib (compatibility version 1.0.0, current version 1.0.0)
dsp_itecho.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/dsp_itecho.dylib (compatibility version 1.0.0, current version 1.0.0)
dsp_lowpass.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/dsp_lowpass.dylib (compatibility version 1.0.0, current version 1.0.0)
dsp_lowpass2.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/dsp_lowpass2.dylib (compatibility version 1.0.0, current version 1.0.0)
dsp_normalize.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/dsp_normalize.dylib (compatibility version 1.0.0, current version 1.0.0)
dsp_oscillator.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/dsp_oscillator.dylib (compatibility version 1.0.0, current version 1.0.0)
dsp_parameq.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/dsp_parameq.dylib (compatibility version 1.0.0, current version 1.0.0)
dsp_pitchshift.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/dsp_pitchshift.dylib (compatibility version 1.0.0, current version 1.0.0)
dsp_reverb.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/dsp_reverb.dylib (compatibility version 1.0.0, current version 1.0.0)
output_coreaudio.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/output_coreaudio.dylib (compatibility version 1.0.0, current version 1.0.0)
output_nosound_nrt.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/output_nosound_nrt.dylib (compatibility version 1.0.0, current version 1.0.0)
output_nosound.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/output_nosound.dylib (compatibility version 1.0.0, current version 1.0.0)
output_soundmanager.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/output_soundmanager.dylib (compatibility version 1.0.0, current version 1.0.0)
output_wavwriter_nrt.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/output_wavwriter_nrt.dylib (compatibility version 1.0.0, current version 1.0.0)
output_wavwriter.dylib
/Users/Mathew/Desktop/sound/fmod4/mac/build/Release_Plugins/output_wavwriter.dylib (compatibility version 1.0.0, current version 1.0.0)[/code:1nx1dksq]

  • You must to post comments
0
0

hello guys!
I’ve got some trouble with this dylib thing. My code worked great with XCode+Qt+FmodEx within Xcode but crash when .app was launched.

So I tried the brockwoolf method, but it doesn’t work in xCode or with .app anymore…

Can you help me? Thanks!

  • You must to post comments
0
0

[code:1vla920d]
libfmodex.dylib
libfmodex.dylib (compatibility version 0.0.0, current version 0.0.0)
libfmodexp.dylib
libfmodexp.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_aiff.dylib
version/api/plugins/codec_aiff.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_cdda.dylib
version/api/plugins/codec_cdda.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_dls.dylib
version/api/plugins/codec_dls.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_flac.dylib
version/api/plugins/codec_flac.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_fsb.dylib
version/api/plugins/codec_fsb.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_it.dylib
version/api/plugins/codec_it.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_midi.dylib
version/api/plugins/codec_midi.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_mod.dylib
version/api/plugins/codec_mod.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_mpeg.dylib
version/api/plugins/codec_mpeg.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_oggvorbis.dylib
version/api/plugins/codec_oggvorbis.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_playlist.dylib
version/api/plugins/codec_playlist.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_raw.dylib
version/api/plugins/codec_raw.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_s3m.dylib
version/api/plugins/codec_s3m.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_sf2.dylib
version/api/plugins/codec_sf2.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_tag.dylib
version/api/plugins/codec_tag.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_wav.dylib
version/api/plugins/codec_wav.dylib (compatibility version 0.0.0, current version 0.0.0)
codec_xm.dylib
version/api/plugins/codec_xm.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_chorus.dylib
version/api/plugins/dsp_chorus.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_distortion.dylib
version/api/plugins/dsp_distortion.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_echo.dylib
version/api/plugins/dsp_echo.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_flange.dylib
version/api/plugins/dsp_flange.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_highpass.dylib
version/api/plugins/dsp_highpass.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_itecho.dylib
version/api/plugins/dsp_itecho.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_lowpass_simple.dylib
version/api/plugins/dsp_lowpass_simple.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_lowpass.dylib
version/api/plugins/dsp_lowpass.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_lowpass2.dylib
version/api/plugins/dsp_lowpass2.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_normalize.dylib
version/api/plugins/dsp_normalize.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_oscillator.dylib
version/api/plugins/dsp_oscillator.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_parameq.dylib
version/api/plugins/dsp_parameq.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_pitchshift.dylib
version/api/plugins/dsp_pitchshift.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_reverb.dylib
version/api/plugins/dsp_reverb.dylib (compatibility version 0.0.0, current version 0.0.0)
dsp_sfxreverb.dylib
version/api/plugins/dsp_sfxreverb.dylib (compatibility version 0.0.0, current version 0.0.0)
output_coreaudio.dylib
version/api/plugins/output_coreaudio.dylib (compatibility version 0.0.0, current version 0.0.0)
output_nosound_nrt.dylib
version/api/plugins/output_nosound_nrt.dylib (compatibility version 0.0.0, current version 0.0.0)
output_nosound.dylib
version/api/plugins/output_nosound.dylib (compatibility version 0.0.0, current version 0.0.0)
output_soundmanager.dylib
version/api/plugins/output_soundmanager.dylib (compatibility version 0.0.0, current version 0.0.0)
output_wavwriter_nrt.dylib
version/api/plugins/output_wavwriter_nrt.dylib (compatibility version 0.0.0, current version 0.0.0)
output_wavwriter.dylib
version/api/plugins/output_wavwriter.dylib (compatibility version 0.0.0, current version 0.0.0)[/code:1vla920d]

  • You must to post comments
Showing 1 - 20 of 26 results
Your Answer

Please first to submit.