Results 1 to 2 of 2

Thread: urgent: can not compile the Qt4 demos

  1. #1
    Join Date
    May 2009
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Unhappy urgent: can not compile the Qt4 demos

    i download the qt-sdk-win-opensource-2009.02.1.exe just now.
    but can not compile the demos/affine,
    thanks!
    error info:

    Running build steps for project affine...
    Starting: C:/Qt/2009.02/qt/bin/qmake.exe C:/Qt/2009.02/qt/demos/affine/affine.pro -spec win32-g++ -r
    Exited with code 0.
    Starting: C:/Qt/2009.02/mingw/bin/mingw32-make.exe -w
    C:\Qt\2009.02\mingw\bin\mingw32-make.exe: Entering directory `C:/Qt/2009.02/qt/demos/affine'
    C:/Qt/2009.02/mingw/bin/mingw32-make.exe -f Makefile.Debug
    mingw32-make.exe[1]: Entering directory `C:/Qt/2009.02/qt/demos/affine'
    g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o debug\affine.exe debug/main.o debug/xform.o debug/moc_xform.o debug/qrc_affine.o -L"c:\Qt\2009.02\qt\lib" -lopengl32 -lglu32 -lgdi32 -luser32 -lmingw32 -lqtmaind -L../shared/debug -ldemo_shared -lQtOpenGLd4 -lQtGuid4 -lQtCored4
    mingw32-make.exe[1]: Leaving directory `C:/Qt/2009.02/qt/demos/affine'
    C:\Qt\2009.02\mingw\bin\mingw32-make.exe: Leaving directory `C:/Qt/2009.02/qt/demos/affine'
    C:\Qt\2009.02\mingw\bin\..\lib\gcc\mingw32\3.4.2\. .\..\..\..\mingw32\bin\ld.exe: cannot find -ldemo_shared
    collect2: ld returned 1 exit status
    mingw32-make.exe[1]: *** [debug\affine.exe] Error 1
    C:\Qt\2009.02\mingw\bin\mingw32-make.exe: *** [debug] Error 2
    Exited with code 2.
    Error while building project affine
    When executing build step 'Make'

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

    Default Re: urgent: can not compile the Qt4 demos

    What's so urgent about it? :-) Was the demo_shared library built before you started building this particular example?
    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. QtCreator won't compile using VS2005
    By Spinz99 in forum Installation and Deployment
    Replies: 0
    Last Post: 3rd April 2009, 23:25
  2. how to compile c++ source file in qtCreator
    By orky7 in forum General Programming
    Replies: 6
    Last Post: 20th March 2009, 06:45
  3. Compile Application in XCode for Release. How?
    By Alex Snet in forum Installation and Deployment
    Replies: 7
    Last Post: 3rd February 2009, 09:16
  4. qtgui4.dll error in visual c++ 2005
    By Comptrol in forum Installation and Deployment
    Replies: 33
    Last Post: 19th June 2008, 07:18
  5. Access to PostgreSQL DB on a linux server
    By rmagro in forum Qt Programming
    Replies: 28
    Last Post: 13th March 2008, 09:02

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.