리눅스 환경에서 VSCode not recognising rwlocks from pthread.h 해결 방법
참고
https://qiita.com/Tebasaki314/items/d8a4fabf630c4a94201c
.vscode/c_cpp_properties.json 파일을 만들고 아래와 같이 넣어준다.
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [
"_GNU_SOURCE"
],
"compilerPath": "/usr/bin/gcc",
"cStandard": "c11",
"cppStandard": "c++17",
"intelliSenseMode": "gcc-x64",
"compilerArgs": [
"-pthread"
]
}
],
"version": 4
}
'ETC' 카테고리의 다른 글
ZSH-`LS_COLORS` (0) | 2022.06.25 |
---|---|
VSCODE EXTENTION (0) | 2022.02.21 |
VSCode GDB 라이브러리, 헤더 연결 방법 (0) | 2022.01.21 |
VSCode 테마 추천 "TextPad" (0) | 2021.10.13 |
Windows 11 Insider Preview 설치 후기 (0) | 2021.07.06 |