---------- Forwarded message ----------
From: Bryan Duggan <address@hidden>
Date: Thu, Oct 29, 2009 at 9:35 AM
Subject: Re: [fluid-dev] Trying to compile for iPhone
To: address@hidden
Thanks Josh!
I have indeed used the 1.0.9 sources
I ran ./autogen.sh and then got an error message pkg-config not found.
When I googled this, I found this article:
http://www.insanelymac.com/forum/index.php?showtopic=4360
So I Installed Darwinports and ran the script
sudo port -v install libidl
About half an hour later when this was finished, I ran /autogen.sh
again but this time got the error:
libtoolize: command not found
When I googled this I found this:
http://bugs.gentoo.org/56648
So I edited autogen.sh and changed libtoolize to glibtoolize. and
autogen.sh now works
I ran the
./build_for_iphoneos.sh simulator --disable-jack-support
--disable-coreaudio --disable-coremidi --without-readline
script again (had to run as sudo) and this time a load of output to
the console, a few permissions problems running scripts, which I fixed
using chmod u+x on the offending scripts and finally...
Success! (I think)
Build succeeded! Files were installed in
/Users/skooter500/Developer/Platforms/iPhoneSimulator.platform/
Developer/SDKs/iPhoneSimulator3.1.sdk
When I cd to that folder there is a new folder lib with the files
libfluidsynth.a l
ibfluidsynth.la
pkgconfig/fluidsynth.pc
Which I presume are what static libraries look like on a Mac/iPhone
I'll try and build something for the iPhone that uses it and see how
it goes.
Thanks
Bryan