Results 1 to 9 of 9

Thread: FFTW library on Windows and link to Qt Project

  1. #1

    Default FFTW QtCreator Windows

    Hello,
    I need FFTW library to caluculte image correlation and i am trying to link the FFTW to my project in Windows on Qt Creator.
    And i have no idea how could i start.
    There no information on FFTW site.
    Any suggestions?
    Thanks,
    Best regards,
    Maroua

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: FFTW QtCreator Windows

    You can start by clicking on "File" menu and then choosing "New file or project".
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3

    Default Re: FFTW library on Windows and link to Qt Project

    Hello,
    I need FFTW library to caluculte image correlation and i am trying to link the FFTW to my project in Windows on Qt Creator.
    And i have no idea how could i start.
    There no information on FFTW site.
    Any suggestions?
    Thanks,
    Best regards,
    Maroua


    Added after 1 35 minutes:


    i tried to add dll to my .pro file

    Qt Code:
    1. INCLUDEPATH += "C:/OpenCV-2.3.1-win/opencv/build/include"\
    2. "C:/fftwMinGW"
    3.  
    4. LIBS += "C:/OpenCV-2.3.1MinGW/lib/libopencv_core231.dll.a" \
    5. "C:/OpenCV-2.3.1MinGW/lib/libopencv_highgui231.dll.a" \
    6. "C:/OpenCV-2.3.1MinGW/lib/libopencv_imgproc231.dll.a" \
    7. "C:/QtSDK/mingw/lib/libgdi32.a"\
    8. "C:/fftwMinGW/libfftw3-3.dll"\
    9. "C:/fftwMinGW/libfftw3f-3.dll"\
    10. "C:/fftwMinGW/libfftw3l-3.dll"
    To copy to clipboard, switch view to plain text mode 
    and i obtained the following error:

    C:/fftwMinGW/libfftw3-3.dll: file not recognized: File format not recognized
    collect2: ld returned 1 exit status
    mingw32-make.exe[1]: *** [debug\DIGIDOC.exe] Error 1
    mingw32-make.exe: *** [debug] Error 2
    13:51:57: Le processus "C:\QtSDK\mingw\bin\mingw32-make.exe" s'est terminé avec le code 2.

    Someone could help me
    Last edited by maroua_; 27th January 2012 at 12:57.

  4. #4
    Join Date
    Sep 2011
    Posts
    1,241
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: FFTW library on Windows and link to Qt Project

    I believe you normally link with .a or .lib(windows), not the actual dll.
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  5. #5

    Default Re: FFTW QtCreator Windows

    I have no idea how to compile fftw to link it to my qt project. I need .a and there are only .dll.
    Can someone help me?
    Thanks.
    Best regards,
    Maroua

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: FFTW QtCreator Windows

    http://www.fftw.org/install/windows.html

    Make sure you read the part behind "See DLLs and wisdom, below, for important information on using wisdom import/export from a DLL."
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. #7

    Default Re: FFTW library on Windows and link to Qt Project

    how could I obtain .dll.a from .dll?and how could I compile fftw on windws to obtain .dll.a?
    Thanks

  8. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: FFTW library on Windows and link to Qt Project

    Threads merged.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  9. #9
    Join Date
    May 2013
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: FFTW library on Windows and link to Qt Project

    I also have the same trouble? anyone can help?Thanks

Similar Threads

  1. How to use a Dynamic Link Library with QT / C++.
    By nivaldonicolau in forum Newbie
    Replies: 5
    Last Post: 29th April 2009, 14:05
  2. How to link library?
    By Macok in forum Qt Tools
    Replies: 1
    Last Post: 31st March 2009, 16:47
  3. Link against library on Mac OS
    By janus in forum Installation and Deployment
    Replies: 2
    Last Post: 22nd March 2009, 11:10
  4. Link *.so library
    By allstar in forum Qt Programming
    Replies: 1
    Last Post: 8th July 2007, 15:27

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.