I modified the configurations of my C/C++ extension on VS Code. I'm trying to use wxWidgets on my Mac (M1 2020) with the normal x86 version of VS Code (C/C++ IntelliSense doesn't work on ARM). The folder I want to include is in my home folder.
Here's how my config file looks now:
{
"configurations": [
{
"name": "Mac",
"includePath": [
"${workspaceFolder}/**",
"/Users/mario/wxWidgets/include"
],
"defines": [],
"macFrameworkPath": [
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks"
],
"compilerPath": "/usr/bin/clang++",
"cStandard": "c11",
"cppStandard": "c++98",
"intelliSenseMode": "macos-clang-arm64"
}
],
"version": 4
}
Now, I get two errors in my include statement:
Update includePath
Unable to open error code "wx/setup.h" of the origin file (dependency of "wx/wx.h")
The IncludePath should contain everything that's needed for that include statement to work, so I have no idea why it's throwing an error. Can anyone help me? I'm pretty new to coding GUIs with external frameworks so I'm confused. Thanks :)