Results 1 to 3 of 3

Thread: Error nmaking 4.7.2 with msvs2010

  1. #1
    Join Date
    Nov 2009
    Location
    US, Midwest
    Posts
    215
    Thanks
    62
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Error nmaking 4.7.2 with msvs2010

    I am trying to build 4.7.2 from sources. Nmake for qt 4.72 using MSVS2010 command prompt gives me following output

    LINK : fatal error LNK1104: cannot open file 'debug\imagecomposition.exe'

    I have only msvc2010 installed on the desktop, no previous msvc versions.

    My configure command is:

    configure -debug-and-release -no-accessibility -no-qt3support -platform win32-msvc2010 -qt-zlib -qt-libpng -qt-libtiff -qt-style-windows -qt-style-windowsxp -qt-style-windowsvista -qt-style-plastique -qt-style-cleanlooks -qt-style-motif

    Any advise is greatly appreciated.

    Following is the nmake output that preceeds the error:

    icrosoft (R) Program Maintenance Utility Version 10.00.30319.01
    Copyright (C) Microsoft Corporation. All rights reserved.

    C:\Libraries\QT\4.7.2\bin\moc.exe -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPO
    RT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_S
    SE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\..\..\include\QtCor
    e" -I"..\..\..\include\QtGui" -I"..\..\..\include" -I"..\..\..\include\ActiveQt"
    -I"tmp\moc\debug_shared" -I"..\..\..\mkspecs\win32-msvc2010" -D_MSC_VER=1600 -D
    WIN32 imagecomposer.h -o tmp\moc\debug_shared\moc_imagecomposer.cpp
    c:\Libraries\QT\4.7.2\bin\rcc.exe -name imagecomposition imagecompositio
    n.qrc -o tmp\rcc\debug_shared\qrc_imagecomposition.cpp
    cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -MP -GR -EHsc -W3 -w34100 -w3
    4189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LI
    B -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -D
    QT_THREAD_SUPPORT -I"..\..\..\include\QtCore" -I"..\..\..\include\QtGui" -I"..\.
    .\..\include" -I"..\..\..\include\ActiveQt" -I"tmp\moc\debug_shared" -I"..\..\..
    \mkspecs\win32-msvc2010" -Fotmp\obj\debug_shared\ @C:\Users\Michael\AppData\Loca
    l\Temp\nmAAC4.tmp
    imagecomposer.cpp
    main.cpp
    cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -MP -GR -EHsc -W3 -w34100 -w3
    4189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LI
    B -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -D
    QT_THREAD_SUPPORT -I"..\..\..\include\QtCore" -I"..\..\..\include\QtGui" -I"..\.
    .\..\include" -I"..\..\..\include\ActiveQt" -I"tmp\moc\debug_shared" -I"..\..\..
    \mkspecs\win32-msvc2010" -Fotmp\obj\debug_shared\ @C:\Users\Michael\AppData\Loca
    l\Temp\nmB2FF.tmp
    moc_imagecomposer.cpp
    cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -MP -GR -EHsc -W3 -w34100 -w3
    4189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LI
    B -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -D
    QT_THREAD_SUPPORT -I"..\..\..\include\QtCore" -I"..\..\..\include\QtGui" -I"..\.
    .\..\include" -I"..\..\..\include\ActiveQt" -I"tmp\moc\debug_shared" -I"..\..\..
    \mkspecs\win32-msvc2010" -Fotmp\obj\debug_shared\ @C:\Users\Michael\AppData\Loca
    l\Temp\nmB5DD.tmp
    qrc_imagecomposition.cpp
    link /LIBPATH:"c:\Libraries\QT\4.7.2\lib" /LIBPATH:"c:\Libraries\QT\4.7.
    2\lib" /NOLOGO /DEBUG /MANIFEST /MANIFESTFILE:"tmp\obj\debug_shared\imagecomposi
    tion.intermediate.manifest" /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32'
    name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595
    b64144ccf1df' language='*' processorArchitecture='*'" /OUT:debug\imagecompositio
    n.exe @C:\Users\Michael\AppData\Local\Temp\nmB64B.tmp
    LINK : fatal error LNK1104: cannot open file 'debug\imagecomposition.exe'
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0
    \VC\BIN\link.EXE"' : return code '0x450'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0
    \VC\BIN\nmake.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'

  2. #2
    Join Date
    Nov 2009
    Location
    US, Midwest
    Posts
    215
    Thanks
    62
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Error nmaking 4.7.2 with msvs2010

    Solution found - to build Qt without examples nmake sub-src

  3. #3
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Error nmaking 4.7.2 with msvs2010

    You will need: nmake sub-tools after that (i assume you are going to need the Designer and maybe other tools)

  4. The following user says thank you to Zlatomir for this useful post:

    TorAn (17th April 2011)

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, 11:05
  2. Replies: 3
    Last Post: 23rd January 2011, 12:15
  3. fatal error C1001: An internal error has occurred in the compiler
    By noodles in forum Installation and Deployment
    Replies: 0
    Last Post: 12th August 2010, 11:24
  4. Replies: 1
    Last Post: 25th October 2008, 19:18
  5. ERROR:: QPainter: Internal error; no available GC
    By Krishnacins in forum Qt Programming
    Replies: 2
    Last Post: 8th March 2006, 06:05

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.