I am currently working with an open source c++ project and have a weird intelliSense error. I have the following two *.cpp files in the same folder, and as can be seen in the image. the intellisense works in one file but not in the other.
c_cpp_properties.json is as follows:
{
"configurations": [
    {
        "name": "Win32",
        "includePath": [
            "${workspaceFolder}/src/**",
            "${workspaceFolder}/utils/**",
            "C:/libs/install/opencv-3.4.16/include",
            "C:/Program Files (x86)/aruco/include/aruco"
        ],
        "defines": [
            "_DEBUG",
            "UNICODE",
            "_UNICODE"
        ],
        "windowsSdkVersion": "10.0.19041.0",
        "compilerPath": "cl.exe",
        "cppStandard": "c++17",
        "intelliSenseMode": "windows-msvc-x64",
        "configurationProvider": "ms-vscode.cmake-tools"
    }
],
"version": 4
}
So I am sure the include paths are correct because it shows them correctly in the left file, and the projects gets compiled too. Does anyone know any tricks I can get it to show them correctly in the other file? I don't really want to disable error squiggles entirely either.

 
     
    