
Check the error file and the variable definition for header files that contain each other!
In short, when the compiler compiles, the two header files contain each other, and recursive inclusion occurs.
Mutual inclusion can be resolved by the approach described in this article.
Read More:
- Fatal error C1010: unexpected end of file encountered while looking for precompiled header. Did you forget to add “ා include” StdAfx. H to the source
- Expected unqualified ID before numeric constant
- Error: global variable is ambiguous (conflict between using namespace STD and global variable)
- Fatal error C1853 error occurs when there are mixed .c files in the VS project
- Bus error: 10
- Solution of header file StdAfx. H “no such file or directory” in Visual Studio
- error C2146: syntax error : missing ‘;’ before identifier ‘fd’
- Using the third party OpenGL in codeblock
- Error tips:array type has incomplete element type
- Aidl communication and problems encountered
- Summary of problems encountered in compiling opengl code
- Expected unqualified ID before string constant
- The C compiler identification is unknown
- The corresponding solutions to the problems of various external symbols that cannot be resolved
- Error lnk1120: 2 unresolved external commands: vtkrenderingopengl_ Autoinit (construct, destroy), which is referenced in
- Recipe for target’Project 1.exe’ failed Cause analysis and solution
- Analysis of compilation errors of “error conflicting types for function”
- template with C linkage
- Compiling OBS studio on MAC and windos platforms
- Three kinds of errors in C + + program