Under OS X 10.9.5 using XCode 6.0.1 I am running into the following issue when I try to run make
from the terminal:
fatal error: \'wchar.h\' fil
xcode-select --install worked for me.
additionally if you're using visual studio code and your intellisense acts weird -
.vscode
in your project root.c_cpp_properties.json
file and paste the below contentsproject_dir > .vscode > c_cpp_properties.json
{
"configurations": [
{
"name": "macOS",
"includePath": ["${workspaceFolder}/**"],
"defines": [],
"macFrameworkPath": ["/System/Library/Frameworks", "/Library/Frameworks"],
"compilerPath": "/usr/bin/clang",
"cStandard": "c11",
"cppStandard": "c++17",
"intelliSenseMode": "${default}"
}
],
"version": 4
}