Results 1 to 3 of 3

Thread: Error compiling Qt Creator src on windows

  1. #1
    Join Date
    Jan 2006
    Posts
    667
    Thanks
    10
    Thanked 80 Times in 74 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Error compiling Qt Creator src on windows

    Hi!

    I am trying to compile Qt Creator src on windows vista with msvc-2008 and I am seeing following errors

    link /LIBPATH:"f:\Qt\lib" /LIBPATH:"f:\Qt\4.5.0\lib" /NOLOGO /INCREMENTA
    L:NO /LTCG /MANIFEST /MANIFESTFILE:"tmp\obj\release_shared\QtConcurrent. intermed
    iate.manifest" /OUT:..\..\..\lib\qtcreator\QtConcurrent.lib @C:\Users\Mithin\App
    Data\Local\Temp\nmBD96.tmp
    Creating library ..\..\..\lib\qtcreator\QtConcurrent.lib and object ..\..\..\
    lib\qtcreator\QtConcurrent.exp
    LINK : fatal error LNK1104: cannot open file '..\..\..\lib\qtcreator\QtConcurren
    t.lib'
    NMAKE : fatal error U1077: '"F:\Program Files\Microsoft Visual Studio 8\VC\bin\l
    ink.EXE"' : return code '0x450'
    Stop.
    NMAKE : fatal error U1077: '"F:\Program Files\Microsoft Visual Studio 8\VC\bin\n
    make.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    Everything seems okay to me but I am still not able to get this working. Can someone please help me here?

    Thanks a lot!

  2. #2
    Join Date
    Jan 2006
    Posts
    667
    Thanks
    10
    Thanked 80 Times in 74 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Error compiling Qt Creator src on windows

    I thought the problem might be with my Qt libraries and therefore, I tried compiling Qt 4.5.0 source. While building I get a similar error.

    [QUOTE]
    link /LIBPATH:"f:\Qt\4.5.0\lib" /LIBPATH:"f:\Qt\4.5.0\lib" /NOLOGO /INCR
    EMENTAL:NO /LTCG /DLL /MANIFEST /MANIFESTFILE:"tmp\obj\release_shared\qtaccessib
    lewidgets.intermediate.manifest" /VERSION:4.50 /OUT:..\..\..\..\plugins\accessib
    le\qtaccessiblewidgets4.dll @C:\Users\Mithin\AppData\Local\Temp\nm965F.tmp
    LINK : fatal error LNK1104: cannot open file '..\..\..\..\plugins\accessible\qta
    ccessiblewidgets4.dll'
    NMAKE : fatal error U1077: '"F:\Program Files\Microsoft Visual Studio 9.0\VC\bin
    \link.EXE"' : return code '0x450'
    Stop.
    NMAKE : fatal error U1077: '"F:\Program Files\Microsoft Visual Studio 9.0\VC\bin
    \nmake.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    [QUOTE]

    I am not able to figure out where the problem is. Can someone please help me fix this?

    Thanks a lot

  3. #3
    Join Date
    Jan 2006
    Posts
    667
    Thanks
    10
    Thanked 80 Times in 74 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Error compiling Qt Creator src on windows

    I tried building Qt Creator with mingw this time and now I get the following errors. While Qt 4.5.1 builds fine with mingw, Qt Creator doesn't

    /mingw/lib/libmingw32.a(main.o):main.c.text+0x104): undefined reference to `Wi
    nMain@16'
    collect2: ld returned 1 exit status
    mingw32-make[4]: *** [..\..\..\lib\qtcreator\QtConcurrent.lib] Error 1
    mingw32-make[4]: Leaving directory `F:/Qt/QtCreator/src/libs/qtconcurrent'
    mingw32-make[3]: *** [release] Error 2
    mingw32-make[3]: Leaving directory `F:/Qt/QtCreator/src/libs/qtconcurrent'
    mingw32-make[2]: *** [sub-qtconcurrent-make_default-ordered] Error 2
    mingw32-make[2]: Leaving directory `F:/Qt/QtCreator/src/libs'
    mingw32-make[1]: *** [sub-libs-make_default-ordered] Error 2
    mingw32-make[1]: Leaving directory `F:/Qt/QtCreator/src'
    mingw32-make: *** [sub-src-make_default-ordered] Error 2
    After some googling I found that we need to add the main() function to each of the libraries in order to over come these errors. This doesn't sound right to me and I am not sure how to fix this.

    Can some one please help me?

    Thanks a lot

Similar Threads

  1. Qt Jambi, deploying app on Mac & Windows fails
    By ChrisColon in forum Installation and Deployment
    Replies: 2
    Last Post: 16th February 2009, 23:05
  2. Replies: 5
    Last Post: 15th January 2009, 10:03
  3. Windows not appearing in XP.
    By beardybloke in forum Qt Programming
    Replies: 7
    Last Post: 24th October 2007, 18:32
  4. converting unix exe to windows binary
    By deekayt in forum General Programming
    Replies: 2
    Last Post: 17th September 2006, 02:00
  5. Qt and windows vista
    By munna in forum General Discussion
    Replies: 8
    Last Post: 11th January 2006, 23:33

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.