To Alessandro Cominu, Antonio Piraino and others concerned, Following my communication yesterday concerning compilation of hydrogen on OS X, I managed to produce the wasp plugin object files. Firstly, I began by setting a few essential environment variables. $ export MACOSX_DEPLOYMENT_TARGET='10.4' $ export CFLAGS="-I/sw/include" $ export LDFLAGS="-L/sw/lib" $ export PKG_CONFIG_PATH="/sw/lib/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:" Then, I replaced the "-shared" compiler option from the plugins/wasp/Makefile with the "-dynamic" option and attempted to link with the Jack and CoreAudio frameworks (among others): INCLUDES = -I/usr/local/include/ -Iinclude CC = gcc CFLAGS = $(INCLUDES) -fPIC -DPIC -Wall -O2 -g -c prefix = /usr/local all: wasp_booster.so wasp_noisifier.so wasp_xshaper.so wasp_booster.so: plugins/booster.c $(CC) $(CFLAGS) -I/sw/include -o plugins/booster.o plugins/booster.c ld -o wasp_booster.so -dynamic plugins/booster.o -undefined dynamic_lookup -lm -framework Jack -framework CoreAudio -framework CoreServices -framework AudioUnit wasp_noisifier.so: plugins/noisifier.c $(CC) $(CFLAGS) -o plugins/noisifier.o plugins/noisifier.c ld -o wasp_noisifier.so -dynamic plugins/noisifier.o -undefined dynamic_lookup -lm -framework Jack -framework CoreAudio -framework CoreServices -framework AudioUnit wasp_xshaper.so: plugins/x-shaper.c $(CC) $(CFLAGS) -o plugins/xshaper.o plugins/x-shaper.c ld -o wasp_xshaper.so -dynamic plugins/xshaper.o -undefined dynamic_lookup -lm -framework Jack -framework CoreAudio -framework CoreServices -framework AudioUnit I then modified the fixlibs.sh script to produce the 'hydrogen.app' application icon. |
fixlibs.sh
Description: Binary data
IIUC, looking at the list of shared libraries, the MIDI and audio drivers corresponding to CoreMidi, CoreAudio and Jack frameworks still need to be dynamically linked before hydrogen can work on OS X. 8-) $ otool -L ~/0.9.2/hydrogen ~/0.9.2/hydrogen: /sw/lib/libsndfile.1.dylib (compatibility version 2.0.0, current version 2.15.0) /sw/lib/libFLAC++.4.dylib (compatibility version 5.0.0, current version 5.1.0) /sw/lib/libFLAC.6.dylib (compatibility version 7.0.0, current version 7.1.0) /usr/local/lib/libjack.0.dylib (compatibility version 1.0.0, current version 1.23.0) /usr/local/lib/liblrdf.2.dylib (compatibility version 3.0.0, current version 3.0.0) /usr/local/lib/libraptor.1.dylib (compatibility version 3.0.0, current version 3.0.0) /sw/lib/libxml2.2.dylib (compatibility version 9.0.0, current version 9.26.0) /sw/lib/libqt-mt.3.dylib (compatibility version 3.3.0, current version 3.3.6) /usr/X11R6/lib/libXext.6.dylib (compatibility version 6.4.0, current version 6.4.0) /usr/X11R6/lib/libX11.6.dylib (compatibility version 6.2.0, current version 6.2.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.6) /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) Looking forward to further development and announcements. Regards, Ebrahim Mayat |
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Hydrogen-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
