On Jul 14, 2012, at 3:39 PM, Maurizio Berti wrote:

Hello,
I'm trying to compile linuxsampler on OS X 10.5.8, by command line
rather than Xcode (I'm not used to it). So far I was able to build and
install liblscp and libgig, but I had problems with linuxsampler.
After a couple of issues (the last one being adding
JACK_CFLAGS="-DHAVE_JACK_MIDI_GET_EVENT_COUNT" to get the compilation
process going on) I'm stuck with an LD problem. Here you can see the
latest output of make: http://pastebin.com/mxNs2gVR
I asked on the #linuxsampler channel on freenode and they told me that
maybe I'm missing the ldflags ("-framework Coreaudio" and so on) in
the makefile for liblinuxsampler. I'm not an expert, so I really don't
know how to fix this issue.
FYI I'm using revision 2356.
Can anybody help me with that?

On Jul 15, 2012, at 5:41 AM, Andreas Persson wrote:

I just tried to do a build on OS X, and it worked fine. This is how I
did it:

Environment: OS X 10.6.6, XCode 3.2.6, no extra open-source packages
like fink or MacPorts installed.
//

# linuxsampler
cd ..
svn co https://svn.linuxsampler.org/svn/linuxsampler/trunk linuxsampler
cd linuxsampler
make -f Makefile.cvs
CXXFLAGS="-O2 -march=x86-64" ./configure --prefix=/Users/andreas/build
--disable-static
make
make install


/Andreas


Bongiorno Maurizio, Tag Andreas!

Your build environment being different to that of Andreas' I would imagine that you would need some extra flags. IIRC, on 10.5.8 with Xcode-3.1.4 and looking at your compilation errors: in addition to "- framework CoreAudio" you also need "-framework CoreMIDI -framework CoreFoundation" .

Thanks in advance,
Maurizio

--
È difficile avere una convinzione precisa quando si parla delle
ragioni del cuore. - "Sostiene Pereira", Antonio Tabucchi

"It is difficult to (precisely) convince when one speaks with a raging heart" ?

Ciao,
E

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

Reply via email to