Skip to content

Big Sur更新后编译c++文件找不到头文件 #17

@dandingol03

Description

@dandingol03

clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
/Users/wangjunjie/Documents/cmake_source/t1/main.cpp:1:10: fatal error: 'iostream' file not found
#include
^~~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions