comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Need some help with FFTW3 wrapper (Karl, Brad, Rick, etc)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Need some help with FFTW3 wrapper (Karl, Brad, Rick, etc) [message #37375] Tue, 16 December 2003 03:27 Go to next message
Brian is currently offline  Brian
Messages: 27
Registered: March 2001
Junior Member
I think I am getting close to getting things to work, but I am still having
problems:

1. Brad, I took a look at your VC++ project. The thing I don't understand is
how does the dlm dll get linked with the fftw functions? I see you have 2
.lib files, but I see no information in your VC++ project about those libs.
Does VC++ automatically add any .lib files in the project path?

2. Brad, I noticed in your VC++ project that there is a FFTW_DLM_EXPORTS
preprocessor entry. What does this do?

3. Do preprocessor defines matter? Or can I just compile with default
settings? I don't plan on including any debug info.

Using the fftw3 dll that is on the fftw.org site, I did manage to create a
dlm dll. But when I try to run it I get exception errors and IDL crashes. So
I figured that I should probably compile the fftw3 source and do the dlm all
in the same compiling environment. I am using lcc-win32 for what it's worth.

thanks,

brian
Re: Need some help with FFTW3 wrapper (Karl, Brad, Rick, etc) [message #37460 is a reply to message #37375] Tue, 16 December 2003 16:34 Go to previous message
b_gom is currently offline  b_gom
Messages: 105
Registered: April 2003
Senior Member
Hi Brian,

I can't claim to know how to help you to get this working with
lcc-win32.

If you have VC++, then the project and binaries I posted should work
'out of the box'. If you do not have VC++, then you will have to
manually compile and link in the source code, .def and .h files, and
the FFTW v2.1.3 source (source code or .lib files) that I posted. The
VC++ project I posted does not use the .lib files so that I can debug
any crashes within the FFTW source. The .lib files are still there, so
you could link them instead of the FFTW source using VC++.

Preprocessor defines shouldn't matter too much.
Note that the code uses double precision, not single precision floats
(FFTW_ENABLE_FLOAT is not defined).

Note also that this code will almost certainly crash if linked with
the FFTW version 3 libraries.

Brad



"Brian" <brian.huether@NOdlrSPAM.de> wrote in message news:<b9654de674632b7df5c892692100ecdc@news.teranews.com>...
> I think I am getting close to getting things to work, but I am still having
> problems:
>
> 1. Brad, I took a look at your VC++ project. The thing I don't understand is
> how does the dlm dll get linked with the fftw functions? I see you have 2
> .lib files, but I see no information in your VC++ project about those libs.
> Does VC++ automatically add any .lib files in the project path?
>
> 2. Brad, I noticed in your VC++ project that there is a FFTW_DLM_EXPORTS
> preprocessor entry. What does this do?
>
> 3. Do preprocessor defines matter? Or can I just compile with default
> settings? I don't plan on including any debug info.
>
> Using the fftw3 dll that is on the fftw.org site, I did manage to create a
> dlm dll. But when I try to run it I get exception errors and IDL crashes. So
> I figured that I should probably compile the fftw3 source and do the dlm all
> in the same compiling environment. I am using lcc-win32 for what it's worth.
>
> thanks,
>
> brian
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to make IDL be quiet
Next Topic: Returning > 1 variable with functions?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 04:20:58 PDT 2025

Total time taken to generate the page: 1.04004 seconds