Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dll hell



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.





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org