| Of course, you can always build the dynamic lib(dynamicCsoundLibrary=1),
which will
work.
----- Original Message -----
From: "Hector Centeno"
To:
Sent: Wednesday, February 13, 2008 4:56 PM
Subject: [Csnd] Re: Re: Re: Re: Re: static build of Csound 5 OSX
> Yes I deleted the files. The syntax errors I was getting was related
> to the csd file having the txt extension attached even though I
> removed it using Finder (had to rename it with mv). So doubles is
> working but singles doesn't build.
>
> Thanks
>
> Hector
>
> On Feb 13, 2008 11:29 AM, victor wrote:
>> Did you delete the files before trying to build again?
>> ----- Original Message -----
>> From: "Hector Centeno"
>> To:
>> Sent: Wednesday, February 13, 2008 3:28 PM
>>
>> Subject: [Csnd] Re: Re: Re: static build of Csound 5 OSX
>>
>>
>> > Trying to run a simple csd (from the manual: oscili.csd) gives me a
>> > long list of errors like this:
>> >
>> > error: illegal character <, line 1:
>> >
>> > ^
>> >
>> > I did set OPCODEDIR64. Is it related to some extra configuring needed
>> > for building with doubles?
>> >
>> > I tried building with singles and again can't get beyond this 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.
>> >
>> >
>> > lib_csound.a is there inside the csound5 directory.
>> >
>> >
>> > Hector
>> >
>> >
>> >
>> >
>> > On Feb 13, 2008 9:43 AM, Hector Centeno wrote:
>> >> Thanks Victor,
>> >>
>> >> Done building! Thanks!
>> >>
>> >> Deleting those files made it continue but stopped later complaining
>> >> about not finding csound.h while going into frontends/OSX (building
>> >> with double-precision). I solved it by creating a symlink to
>> >> /Library/Frameworks/CsoundLib64.Framework named
>> >> /Library/Frameworks/CsoundLib.Framework (removing the "64") and inside
>> >> this one removed the "64" from the CsoundLib symlink. It seems that
>> >> something has to be changed either in SConstruct or
>> >> frontends/OSX/Csound_5.xcode in order to add the paths with the "64"
>> >> when building with double-precision, I tried to find were but my
>> >> knowledge of the Xcode environment and Scons didn't help so I fell
>> >> into the inelegant symlinking.
>> >>
>> >> Cheers!
>> >>
>> >> Hector
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> On Feb 12, 2008 4:25 PM, victor wrote:
>> >> > 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"
>> >> >
>> >> >
>> >> >
>> >> > 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"
>>
>>
>>
>> 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"
|