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