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