[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sc-devel] sc3-plugins

Hi Marije,

On Dec 2, 2007 11:31 PM, nescivi <nescivi@xxxxxxxxx> wrote:
> Hi,
> I am creating a better SConstruct file for the sc3-plugins...


> 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?