Compiling issue in VS2008 SP1
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Compiling issue in VS2008 SP1

  1. #1
    Join Date
    Mar 2009
    Posts
    17

    Compiling issue in VS2008 SP1

    Hi,

    I created a console project and it was compiled sucessfully with VS2008 RTM.

    After VS2008 SP1 was installed, the compilation failed with the following error:

    --------------------------------------------------------------------------------------------------------------------
    Build Log

    Build started: Project: Demo1601-02.vcproj, Configuration: Debug|Win32
    Command Lines Creating temporary file "e:\VC_Pro\Projects\Demo1601-02.vcproj\Debug\RSP00000115723832.rsp" with contents
    [
    /Od /D "WIN32" /D "_DEBUG" /D "_UNICODE" /D "UNICODE" /FD /EHa /MDd /Yu"stdafx.h" /Fp"Debug\Demo1601-02.vcproj.pch" /Fo"Debug\\" /Fd"Debug\vc90.pdb" /W3 /c /Zi /clrure /TP /FU "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll" /FU "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll" /FU "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll" /FU "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll" /FU "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.XML.dll"

    ".\Demo1601-02.vcproj.cpp"

    ".\AssemblyInfo.cpp"
    ]


    Creating command line

    "cl.exe @"e:\VC_Pro\Projects\Demo1601-02.vcproj\Debug\RSP00000115723832.rsp" /nologo /errorReportrompt"


    Output Window

    Compiling...
    Demo1601-02.vcproj.cpp
    .\Demo1601-02.vcproj.cpp : fatal error C1853: 'Debug\Demo1601-02.vcproj.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)
    AssemblyInfo.cpp
    .\AssemblyInfo.cpp : fatal error C1853: 'Debug\Demo1601-02.vcproj.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)
    Generating Code...


    Results

    Build log was saved at "file://e:\VC_Pro\Projects\Demo1601-02.vcproj\Debug\BuildLog.htm"
    Demo1601-02.vcproj - 2 error(s), 0 warning(s)
    ----------------------------------------------------------------------------------------------------------------------

    This is a project for only practicing purpose, not that critical. But I like to figure out the reason in case of that I may have the same problem in carrying out a real project in the future.


    Thank you.

  2. #2
    Join Date
    Jul 2002
    Posts
    2,513

    Re: Compiling issue in VS2008 SP1

    Make Rebuild All.

  3. #3
    Join Date
    Mar 2009
    Posts
    17

    Re: Compiling issue in VS2008 SP1

    Oh, yes it worked.

    Thank you.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center