| Make these tweaks in your local copy of custom.py which overrides some of
these settings.
----- Original Message -----
From: "kelly"
To:
Sent: Sunday, February 13, 2005 9:52 PM
Subject: Re: [Cs-dev] nub building csound5 fltk
> that did it. a fresh checkout and portaudio v19 and i have realtime.
>
> i noticed that portaudio defaults to look in /usr/local/lib first
> even while fltk looks in /usr/lib/ first. switching the search path in
> line 171 of SConstruct to read:
>
> commonEnvironment.Prepend(LIBPATH = ['.', '#.', '/usr/local/lib',
> '/usr/lib'])
>
> seems better since all the new stuff wants to be in /usr/local/lib and cs5
> depends on the freshest of the fresh.
>
> BTW the manual is still not building for me.
>
> thanks amundo! andres, michael, istvan, so helpful! k.
>
> Andres Cabrera wrote:
>> It looks like you have portaudio v18. You need v19.
>>
>> Andres
>>
>> kelly wrote:
>>
>>> allright! upping the scons version I'm getting an executable but still
>>> no sound with -o dac or -d devaudio, jack and alsa are compiled in, no
>>> port audio though.
>>>
>>> without port audio it stops here tryingto build the docs with pdflatex:
>>>
>>> pdflatex --include-directory=doc/latex --interaction=nonstopmode --job-name=CsoundAPI
>>> doc/latex/refman.tex
>>> pdflatex: unrecognized option `--include-directory=doc/latex'
>>> Try `pdflatex --help' for more information.
>>> scons: *** [refman.pdf] Error 1
>>> scons: building terminated because of errors.
>>>
>>> with portaudio it dies here like it missed a comma. do i need port audio
>>> for real time on linux or will it use alsa without it?
>>>
>>> i really apreciate the help / feedback. i am finishing a bachlors degree
>>> here at Florida State, and considering graduate thesis topics and
>>> internships. I aspire to do something to help the development of csound
>>> though, the entry point to understanding the project is hard to find.
>>> any tips?
>>>
>>> gcc -DCSOUND_WITH_API -g -gstabs -O2 -march=i686 -mcpu=pentium4 -fomit-frame-pointer
>>> -finline-functions -frename-registers -fweb -ffast-math -falign-functions=16
>>> -DLINUX -Wall -DPIPES -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_MALLOC_H
>>> -DHAVE_SGTTY_H -DHAVE_SYS_IOCTL_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H
>>> -DHAVE_CTYPE_H -DHAVE_TERMIOS_H -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_JNI_H
>>> -DWINDOWS -DUSE_FLTK -fPIC -DBETA -I. -IH -I/usr/local/include/python2.3
>>> -I/usr/include -I/usr/local/include -I/usr/include -I/usr/X11R6/include
>>> -c -o InOut/pa_blocking.os InOut/pa_blocking.c
>>> In file included from InOut/pa_blocking.c:1:
>>> H/pa_blocking.h:16: error: syntax error before "PaStreamParameters"
>>> H/pa_blocking.h:16: warning: no semicolon at end of struct or union
>>> H/pa_blocking.h:22: error: syntax error before '}' token
>>> H/pa_blocking.h:22: warning: type defaults to `int' in declaration of
>>> `PA_BLOCKING_STREAM'
>>> H/pa_blocking.h:22: warning: data definition has no type or storage
>>> class
>>> H/pa_blocking.h:25: error: syntax error before "PA_BLOCKING_STREAM"
>>> H/pa_blocking.h:29: error: syntax error before '*' token
>>> H/pa_blocking.h:33: warning: type defaults to `int' in declaration of
>>> `PaStreamCallbackTimeInfo'
>>> H/pa_blocking.h:33: error: syntax error before '*' token
>>> H/pa_blocking.h:38: error: syntax error before "PA_BLOCKING_STREAM"
>>> H/pa_blocking.h:42: error: syntax error before '*' token
>>> H/pa_blocking.h:46: warning: type defaults to `int' in declaration of
>>> `PaStreamCallbackTimeInfo'
>>> H/pa_blocking.h:46: error: syntax error before '*' token
>>> H/pa_blocking.h:50: error: syntax error before "PA_BLOCKING_STREAM"
>>> InOut/pa_blocking.c:4: error: syntax error before "PA_BLOCKING_STREAM"
>>> InOut/pa_blocking.c: In function `paBlockingReadOpen':
>>> InOut/pa_blocking.c:10: error: `pabs' undeclared (first use in this
>>> function)
>>> InOut/pa_blocking.c:10: error: (Each undeclared identifier is reported
>>> only once
>>> InOut/pa_blocking.c:10: error: for each function it appears in.)
>>> InOut/pa_blocking.c:10: error: syntax error before ')' token
>>> InOut/pa_blocking.c:11: error: `csound' undeclared (first use in this
>>> function)
>>> InOut/pa_blocking.c:20: error: `parm' undeclared (first use in this
>>> function)
>>> InOut/pa_blocking.c:22: error: `paParameters' undeclared (first use in
>>> this function)
>>> InOut/pa_blocking.c:22: error: `PaStreamParameters' undeclared (first
>>> use in this function)
>>> InOut/pa_blocking.c:34: warning: passing arg 5 of `Pa_OpenStream' makes
>>> pointer from integer without a cast
>>> InOut/pa_blocking.c:34: warning: passing arg 7 of `Pa_OpenStream' makes
>>> integer from pointer without a cast
>>> InOut/pa_blocking.c:34: error: too few arguments to function
>>> `Pa_OpenStream'
>>> InOut/pa_blocking.c:41: error: `pabs_' undeclared (first use in this
>>> function)
>>> InOut/pa_blocking.c: At top level:
>>> InOut/pa_blocking.c:51: warning: type defaults to `int' in declaration
>>> of `PaStreamCallbackTimeInfo'
>>> InOut/pa_blocking.c:51: error: syntax error before '*' token
>>> InOut/pa_blocking.c: In function `paBlockingReadStreamCallback':
>>> InOut/pa_blocking.c:55: error: `pabs' undeclared (first use in this
>>> function)
>>> InOut/pa_blocking.c:55: error: syntax error before ')' token
>>> InOut/pa_blocking.c:58: error: `input' undeclared (first use in this
>>> function)
>>> InOut/pa_blocking.c:60: error: `paContinue' undeclared (first use in
>>> this function)
>>> InOut/pa_blocking.c: At top level:
>>> InOut/pa_blocking.c:63: error: syntax error before '*' token
>>> InOut/pa_blocking.c: In function `paBlockingRead':
>>> InOut/pa_blocking.c:67: error: `pabs' undeclared (first use in this
>>> function)
>>> InOut/pa_blocking.c:70: error: `buffer' undeclared (first use in this
>>> function)
>>> InOut/pa_blocking.c: At top level:
>>> InOut/pa_blocking.c:76: error: syntax error before "PA_BLOCKING_STREAM"
>>> InOut/pa_blocking.c: In function `paBlockingWriteOpen':
>>> InOut/pa_blocking.c:82: error: `pabs' undeclared (first use in this
>>> function)
>>> InOut/pa_blocking.c:83: error: syntax error before ')' token
>>> InOut/pa_blocking.c:84: error: `csound' undeclared (first use in this
>>> function)
>>> InOut/pa_blocking.c:89: error: `parm' undeclared (first use in this
>>> function)
>>> InOut/pa_blocking.c:94: error: `paParameters' undeclared (first use in
>>> this function)
>>> InOut/pa_blocking.c:94: error: `PaStreamParameters' undeclared (first
>>> use in this function)
>>> InOut/pa_blocking.c:109: warning: passing arg 5 of `Pa_OpenStream' makes
>>> pointer from integer without a cast
>>> InOut/pa_blocking.c:109: warning: passing arg 7 of `Pa_OpenStream' makes
>>> integer from pointer without a cast
>>> InOut/pa_blocking.c:109: error: too few arguments to function
>>> `Pa_OpenStream'
>>> InOut/pa_blocking.c:117: error: `pabs_' undeclared (first use in this
>>> function)
>>> InOut/pa_blocking.c: At top level:
>>> InOut/pa_blocking.c:126: warning: type defaults to `int' in declaration
>>> of `PaStreamCallbackTimeInfo'
>>> InOut/pa_blocking.c:126: error: syntax error before '*' token
>>> InOut/pa_blocking.c: In function `paBlockingWriteStreamCallback':
>>> InOut/pa_blocking.c:130: error: `pabs' undeclared (first use in this
>>> function)
>>> InOut/pa_blocking.c:130: error: syntax error before ')' token
>>> InOut/pa_blocking.c:131: error: `paContinue' undeclared (first use in
>>> this function)
>>> InOut/pa_blocking.c:134: error: `output' undeclared (first use in this
>>> function)
>>> InOut/pa_blocking.c: At top level:
>>> InOut/pa_blocking.c:140: error: syntax error before '*' token
>>> InOut/pa_blocking.c: In function `paBlockingWrite':
>>> InOut/pa_blocking.c:143: error: `pabs' undeclared (first use in this
>>> function)
>>> InOut/pa_blocking.c:145: error: `samples' undeclared (first use in this
>>> function)
>>> InOut/pa_blocking.c:152: error: `buffer' undeclared (first use in this
>>> function)
>>> InOut/pa_blocking.c: At top level:
>>> InOut/pa_blocking.c:156: error: syntax error before "PA_BLOCKING_STREAM"
>>> InOut/pa_blocking.c: In function `paBlockingClose':
>>> InOut/pa_blocking.c:158: error: `pabs' undeclared (first use in this
>>> function)
>>> InOut/pa_blocking.c:162: error: `csound' undeclared (first use in this
>>> function)
>>> InOut/pa_blocking.c: In function `paBlockingRead':
>>> InOut/pa_blocking.c:69: warning: value computed is not used
>>> InOut/pa_blocking.c: In function `paBlockingWrite':
>>> InOut/pa_blocking.c:145: warning: value computed is not used
>>> scons: *** [InOut/pa_blocking.os] Error 1
>>>
>>>
>>>
>>>
>>> Michael Gogins wrote:
>>>
>>>> I use scons 0.96.1, you might want to check your scons version.
>>>>
>>>> ----- Original Message ----- From: "kelly"
>>>> To:
>>>> Sent: Sunday, February 13, 2005 12:39 AM
>>>> Subject: Re: [Cs-dev] nub building csound5 fltk
>>>>
>>>>
>>>>> it seems to have found /usr/lib/libfltk.a all right, the default
>>>>> distro that you apt-get from ccrma wasn't working. having built fltk
>>>>> in /usr/local/lib with the options --enable-threads and hiding the
>>>>> apt-getted ccrma versions of fltk stuff got me to here:
>>>>>
>>>>> gcc "-Wl,-Bdynamic -shared" -o libbabo.so
>>>>> Opcodes/babo.os -L. -L. -L/usr/lib -L/
>>>>> usr/local/lib -L. -L. -L/usr/local/lib/python2.3/config
>>>>>
>>>>> the quotes are messing up this line and so is the space
>>>>> inside -L/usr/local/lib i don't know scons well enough to figure where
>>>>> these artifacts come from....
>>>>>
>>>>> k.
>>>>>
>>>>> Andres Cabrera wrote:
>>>>>
>>>>>> Now I remember.... you have to build fltk with --enable-threads
>>>>>>
>>>>>> Andres
>>>>>>
>>>>>> kelly wrote:
>>>>>>
>>>>>>> i'm trying to compile csound5,
>>>>>>> i got this far and its doesn't seem to be seeing
>>>>>>> the Fl/Fl.H though greping the dir i get:
>>>>>>>
>>>>>>> >grep "lock()" /usr/include/Fl/*
>>>>>>>
>>>>>>> /usr/include/Fl/Fl.H: static void lock();
>>>>>>>
>>>>>>> i'm missing something silly.
>>>>>>> kelly
>>>>>>>
>>>>>>>
>>>>>>> gcc -Wl,-Bdynamic -o cscore
>>>>>>> util1/cscore/cscore_main.o -L. -L. -L/usr/lib -L/usr/local/lib -L. -L.
>>>>>>> -L/usr/local/lib/python2.3/config -L/usr/X11R6/lib -lcsound -lsndfile
>>>>>>> -lfltk -lm -lXext -lX11 -lsupc++ -lfltk -ldl -lstdc++ -lpthread -lm
>>>>>>> ./libcsound.a(main.o)(.text+0x4e6): In function `csoundCompile':
>>>>>>> Top/main.c:417: warning: the use of `tmpnam' is dangerous, better
>>>>>>> use `mkstemp'
>>>>>>> ./libcsound.a(FL_graph.o)(.text+0x7a4): In function `POLL_EVENTS':
>>>>>>> InOut/FL_graph.cpp:284: undefined reference to `Fl::lock()'
>>>>>>> ./libcsound.a(FL_graph.o)(.text+0x7b5):InOut/FL_graph.cpp:286:
>>>>>>> undefined reference to `Fl::unlock()'
>>>>>>> ./libcsound.a(FL_graph.o)(.text+0x851): In function `myFLwait':
>>>>>>> InOut/FL_graph.cpp:309: undefined reference to `Fl::lock()'
>>>>>>> ./libcsound.a(FL_graph.o)(.text+0x86c):InOut/FL_graph.cpp:311:
>>>>>>> undefined reference to `Fl::unlock()'
>>>>>>> ./libcsound.a(FL_graph.o)(.text+0x9fe): In function `ReadXYin_':
>>>>>>> InOut/FL_graph.cpp:349: undefined reference to `Fl::lock()'
>>>>>>> ./libcsound.a(FL_graph.o)(.text+0xa13):InOut/FL_graph.cpp:351:
>>>>>>> undefined reference to `Fl::unlock()'
>>>>>>> ./libcsound.a(widgets.o)(.text+0x4019): In function
>>>>>>> `fl_setWidgetValue':
>>>>>>> InOut/widgets.cpp:2451: undefined reference to `Fl::unlock()'
>>>>>>> ./libcsound.a(widgets.o)(.text+0x4062):InOut/widgets.cpp:2446:
>>>>>>> undefined reference to `Fl::lock()'
>>>>>>> ./libcsound.a(widgets.o)(.text+0x6cbc): In function
>>>>>>> `fltkRun(void*)':
>>>>>>> InOut/widgets.cpp:1710: undefined reference to `Fl::unlock()'
>>>>>>> ./libcsound.a(widgets.o)(.text+0x6cce):InOut/widgets.cpp:1706:
>>>>>>> undefined reference to `Fl::lock()'
>>>>>>> collect2: ld returned 1 exit status
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -------------------------------------------------------
>>>>>>> SF email is sponsored by - The IT Product Guide
>>>>>>> Read honest & candid reviews on hundreds of IT Products from real
>>>>>>> users.
>>>>>>> Discover which products truly live up to the hype. Start reading
>>>>>>> now.
>>>>>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> -------------------------------------------------------
>>>>>> SF email is sponsored by - The IT Product Guide
>>>>>> Read honest & candid reviews on hundreds of IT Products from real
>>>>>> users.
>>>>>> Discover which products truly live up to the hype. Start reading now.
>>>>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -------------------------------------------------------
>>>>> SF email is sponsored by - The IT Product Guide
>>>>> Read honest & candid reviews on hundreds of IT Products from real
>>>>> users.
>>>>> Discover which products truly live up to the hype. Start reading now.
>>>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>> -------------------------------------------------------
>>>> SF email is sponsored by - The IT Product Guide
>>>> Read honest & candid reviews on hundreds of IT Products from real
>>>> users.
>>>> Discover which products truly live up to the hype. Start reading now.
>>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>>
>>>
>>>
>>> -------------------------------------------------------
>>> SF email is sponsored by - The IT Product Guide
>>> Read honest & candid reviews on hundreds of IT Products from real users.
>>> Discover which products truly live up to the hype. Start reading now.
>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>>
>>
>>
>> -------------------------------------------------------
>> SF email is sponsored by - The IT Product Guide
>> Read honest & candid reviews on hundreds of IT Products from real users.
>> Discover which products truly live up to the hype. Start reading now.
>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |