[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sc-devel] sc3-plugins
On Monday 03 December 2007 19:20:43 blackrain wrote:
> > I am noticing one thing: in the JoshUGens, source files from the regular
> > SC distribution are rebuilt (fftlib.c, SCComplex.cpp, Convolution.cpp,
> > FeatureDetection.cpp).
> > Is there any way to avoid this?
> > I am trying to create the SConstruct file so that it would work cleanly
> > from a SuperCollider that has the development files installed, i.e. any
> > other information that is needed by the plugins is found in the header
> > and by linking to scsynth library.
> > Up to now, this all works quite well, but with these source files that
> > are needed, I don't know what to do...
> > any suggestions?
> > sincerely,
> > Marije
> Thinking out loud for a sec here and looking a bit ahead,
> Users with the sc-plugins-dev.deb pack installed, this includes the
> sc3-plugins project, might want to be able to build FFT based UGens. I
> believe the deb pack should supply the headers that are needed to
> build a plugin, the headers for the files you mention and a static lib
> (the ar product of fftlib, SCComplex, Convolution and
> FeatureDetection) to link with their plugins.
> Perhaps 2 libs: libfft.a and libFeatureDetection.a to keep categories tidy?
> does this sound ok?
Why not make a libscplugin-extra which has all these files?
We could add that to the main distributions SConstruct (which will also make
some of the builds there cleaner; SCComplex is already duplicated in several
plugins). Plugins that need to link to have this functionality can link to