Reputation: 1
This error is getting displayed after I build the code in compile output section.
C:\Qt\2009.04\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lphonond
collect2: ld returned 1 exit status.
mingw32-make[1]: *** [debug\addressbook.exe] Error 1
mingw32-make: *** [debug] Error 2
Exited with code 2.
Error while building project addressbook
When executing build step 'Make'
Irrespective of any code I am building, I get this common one. I am using windows 7 and Qt 4.
Upvotes: 0
Views: 539
Reputation: 16113
You need to give more details if you want more than passing help. The relevant pieces of the makefile would be a good start.
Figure out where libphonond
is stored and pass the path to the linker with -L
if the path is not already there.
It might be that:
libphonond
might not be part of the default build.There's a place to start anyway...
Upvotes: 0
Reputation: 8509
This article [Building the Phonon backend plugin on Windows using MinGW] is obsolete since version 4.6. Qt by default has phonon support now.
Looking at your build path, you seem to have a version older than 4.6 (which was released on 1 December 2009, whereas you have Qt as of April 2009.04).
In other words : get a newer version of Qt.
Upvotes: 0