[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"
using std::cout;
using std::endl;
using std::cerr;

using namespace CLAM;

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

       FFTConfig fftcfg;

       FFT_rfftw mifft(fftcfg);

When compiling I get:

In function `CLAM::OscillatorConfig::HasSamplingRate(void) const':
undefined reference to `CLAM::FFT_rfftw::FFT_rfftw(CLAM::FFTConfig const 
undefined reference to `CLAM::FFT_rfftw::~FFT_rfftw(void)'
undefined reference to `CLAM::FFT_rfftw::~FFT_rfftw(void)'
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?

CLAM mailing list
CLAM at iua.upf.es

More information about the clam-users mailing list