Thread: FFTW - LIB : fatal error LNK1181: cannot open input file 'LIBRARY'

  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    8

    FFTW - LIB : fatal error LNK1181: cannot open input file 'LIBRARY'

    I am trying to install the FFTW libraries on my windows XP machine so I can integrate them into a project using the portaudio libraries in VS-2005.

    I am following these instructions;

    http://www.fftw.org/install/windows.html
    Precompiled FFTW 3.2.1 Windows DLLs install
    using fftw-3.2.1-dll.zip, on my Windows XP machine.

    I am executing this lib command:
    C:\Program Files\Microsoft Visual Studio 8\VC\bin>lib /machine:i386 /def:libfftw
    3-3.def @../fftw-3.2.1-dll/libfftw3-3.def

    which appears to start to build the library but eventually throws this error:
    .
    .
    fftw_transpose
    fftw_transpose_tiled
    fftw_transpose_tiledbuf
    fftw_triggen_destroy
    fftw_twiddle_awake
    fftw_twiddle_length
    LIB : fatal error LNK1181: cannot open input file 'LIBRARY'

    From the libfftw3-3.def file start
    LIBRARY libfftw3-3.dll
    EXPORTS
    dfftw_cleanup_
    dfftw_cleanup__
    dfftw_cleanup_threads_
    .
    .
    continues
    .
    .
    fftw_transpose_tiledbuf
    fftw_triggen_destroy
    fftw_twiddle_awake
    fftw_twiddle_length

    I put the continues comment in for clarification, there is nothing after fftw_twiddle_length. The libfftw3-3.dll file is in the same directory as the .def file. I have also tried copying lib.exe to this directory and executing it there but I get the same behavior.

    Does anyone have a suggestion for fixing this issue? I have posted to the fftw mailing list but haven't gotten any replies.

    Thanks,
    Brian
    Last edited by SubtleAphex; 03-22-2009 at 12:16 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 1
    Last Post: 05-27-2009, 12:46 PM
  2. can someone help me with these errors please code included
    By geekrockergal in forum C Programming
    Replies: 7
    Last Post: 02-10-2009, 02:20 PM
  3. Replies: 3
    Last Post: 03-04-2005, 02:46 PM
  4. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 02:58 AM
  5. Ghost in the CD Drive
    By Natase in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 10-12-2001, 05:38 PM