View Full Version : compile time error
trupti
5th January 2011, 11:48
Hello,
I have Qt version:4.7.1
I have installed qt-mobility-opensource-src-1.1.0
Now i want to build and run example of it.
But when i run it in simulator it gives following error
NokiaQtSDK/mingw/bin/mingw32-make.exe" exited with code %2
collect2: ld returned 1 exit status
mingw32-make[1]: *** [release\mediabrowser.exe] Error 1
mingw32-make: *** [release] Error 2
I tried to set PATH environment variable but still getting this problem.
Can any one give me solution for it....
Thanks in advance...
wysota
5th January 2011, 12:41
What's the first error you get?
trupti
5th January 2011, 12:54
Hello..
Thank u for fast reply....
I try for build media browser example .
In this i get following error in build issue::
:: error: cannot find -lQtGallery110
:: error: collect2: ld returned 1 exit status
And in compile output...
d:/nokiaqtsdk/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lQtGallery110
collect2: ld returned 1 exit status
mingw32-make[1]: *** [release\mediabrowser.exe] Error 1
mingw32-make: *** [release] Error 2
The process "D:/NokiaQtSDK/mingw/bin/mingw32-make.exe" exited with code %2.
Error while building project mediabrowser (target: Desktop)
When executing build step 'Make'
Thank you...
wysota
5th January 2011, 14:06
Do you have the QtGallery110 library available for the simulator platform?
trupti
6th January 2011, 04:42
hello,
Ok..
Thank you...
Can you tell me how can i knew that??
Or if not available than how can i get......??
wysota
6th January 2011, 11:13
Can you tell me how can i knew that??
If you didn't build/install it then you don't.
Or if not available than how can i get......??
The simulator is a separate platform in its own rights. You need to build the extension library for the simulator before you can start using it.
By the way, I looked at your compiler output again. Are you sure you are building for the simulator and not for the desktop?
trupti
6th January 2011, 12:01
Hello,
Yes i do with simulator.
Please help me.. i didn't get solution..
I m again sending my error,
You can check it..
On compile output it shows following ...
mingw32-make[1]: Leaving directory `D:/QtMobility/qt-mobility-opensource-src-1.1.0-tp/examples/mediabrowser-build-simulator'
mingw32-make: Leaving directory `D:/QtMobility/qt-mobility-opensource-src-1.1.0-tp/examples/mediabrowser-build-simulator'
d:/nokiaqtsdk/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lQtGallery110
collect2: ld returned 1 exit status
mingw32-make[1]: *** [release\mediabrowser.exe] Error 1
mingw32-make: *** [release] Error 2
The process "D:/NokiaQtSDK/mingw/bin/mingw32-make.exe" exited with code %2.
Error while building project mediabrowser (target: Qt Simulator)
When executing build step 'Make'
Thanks for reply,,
wysota
6th January 2011, 13:42
How exactly did you "install" Mobility?
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.