Reply by Michael Plante●September 18, 20092009-09-18
>when I execute libfftw3-3.lib on the command line it starts VSC++ but on
>cancel windows says.
Huh? Windows can't execute .lib files. That's just an archive of object
code. Do you mean you associated that extension with MSVC?
>anyway, it builds an executable and on running complains that it cant
>find
>libfftw3-3.lib. Is there somewhere else in VSC ++ 2008 that i should
>configure for fftw3? also, I'm on vista SP1.
Windows shouldn't be looking for a .lib. If you're trying to link
dynamically (the only way I've done it), Windows should be looking for
libfftw3-3.DLL; otherwise, it shouldn't be looking for anything. Try
downloading "dependency walker" to see what it's really looking for. On
VC++ 6, at least, you add libfftw3-3.lib to the "Object/library modules" on
the "Link" tab. Not sure about your version, but read the online help.
Since you didn't say the compiler's complaining, obviously it's not a
problem with your #include directory, so that's just noise. Have you ever
used a DLL before?
Reply by Kwisatch●September 18, 20092009-09-18
Hi I'm trying to get fftw3 running in visual studio C++ 2008.
have linked libfftw3-3.lib in project properties->config
properties->linker->input: additional dependencies:libfftw3-3.lib
libfftw3f-3.lib libfftw3l-3.lib
and added C:\FFTProj\fftw-3.2.2-dll64 to my INCLUDE path, LIB path and
PATH.
when I execute libfftw3-3.lib on the command line it starts VSC++ but on
cancel windows says.
The system cannot find the file
C:\FFTProj\fftw-3.2.2-dll64\libfftw3-3.lib.
so its registered but windows keeps complaining.
I can compile a fftw program in VSC++ and no complaints ( although in
another project I keep getting
warning LNK4248: unresolved typeref token (0100001C) for 'fftw_plan_s';
image may not run )
anyway, it builds an executable and on running complains that it cant
find
libfftw3-3.lib. Is there somewhere else in VSC ++ 2008 that i should
configure for fftw3? also, I'm on vista SP1.
Thanks
Ian