Error Log:
screenshot
text version:
F:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include\yvals_core.h(23,1): fatal error C1189: #error: STL1003: Unexpected compiler, expected C++ compiler. F:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include\yvals_core.h(23,1): fatal error C1189: #error: STL1003: Unexpected compiler, expected C++ compiler.
Error
Solution:
This problem is because the C++
header file is referenced in the C
file. Just replace cmath
with math.h
.
Read More:
- Cmake Error The C compiler identification is GNU 7.5.0 — The CXX compiler identification is unknown
- Cmake Setting Support C++11 This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options
- Tensorflow C++:You must define TF_LIB_GTL_ALIGNED_CHAR_ARRAY for your compiler
- [Solved] c++: internal compiler error: Killed (program cc1plus)
- [Solved] CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
- How to Solve Fatal error stdatomic in C/C++ Compilation
- [Solved] Keil C Error: error C141: syntax error near ‘=‘, expected ‘__asm‘
- [Solved] Fatal error C1083: unable to open include file: ‘d3dx9.h’
- C++:error C2872: ‘byte‘: ambiguous symbol [How to Solve]
- [Solved] fatal error C1083: Cannot open included files: “stdafx.h”: No such file or directory
- [Solved] Error c2226: syntax error: unexpected ‘lpstr’ type
- [Solved] fatal error C1083: Could Not Open Unable to open include file:“stdint.h”: No such file or directory
- [Solved] VScode Run C++ File Error: fatal error:opencv2\core.hpp:No such file or diretory
- C++: fatal error: variant: No such file or directory
- C++ clang Compile Error: error: expected unqualified-id
- [Solved] utils.c:33:18: fatal error: zlib.h: No such file or directory
- [Solved] internal compiler error Killed (program cc1plus)
- [Solved] jetson Compile pytorch Error: internal compiler error: Segmentation fault
- Grpc Compilation issues: “C++ versions less than C++11 are not supported.