[Fwd: [CLAM] Oscillator... in english.]

Lucas Vallejos lucas.vallejos at upf.edu
Tue Jul 22 09:27:22 PDT 2003


Sorry for sending it twice...

Hello, I have problems when defining a  'FFT_rfftw'  object. Briefly, 
the code is as follows:

...
#include "WindowGenerator.hxx"
#include "FFT_rfftw.hxx"

#include "DataTypes.hxx"
#include "Oscillator.hxx"
#include 
using std::cout;
using std::endl;
using std::cerr;

using namespace CLAM;

//function definitions start and in one of them there is:

       FFTConfig fftcfg;
       fftcfg.SetAudioSize(1024);

       FFT_rfftw mifft(fftcfg);


When compiling I get:

/home/lucas/clam/CLAM/obj//home/lucas/clam/CLAM/examples/theBand/ex2.o: 
In function `CLAM::OscillatorConfig::HasSamplingRate(void) const':
/home/lucas/clam/CLAM/src/Processing/Generators/Oscillator.hxx(.text+0x5e3): 
undefined reference to `CLAM::FFT_rfftw::FFT_rfftw(CLAM::FFTConfig const 
&)'
/home/lucas/clam/CLAM/src/Processing/Generators/Oscillator.hxx(.text+0xa22): 
undefined reference to `CLAM::FFT_rfftw::~FFT_rfftw(void)'
/home/lucas/clam/CLAM/src/Processing/Generators/Oscillator.hxx(.text+0xdfd): 
undefined reference to `CLAM::FFT_rfftw::~FFT_rfftw(void)'
/home/lucas/clam/CLAM/src/Processing/Generators/Oscillator.hxx(.CLAM::FFTConfig::gnu.linkonce.t.(void)+0x2f): 
undefined reference to `CLAM::FFTConfig::DefaultInit(void)'
collect2: ld returned 1 exit status
make[1]: *** [ex2] Error 1
make[1]: Leaving directory `/home/lucas/clam/CLAM/examples/theBand'
make: *** [ex2] Error 2

I have the same error when I try to define a 'WindowGenerator' object. I don't know what 'Oscillator' class has to do with all this...
Could someone tell me something about this?
Thanks
Lucas


_______________________________________________
CLAM mailing list
CLAM at iua.upf.es
http://www.iua.upf.es/mtg/clam






More information about the clam-users mailing list