C++ Puzzle Game

Anonymous
2020-11-21T15:35:27.707+00:00

I have a question when I study C.

When I go the program,I meet a bug.
C1083:The compiler generated file could not be opened:“.\x64\Debug\贪吃蛇大作战\nativecodeanalysis.xml”:No Error

In my view,I think the point is the reference of environment variables in a build.

So I would like to suggestions and assiance.

Above is originated in the Microsoft tutorial, for example,https://learn.microsoft.com/en-us/answers/questions/ask.html

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,544 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jeanine Zhang-MSFT 9,181 Reputation points Microsoft Vendor
    2020-11-23T02:37:57.81+00:00

    Hi,

    The compiler generates a C1083 error when it can’t find a file it requires. As far as I'm concerned, the file is compiled by using a different /analyze compiler option setting than is used to precompile the headers. I suggest you could try disable code analysis on Build: right click on project, select properties on Tab Code analysis -> General, uncheck Enable Code analysis on Build.

    41714-11231.png

    For more details I suggest you could refer to the Doc: Fatal Error C1083

    Best Regards,

    Jeanine


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments