fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] making a standalone fluidsynth plugin on Mac


From: Sven Meier
Subject: Re: [fluid-dev] making a standalone fluidsynth plugin on Mac
Date: Sun, 11 Mar 2012 12:02:53 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

Hi,

for jOrgan I use homebrew to build Fluidsynth on OS X:

http://sourceforge.net/apps/trac/fluidsynth/wiki/BuildingWithCMake#BuildingonOSX

I then use install_name_tool to tweak the loader_path of all dependencies. This allows me to bundle all required libraries into my application.

Hope this helps
Sven

On 03/10/2012 11:38 PM, Antoine Schmitt wrote:
Hi list,
I'm currently porting my fluidsynth Xtra (name for Adobe Director plugin, i.e. a shared library that is dynamically loaded into the final executable) to fluidsynth 1.1.5. Previously, it was on 1.0.7. (visible on www.schmittmachine.com/fluidXtra.html).

The big change is in the build method of fluidsynth. I used cmake, as indicated in the doc for MacOSX. I used fink to get all the needed packages. This is the first time i deal with fink and cmake. Interesting and sexy, but sometimes a bit obscure...

My problem is that I end up with an Xtra (DLL) that depends on many fink shared libraries, which are not available on the end-user system, contrary to the standard shared libraries (Apple frameworks). So the Xtra cannot load and run.

Here are all the dependencies (found with otool) :

/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio (compatibility version 1.0.0, current version 1.0.0) /usr/local/lib/libgthread-2.0.0.dylib (compatibility version 1501.0.0, current version 1501.0.0) /usr/local/lib/libglib-2.0.0.dylib (compatibility version 1501.0.0, current version 1501.0.0) /sw/lib/libreadline.5.dylib (compatibility version 5.0.0, current version 5.0.0) /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI (compatibility version 1.0.0, current version 49.0.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 32.0.0) /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit (compatibility version 1.0.0, current version 1.0.0) /sw/lib/libdbus-1.3.dylib (compatibility version 9.0.0, current version 9.8.0) /sw/lib/libsndfile.1.dylib (compatibility version 2.0.0, current version 2.15.0) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 136.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 111.0.0) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 476.0.0)

The /System/Library/Frameworks are not a problem. But the /usr/local/lib ones are. as well as the /sw/lib/libdbus (part of fink I think), and maybe /usr/lib/libstdc also ?

I tried looking for the static libraries for these fink packages but they do not seem to have been built by the get-apt system. I don't find them on my system. And I can't find how to build them.

Question : how do I build and use the static libraries of these fink packages ? Or how do I include the static version of these libraries in my shared library.

Thank you !

++ as :: Antoine Schmitt


_______________________________________________
fluid-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/fluid-dev




reply via email to

[Prev in Thread] Current Thread [Next in Thread]