Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Fatal Errors C1853, U1077 when running nmake in Visual Studio 2008 Command Prompt
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 4.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    prophetjohn
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • P Offline
      P Offline
      piya_k
      wrote on last edited by
      #2

      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()!

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved