|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
trying to compile sc stuff via faust ... and don't get it ... :-)
by dreamer@sonance.net
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message hi list !
i'm new to this list and want to say hello in the first place ... hello !! ;-) well ... has someone of you experience compiling sc plugins and stuff via faust ? (... that's funny stuff ... programs writing programs ... i love it ;- D ) nevertheless ... i get an error and don't know how to fix it . the compiler always stops building because of an error ... first it complained about not finding "libscsynth" ... ok ... then i fiddled around with the paths of libscsynth.a (in the build folder) but i think all i got was a big botch :-| -> because the list of errors more ore less stays the same ... (only the complaint about not finding libscsynth package diappeared some time ... ) i couldn't find any valid information on the web so i decided to write to this list ... below i put the compiler output ... i guess it's no big deal, but i can't figure it out ... sorry to border you which such noob-stuff .... ... perhaps there is a simple little solution out there :-) best wishes ! oliver ------------------------------------------------------------------------ ------------------------------------------------------------------------ $/Applications/faust-0.9.9.4/examples olivermaklott$ make supercollider install -d supercolliderdir make DEST='supercolliderdir/' ARCH='../architecture/ supercollider.cpp' CXXFLAGS='`pkg-config --cflags libscsynth`' LIB='- fPIC -shared' EXT='.so' -f Makefile.sccompile faust -a ../architecture/supercollider.cpp bandfilter.dsp -o supercolliderdir/bandfilter.cpp g++ `pkg-config --cflags libscsynth` -fPIC -shared supercolliderdir/ bandfilter.cpp -o supercolliderdir/bandfilter.so Package libscsynth was not found in the pkg-config search path. Perhaps you should add the directory containing `libscsynth.pc' to the PKG_CONFIG_PATH environment variable No package 'libscsynth' found powerpc-apple-darwin8-g++-4.0.1: unrecognized option '-shared' supercolliderdir/bandfilter.cpp:40:23: error: SC_PlugIn.h: No such file or directory supercolliderdir/bandfilter.cpp: In function 'void* aligned_calloc (size_t, size_t)': supercolliderdir/bandfilter.cpp:101: error: 'calloc' was not declared in this scope supercolliderdir/bandfilter.cpp: In static member function 'static void Control::boundedUpdate(Control*, float)': supercolliderdir/bandfilter.cpp:214: error: 'sc_clip' was not declared in this scope supercolliderdir/bandfilter.cpp:214: error: 'sc_round' was not declared in this scope supercolliderdir/bandfilter.cpp: At global scope: supercolliderdir/bandfilter.cpp:380: error: expected class-name before '{' token supercolliderdir/bandfilter.cpp:389: error: expected initializer before '*' token supercolliderdir/bandfilter.cpp:393: error: variable or field 'load' declared void supercolliderdir/bandfilter.cpp:393: error: 'InterfaceTable' was not declared in this scope supercolliderdir/bandfilter.cpp:393: error: expected primary- expression before ')' token supercolliderdir/bandfilter.cpp: In function 'void Faust_next(Faust*, int)': supercolliderdir/bandfilter.cpp:406: error: 'IN0' was not declared in this scope supercolliderdir/bandfilter.cpp:409: error: 'struct Faust' has no member named 'mInBuf' supercolliderdir/bandfilter.cpp:409: error: 'struct Faust' has no member named 'mOutBuf' supercolliderdir/bandfilter.cpp: In function 'void Faust_next_clear (Faust*, int)': supercolliderdir/bandfilter.cpp:414: error: 'ClearUnitOutputs' was not declared in this scope supercolliderdir/bandfilter.cpp: In function 'void Faust_Ctor(Faust*)': supercolliderdir/bandfilter.cpp:420: error: 'SAMPLERATE' was not declared in this scope supercolliderdir/bandfilter.cpp:429: error: 'struct Faust' has no member named 'mNumInputs' supercolliderdir/bandfilter.cpp:430: error: 'struct Faust' has no member named 'mNumOutputs' supercolliderdir/bandfilter.cpp:434: error: 'INRATE' was not declared in this scope supercolliderdir/bandfilter.cpp:434: error: 'calc_FullRate' was not declared in this scope supercolliderdir/bandfilter.cpp:442: error: 'SETCALC' was not declared in this scope supercolliderdir/bandfilter.cpp:447: error: 'Print' was not declared in this scope supercolliderdir/bandfilter.cpp:448: error: 'SETCALC' was not declared in this scope supercolliderdir/bandfilter.cpp: At global scope: supercolliderdir/bandfilter.cpp:452: error: variable or field 'load' declared void supercolliderdir/bandfilter.cpp:452: error: redefinition of 'int load' supercolliderdir/bandfilter.cpp:393: error: 'int load' previously defined here supercolliderdir/bandfilter.cpp:452: error: 'InterfaceTable' was not declared in this scope supercolliderdir/bandfilter.cpp:452: error: 'inTable' was not declared in this scope make[1]: *** [supercolliderdir/bandfilter.so] Error 1 rm supercolliderdir/bandfilter.cpp make: *** [supercollider] Error 2 ------------------------------------------------------------------------ ------------------------------------------------------------------------ _______________________________________________ sc-dev mailing list sc-dev@... http://lists.create.ucsb.edu/mailman/listinfo/sc-dev |
|
|
Re: trying to compile sc stuff via faust ... and don't get it ... :-)
by nescivi
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message Hiho,
It seems you are on OSX? On Friday 09 May 2008 05:55:29 dreamer@... wrote: > $/Applications/faust-0.9.9.4/examples olivermaklott$ make supercollider > install -d supercolliderdir > make DEST='supercolliderdir/' ARCH='../architecture/ > supercollider.cpp' CXXFLAGS='`pkg-config --cflags libscsynth`' LIB='- > fPIC -shared' EXT='.so' -f Makefile.sccompile > faust -a ../architecture/supercollider.cpp bandfilter.dsp -o > supercolliderdir/bandfilter.cpp > g++ `pkg-config --cflags libscsynth` -fPIC -shared supercolliderdir/ > bandfilter.cpp -o supercolliderdir/bandfilter.so > Package libscsynth was not found in the pkg-config search path. > Perhaps you should add the directory containing `libscsynth.pc' > to the PKG_CONFIG_PATH environment variable This seems to be the key. Faust wants to dynamically link to libscsynth and needs to find the header SC_PlugIn.h I'm not sure what is the correct OSX way to set the right paths really... maybe also ask on the Faust email list. If it were on Linux, it would be easier for me to help ;) sincerely, Marije > No package 'libscsynth' found > powerpc-apple-darwin8-g++-4.0.1: unrecognized option '-shared' > supercolliderdir/bandfilter.cpp:40:23: error: SC_PlugIn.h: No such > file or directory > supercolliderdir/bandfilter.cpp: In function 'void* aligned_calloc > (size_t, size_t)': > supercolliderdir/bandfilter.cpp:101: error: 'calloc' was not declared > in this scope > supercolliderdir/bandfilter.cpp: In static member function 'static > void Control::boundedUpdate(Control*, float)': > supercolliderdir/bandfilter.cpp:214: error: 'sc_clip' was not > declared in this scope > supercolliderdir/bandfilter.cpp:214: error: 'sc_round' was not > declared in this scope > supercolliderdir/bandfilter.cpp: At global scope: > supercolliderdir/bandfilter.cpp:380: error: expected class-name > before '{' token > supercolliderdir/bandfilter.cpp:389: error: expected initializer > before '*' token > supercolliderdir/bandfilter.cpp:393: error: variable or field 'load' > declared void > supercolliderdir/bandfilter.cpp:393: error: 'InterfaceTable' was not > declared in this scope > supercolliderdir/bandfilter.cpp:393: error: expected primary- > expression before ')' token > supercolliderdir/bandfilter.cpp: In function 'void Faust_next(Faust*, > int)': > supercolliderdir/bandfilter.cpp:406: error: 'IN0' was not declared in > this scope > supercolliderdir/bandfilter.cpp:409: error: 'struct Faust' has no > member named 'mInBuf' > supercolliderdir/bandfilter.cpp:409: error: 'struct Faust' has no > member named 'mOutBuf' > supercolliderdir/bandfilter.cpp: In function 'void Faust_next_clear > (Faust*, int)': > supercolliderdir/bandfilter.cpp:414: error: 'ClearUnitOutputs' was > not declared in this scope > supercolliderdir/bandfilter.cpp: In function 'void Faust_Ctor(Faust*)': > supercolliderdir/bandfilter.cpp:420: error: 'SAMPLERATE' was not > declared in this scope > supercolliderdir/bandfilter.cpp:429: error: 'struct Faust' has no > member named 'mNumInputs' > supercolliderdir/bandfilter.cpp:430: error: 'struct Faust' has no > member named 'mNumOutputs' > supercolliderdir/bandfilter.cpp:434: error: 'INRATE' was not declared > in this scope > supercolliderdir/bandfilter.cpp:434: error: 'calc_FullRate' was not > declared in this scope > supercolliderdir/bandfilter.cpp:442: error: 'SETCALC' was not > declared in this scope > supercolliderdir/bandfilter.cpp:447: error: 'Print' was not declared > in this scope > supercolliderdir/bandfilter.cpp:448: error: 'SETCALC' was not > declared in this scope > supercolliderdir/bandfilter.cpp: At global scope: > supercolliderdir/bandfilter.cpp:452: error: variable or field 'load' > declared void > supercolliderdir/bandfilter.cpp:452: error: redefinition of 'int load' > supercolliderdir/bandfilter.cpp:393: error: 'int load' previously > defined here > supercolliderdir/bandfilter.cpp:452: error: 'InterfaceTable' was not > declared in this scope > supercolliderdir/bandfilter.cpp:452: error: 'inTable' was not > declared in this scope > make[1]: *** [supercolliderdir/bandfilter.so] Error 1 > rm supercolliderdir/bandfilter.cpp > make: *** [supercollider] Error 2 > ------------------------------------------------------------------------ > ------------------------------------------------------------------------ > _______________________________________________ > sc-dev mailing list > sc-dev@... > http://lists.create.ucsb.edu/mailman/listinfo/sc-dev _______________________________________________ sc-dev mailing list sc-dev@... http://lists.create.ucsb.edu/mailman/listinfo/sc-dev |
|
|
Re: trying to compile sc stuff via faust ... and don't get it ... :-)
by dreamer@sonance.net
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message thanks a lot marije for your quick answer ! ( ... and sorry for my
lazy one ...) yes, i am working an os x (... and linux ... but i didn't try it there, because my main-development machine is the os x one ...) the compiler complaint about not finding libscsynth.pc (in some pkgconfig dir) ... so i generated one ... but ... as you can guess ... it didn't work out ... ... and here's my super-plus stupid question : where do i find the faust mailing-list ??? (at their website i found nothing .. :( ...) perhaps you can give me the instructions for linux, so i can setup my the other machine, or adapt it perhaps to os x ... if possible and not too much work for you, please (!!) in a step by step version ... (i'm at least a half-noob ! ;-) ) e.g. i see there is a library file (../build/libscsynth.a) and, as you told me, there's a header file (../Headers/plugin_interface/ SC_PlugIn.h) ... ... well ... but how and where the heck do i have to add them ?!? ... gosh ... beginning is ... well ... i hate it to feel helpless ... :-) any help and suggestions welcome ! thanks a lot (in advance ;-) ) best regards, oliver Am 09.05.2008 um 20:26 schrieb nescivi: > Hiho, > > It seems you are on OSX? > > On Friday 09 May 2008 05:55:29 dreamer@... wrote: >> $/Applications/faust-0.9.9.4/examples olivermaklott$ make >> supercollider >> install -d supercolliderdir >> make DEST='supercolliderdir/' ARCH='../architecture/ >> supercollider.cpp' CXXFLAGS='`pkg-config --cflags libscsynth`' LIB='- >> fPIC -shared' EXT='.so' -f Makefile.sccompile >> faust -a ../architecture/supercollider.cpp bandfilter.dsp -o >> supercolliderdir/bandfilter.cpp >> g++ `pkg-config --cflags libscsynth` -fPIC -shared supercolliderdir/ >> bandfilter.cpp -o supercolliderdir/bandfilter.so > >> Package libscsynth was not found in the pkg-config search path. >> Perhaps you should add the directory containing `libscsynth.pc' >> to the PKG_CONFIG_PATH environment variable > > This seems to be the key. > > Faust wants to dynamically link to > libscsynth > and needs to find the header > SC_PlugIn.h > > I'm not sure what is the correct OSX way to set the right paths > really... > maybe also ask on the Faust email list. > > If it were on Linux, it would be easier for me to help ;) > > sincerely, > Marije > >> No package 'libscsynth' found >> powerpc-apple-darwin8-g++-4.0.1: unrecognized option '-shared' >> supercolliderdir/bandfilter.cpp:40:23: error: SC_PlugIn.h: No such >> file or directory >> supercolliderdir/bandfilter.cpp: In function 'void* aligned_calloc >> (size_t, size_t)': >> supercolliderdir/bandfilter.cpp:101: error: 'calloc' was not declared >> in this scope >> supercolliderdir/bandfilter.cpp: In static member function 'static >> void Control::boundedUpdate(Control*, float)': >> supercolliderdir/bandfilter.cpp:214: error: 'sc_clip' was not >> declared in this scope >> supercolliderdir/bandfilter.cpp:214: error: 'sc_round' was not >> declared in this scope >> supercolliderdir/bandfilter.cpp: At global scope: >> supercolliderdir/bandfilter.cpp:380: error: expected class-name >> before '{' token >> supercolliderdir/bandfilter.cpp:389: error: expected initializer >> before '*' token >> supercolliderdir/bandfilter.cpp:393: error: variable or field 'load' >> declared void >> supercolliderdir/bandfilter.cpp:393: error: 'InterfaceTable' was not >> declared in this scope >> supercolliderdir/bandfilter.cpp:393: error: expected primary- >> expression before ')' token >> supercolliderdir/bandfilter.cpp: In function 'void Faust_next(Faust*, >> int)': >> supercolliderdir/bandfilter.cpp:406: error: 'IN0' was not declared in >> this scope >> supercolliderdir/bandfilter.cpp:409: error: 'struct Faust' has no >> member named 'mInBuf' >> supercolliderdir/bandfilter.cpp:409: error: 'struct Faust' has no >> member named 'mOutBuf' >> supercolliderdir/bandfilter.cpp: In function 'void Faust_next_clear >> (Faust*, int)': >> supercolliderdir/bandfilter.cpp:414: error: 'ClearUnitOutputs' was >> not declared in this scope >> supercolliderdir/bandfilter.cpp: In function 'void Faust_Ctor >> (Faust*)': >> supercolliderdir/bandfilter.cpp:420: error: 'SAMPLERATE' was not >> declared in this scope >> supercolliderdir/bandfilter.cpp:429: error: 'struct Faust' has no >> member named 'mNumInputs' >> supercolliderdir/bandfilter.cpp:430: error: 'struct Faust' has no >> member named 'mNumOutputs' >> supercolliderdir/bandfilter.cpp:434: error: 'INRATE' was not declared >> in this scope >> supercolliderdir/bandfilter.cpp:434: error: 'calc_FullRate' was not >> declared in this scope >> supercolliderdir/bandfilter.cpp:442: error: 'SETCALC' was not >> declared in this scope >> supercolliderdir/bandfilter.cpp:447: error: 'Print' was not declared >> in this scope >> supercolliderdir/bandfilter.cpp:448: error: 'SETCALC' was not >> declared in this scope >> supercolliderdir/bandfilter.cpp: At global scope: >> supercolliderdir/bandfilter.cpp:452: error: variable or field 'load' >> declared void >> supercolliderdir/bandfilter.cpp:452: error: redefinition of 'int >> load' >> supercolliderdir/bandfilter.cpp:393: error: 'int load' previously >> defined here >> supercolliderdir/bandfilter.cpp:452: error: 'InterfaceTable' was not >> declared in this scope >> supercolliderdir/bandfilter.cpp:452: error: 'inTable' was not >> declared in this scope >> make[1]: *** [supercolliderdir/bandfilter.so] Error 1 >> rm supercolliderdir/bandfilter.cpp >> make: *** [supercollider] Error 2 >> --------------------------------------------------------------------- >> --- >> --------------------------------------------------------------------- >> --- >> _______________________________________________ >> sc-dev mailing list >> sc-dev@... >> http://lists.create.ucsb.edu/mailman/listinfo/sc-dev > > > _______________________________________________ > sc-dev mailing list > sc-dev@... > http://lists.create.ucsb.edu/mailman/listinfo/sc-dev _______________________________________________ sc-dev mailing list sc-dev@... http://lists.create.ucsb.edu/mailman/listinfo/sc-dev |
|
|
Re: trying to compile sc stuff via faust ... and don't get it ... :-)
by nescivi
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message Hiho,
On Sun, May 11, 2008 at 3:50 PM, dreamer@... <dreamer@...> wrote: > yes, i am working an os x (... and linux ... but i didn't try it > there, because my main-development machine is the os x one ...) > > the compiler complaint about not finding libscsynth.pc (in some > pkgconfig dir) ... so i generated one ... but ... as you can > guess ... it didn't work out ... I don't think it is a good idea to manual make such a file. Normally it is made in the build process of SuperCollider (at least on Linux). You also need pkgconfig installed for this to work. > ... and here's my super-plus stupid question : where do i find the > faust mailing-list ??? (at their website i found nothing .. :( ...) hmm... write the author maybe? > perhaps you can give me the instructions for linux, so i can setup my > the other machine, or adapt it perhaps to os x ... > if possible and not too much work for you, please (!!) in a step by > step version ... (i'm at least a half-noob ! ;-) ) > e.g. i see there is a library file (../build/libscsynth.a) and, as > you told me, there's a header file (../Headers/plugin_interface/ > SC_PlugIn.h) ... > ... well ... but how and where the heck do i have to add them ?!? ... > gosh ... beginning is ... well ... i hate it to feel helpless ... :-) normally you can add pointers to these with appropiate flags for gcc. But hopefully someone more familiar than me with building stuff on OSX linking to SuperCollider can help out here. sincerely, Marije _______________________________________________ sc-dev mailing list sc-dev@... http://lists.create.ucsb.edu/mailman/listinfo/sc-dev |
|
|
Re: trying to compile sc stuff via faust ... and don't get it ... :-)
by Dan Stowell
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message > > ... and here's my super-plus stupid question : where do i find the
> > faust mailing-list ??? (at their website i found nothing .. :( ...) > > hmm... write the author maybe? Found this: http://sourceforge.net/mail/?group_id=100127 Dan _______________________________________________ sc-dev mailing list sc-dev@... http://lists.create.ucsb.edu/mailman/listinfo/sc-dev |
|
|
Re: trying to compile sc stuff via faust ... and don't get it ... :-)
by dreamer@sonance.net
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message Thanks to you both !! :-D
... so i'll try my luck with the faust mailinglist :-) best wishes, oliver Am 12.05.2008 um 14:54 schrieb Dan Stowell: >>> ... and here's my super-plus stupid question : where do i find the >>> faust mailing-list ??? (at their website i found nothing .. :( ...) >> >> hmm... write the author maybe? > > Found this: http://sourceforge.net/mail/?group_id=100127 > > Dan > _______________________________________________ > sc-dev mailing list > sc-dev@... > http://lists.create.ucsb.edu/mailman/listinfo/sc-dev _______________________________________________ sc-dev mailing list sc-dev@... http://lists.create.ucsb.edu/mailman/listinfo/sc-dev |
| Free Forum Powered by Nabble | Forum Help |