Results 1 to 2 of 2

Thread: File format not recognized -- bass.dll

  1. #1
    Join Date
    Apr 2008
    Posts
    39
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default File format not recognized -- bass.dll

    Hi.

    I just switched from Qt 2009.01 to Qt 2009.02 SDK. Now I get the following error at the linking step:

    ../lib/bass.dll: file not recognized: File format not recognized
    collect2: ld returned 1 exit status
    mingw32-make.exe[1]: *** [..\bin\wip\uman.exe] Error 1
    E:\Tools\Qt\2009.02\mingw\bin\mingw32-make.exe: *** [release] Error 2
    Exited with code 2.
    Error while building project uman
    When executing build step 'Make'
    I do not have a "bass.a" but a "bass.dll" and a "bass.lib" (which I do not need for linking dynamically).

    Here some lines from the project file:

    Qt Code:
    1. win32 {
    2. RC_FILE = uman.rc
    3. INCLUDEPATH += ../include/taglib \
    4. ../include/bass
    5. LIBS += -L"../lib" \
    6. -ltag \
    7. -lbass
    8. }
    To copy to clipboard, switch view to plain text mode 

    What significant change did 2009.02 make?

    Bye

  2. #2
    Join Date
    Apr 2008
    Posts
    39
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: File format not recognized -- bass.dll

    Well, I do not know what exactly was changed, but I figured out a solution.

    Just rename the "bass.lib" to "bass.dll.a". An remove the "bass.dll" from the lib path.

    Bye

Similar Threads

  1. Read binary from file
    By weldpua2008 in forum Newbie
    Replies: 2
    Last Post: 4th April 2009, 00:50
  2. Base64 vs Binay File format
    By rmagro in forum Qt Programming
    Replies: 4
    Last Post: 6th February 2009, 17:17
  3. QImage, get file format
    By greenvirag in forum Qt Programming
    Replies: 6
    Last Post: 29th December 2008, 14:13
  4. Some very weird compilation warnings
    By MarkoSan in forum Qt Programming
    Replies: 21
    Last Post: 23rd January 2008, 17:48
  5. Replies: 13
    Last Post: 1st June 2006, 15:01

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.