Fatal Errors C1853, U1077 when running nmake in Visual Studio 2008 Command Prompt



  • I have already successfully configured Qt, specifying the platform, but I get the following errors when running nmake:

    @
    accessible\qaccessible.cpp : fatal error C1853: 'tmp\obj\release_shared\QtGui_pc
    h.pch' precompiled header file is from a previous version of the compiler, or th
    e precompiled header is C++ and you are using it from C (or vice versa)
    qaccessible2.cpp
    accessible\qaccessible2.cpp : fatal error C1853: 'tmp\obj\release_shared\QtGui_p
    ch.pch' precompiled header file is from a previous version of the compiler, or t
    he precompiled header is C++ and you are using it from C (or vice versa)
    qaccessibleobject.cpp
    accessible\qaccessibleobject.cpp : fatal error C1853: 'tmp\obj\release_shared\Qt
    Gui_pch.pch' precompiled header file is from a previous version of the compiler,
    or the precompiled header is C++ and you are using it from C (or vice versa)
    qaccessiblewidget.cpp
    accessible\qaccessiblewidget.cpp : fatal error C1853: 'tmp\obj\release_shared\Qt
    Gui_pch.pch' precompiled header file is from a previous version of the compiler,
    or the precompiled header is C++ and you are using it from C (or vice versa)
    qaccessibleplugin.cpp
    accessible\qaccessibleplugin.cpp : fatal error C1853: 'tmp\obj\release_shared\Qt
    Gui_pch.pch' precompiled header file is from a previous version of the compiler,
    or the precompiled header is C++ and you are using it from C (or vice versa)
    qaccessible_win.cpp
    accessible\qaccessible_win.cpp : fatal error C1853: 'tmp\obj\release_shared\QtGu
    i_pch.pch' precompiled header file is from a previous version of the compiler, o
    r the precompiled header is C++ and you are using it from C (or vice versa)
    Generating Code...
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0
    VC\BIN\amd64\cl.EXE"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0
    VC\BIN\amd64\nmake.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    @

    I've already seen the suggestion to delete the .pch files, but the \release_shared\ folder does not exist. I am using Visual Studio 2008, Win7 x64 and Qt 4.7.3

    Thoughts?



  • I also got error
    return code '0x458' and
    NMAKE : fatal error U1077: 'cd' : return code '0x2'Stop.
    I am posting a snapshot of that errors....

    Actully I am trying to NMAKE from last week but not working...
    please Help

    !https://skydrive.live.com/?cid=aec5e240e715c70c&sc=documents&uc=1&id=AEC5E240E715C70C!102#cid=AEC5E240E715C70C&id=AEC5E240E715C70C!105&sc=documents()!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.