Results 1 to 8 of 8

Thread: compile time error

  1. #1
    Join Date
    Dec 2010
    Posts
    27
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi PyQt3 PyQt4
    Platforms
    Windows Symbian S60 Maemo/MeeGo
    Thanks
    1

    Default compile time error

    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...

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

    Default Re: compile time error

    What's the first error you get?
    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
    Join Date
    Dec 2010
    Posts
    27
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi PyQt3 PyQt4
    Platforms
    Windows Symbian S60 Maemo/MeeGo
    Thanks
    1

    Default Re: compile time error

    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...

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

    Default Re: compile time error

    Do you have the QtGallery110 library available for the simulator platform?
    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.


  5. #5
    Join Date
    Dec 2010
    Posts
    27
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi PyQt3 PyQt4
    Platforms
    Windows Symbian S60 Maemo/MeeGo
    Thanks
    1

    Default Re: compile time error

    hello,

    Ok..
    Thank you...

    Can you tell me how can i knew that??

    Or if not available than how can i get......??

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

    Default Re: compile time error

    Quote Originally Posted by trupti View Post
    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?
    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
    Join Date
    Dec 2010
    Posts
    27
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi PyQt3 PyQt4
    Platforms
    Windows Symbian S60 Maemo/MeeGo
    Thanks
    1

    Default Re: compile time error

    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,,

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

    Default Re: compile time error

    How exactly did you "install" Mobility?
    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.


Similar Threads

  1. no compile error, but error on run with QMenu QAction
    By sincnarf in forum Qt Programming
    Replies: 4
    Last Post: 4th May 2011, 12:05
  2. Qt compile-time error
    By prykHetQuo in forum Qt Programming
    Replies: 2
    Last Post: 12th April 2010, 00:25
  3. compile time error porting Qt3 designer form to Qt4
    By ashukla in forum Qt Programming
    Replies: 3
    Last Post: 20th September 2007, 12:48
  4. Qt 4.2.1 Run Time Error
    By Rayven in forum Qt Programming
    Replies: 1
    Last Post: 31st October 2006, 17:13
  5. setWindowTitle and last compile date/time
    By jcr in forum Qt Programming
    Replies: 1
    Last Post: 9th April 2006, 00:59

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
  •  
Qt is a trademark of The Qt Company.