dll hell

Stephen Adler adler at stephenadler.com
Sun Jan 7 17:05:34 EST 2007


To answer my own question... I figure out what I did wrong... I have 
cygwin installed on my XP
system... and when I executed the lib.exe command, it failed silently. 
There was a .dll which needed
to get loaded. Anyway, I fixed the PATH so that the lib.exe dll loads, 
and the realized that the lib.exe
command generates a *.lib file from a .dll file. From there I was able 
to get my program ported
and running.

(My problem now is that I'm having a hard time getting my program or 
environment to find the
fftw3 dll... uggg....)

Cheers. Steve.

Stephen Adler wrote:
> Guys,
>
> I know this is a unix/linux mailing list, but since I'm a unix/linux 
> guy perhaps you guys can empethise with my
> problem.
>
> I'm trying to port a program which uses fftw3 to windows. The problem 
> I'm having is that I need
> to use visual studio 8 to build the application and I'm a bit confused 
> about how I specify the DLL's
> to visual C. The other problem is that one needs to do some kind of 
> funky trick to the dll's to
> get visual studio to recognize them. Run a lib.exe  command... (see 
> http://www.fftw.org/install/windows.html
> if you've got the stomach for this stuff...)
>
> Anyway, I got the linker to include the file, which I specified as 
> libfftw3-3.dll, but it comes back with
> an ugly error...
>
> Linking...
> c:\fftw3\libfftw3-3.dll : fatal error LNK1107: invalid or corrupt 
> file: cannot read at 0x2E0
>
>
> Well, it looks like vc did not recognize the file. Any help would be 
> greatly appricated.
>
> Thanks. Steve.
>
>


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Discuss mailing list