| I think you can fix this by deleting interfaces/python_interface_wrap.os and
interfaces/python_interface_wrap.cc.
CsoundPerformanceThread should be in lib_csnd.a, make sure it was built
before _csnd.so.
This part of the build I checked and it does build, so I guess it is just
some
detail or other.
I never built Loris on OSX, so I can't help you there. But I guess your
fix was correct. I've never built double precision on the Mac as well, there
could be all sorts of things to fix.
Victor
----- Original Message -----
From: "Hector Centeno"
To:
Sent: Tuesday, February 12, 2008 9:17 PM
Subject: [Csnd] Re: static build of Csound 5 OSX
> ... the previous email was the result of building using
> double-precision. Building with single-precision it stops with a
> different error:
>
> g++ -o _csnd.so -bundle -F/Library/Frameworks/Python.Framework
> -framework python interfaces/python_interface_wrap.os -L. -L.
> -L/usr/local/lib -L. -L. -L/opt/local/lib -L. -lstdc++ -lsndfile
> -lfltk -ljack -llo -lsndfile -lcsound -l_csnd
> Undefined symbols:
> "CsoundPerformanceThread::ScoreEvent(int, char, int, float const*)",
> referenced from:
> __wrap_CsoundPerformanceThread_ScoreEvent in python_interface_wrap.os
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> scons: *** [_csnd.so] Error 1
> scons: building terminated because of errors.
>
>
>
> Hector
>
>
>
> On Feb 12, 2008 3:41 PM, Hector Centeno wrote:
>> Thanks Victor,
>>
>> I just tried again stopped at:
>>
>> g++ -o _csnd.so -bundle -F/Library/Frameworks/Python.Framework
>> -framework python interfaces/python_interface_wrap.os -L. -L.
>> -L/usr/local/lib -L. -L. -L/opt/local/lib -L. -lstdc++ -lsndfile
>> -lfltk -ljack -llo -lsndfile -lcsound -l_csnd
>> ld: library not found for -lcsound
>> collect2: ld returned 1 exit status
>> scons: *** [_csnd.so] Error 1
>> scons: building terminated because of errors.
>>
>> Before that I had a syntax error building Loris product of what seems
>> an error in SConstruct:
>>
>> if not withMSVC():
>> lorisEnvironment.Append(CCFLAGS = Split('''
>> -Wno-comment -Wno-unknown-pragmas -Wno-sign-compare
>> lorisEnvironment.Prepend(LIBS = ['stdc++'])
>> '''))
>>
>> I just moved the lorisEnvironment.Prepend after the '')) and that made
>> it work (was that right?).
>>
>> Cheers,
>>
>> Hector
>>
>>
>>
>>
>> On Feb 12, 2008 7:06 AM, Victor Lazzarini
>> wrote:
>> > Julian and Hector,
>> >
>> > I think I have now fixed the static (default) build of OSX in Csound5.
>> > Could you
>> > test it? It's in CVS.
>> >
>> > Victor
>> >
>> >
>> >
>> > Victor Lazzarini
>> > Music Technology Laboratory
>> > Music Department
>> > National University of Ireland, Maynooth
>> >
>> >
>> >
>> > Send bugs reports to this list.
>> > To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> > "unsubscribe csound"
>> >
>>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
|