Starting to make progress with FFTW3 DLM... [message #37448] |
Wed, 17 December 2003 07:17 |
Brian
Messages: 27 Registered: March 2001
|
Junior Member |
|
|
I am finally starting to make some progress with this. My goal is make a DLM
that allows a user to transparently use fftw version 3. It will support
real, complex, float, double as well as the planning routines.
Here is what I noticed. I first created the FFT3W as a dll using lcc-win32.
I then included the corresponding .lib file when building the dlm (did this
too in lcc-win32 as a dll project). But when I would run a test procedure in
IDL, I would get an access violation. So I rebuilt the FFTW3.lib file, this
time in lcc-win32 I specified that the project was a static library (instead
of a dll). So when I added that .lib file in the dlm dll project everything
seemed to work. So what is happening here? Can dlm dlls only link with .lib
files that were created from a project that was designated as a static
library? That seems odd. Seems that if I have lcc-win32 set to create a dll
for the FFTW3 source code, then I should be able to use whatever it spits
out for the dlm project.
I am new to this whole business of DLMs, dlls, etc so I am sure I am missing
some fundamental point.
-brian
|
|
|