m1macでvscodeを使用する際に、c_cpp_properties.jsonを下記のように設定していますが
#include <bits/stdc++.h>
を読み込ませようとすると、
'bits/stdc++.h' file not found
と、エラーが出力されてしまします。
lrwxr-xr-x 1 **** admin 85 2 8 18:15 ./include/bits/stdc++.h -> /opt/homebrew/Cellar/gcc/11.2.0_3/include/c++/11/aarch64-apple-darwin21/bits/stdc++.h
ファイルが存在することは、確認済みです。
その他設定の問題でしょうか。
"configurations": [ { "name": "Mac", "includePath": [ "${workspaceFolder}/**", "/opt/homebrew/include/**" ], "defines": [], "macFrameworkPath": [], "compilerPath": "/opt/homebrew/bin/g++", "cStandard": "gnu17", "cppStandard": "gnu++14", "intelliSenseMode": "macos-gcc-arm64" } ], "version": 4 }
あなたの回答
tips
プレビュー