PDA

View Full Version : File format not recognized -- bass.dll



youkai
26th April 2009, 08:18
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:


win32 {
RC_FILE = uman.rc
INCLUDEPATH += ../include/taglib \
../include/bass
LIBS += -L"../lib" \
-ltag \
-lbass
}

What significant change did 2009.02 make?

Bye :)

youkai
26th April 2009, 12:26
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