level 1
windyczm1021
楼主
电脑是mac系统的,按照网上的教程,基本的配置都配好了,但是运行比如带<cstdio>或者iostream这种头文件会报错,stdio.h会出很多警告,但是可以运行,我试了用CLion可以跑,不晓得是我电脑环境不对,还是编辑器配置有问题。。。ORZ



完整报错如下:
<cstring> tried including <string.h> but didn't find libc++'s <string.h> header. This usually means that your header search paths are not configured properly. The header search paths should contain the C++ Standard Library headers before any C Standard Library, and you are probably using compiler flags that make that not be the case.
2023年11月23日 08点11分
1



完整报错如下:<cstring> tried including <string.h> but didn't find libc++'s <string.h> header. This usually means that your header search paths are not configured properly. The header search paths should contain the C++ Standard Library headers before any C Standard Library, and you are probably using compiler flags that make that not be the case.