'fatal error: GLFW/glfw3.h: No such file or directory

when I try to import GLFW I get an error in VSCode saying "fatal error: GLFW/glfw3.h: No such file or directory". I read some articles about this error but could not understand how to solve this issue. Thank you for your help!

Project structure:

src/
   main.c
lib/
   GLFW/
       include/
              GLFW/
                  glfw3.h
       glfw3.lib

Here is my main.c code:

#include <stdio.h>
#include <GLFW/glfw3.h> // fatal error: GLFW/glfw3.h: No such file or directory

int main() {
    printf("Hello, World!");

    return 0;
}

c_cpp_properties.json:

{
    "configurations": [
        {
            "name": "Win32",
            "includePath": [
                "${workspaceFolder}\\src\\**",
                "${workspaceFolder}\\lib\\**"
            ],
            "defines": [
                "_DEBUG",
                "UNICODE",
                "_UNICODE"
            ],
            "windowsSdkVersion": "10.0.19041.0",
            "compilerPath": "C:\\MinGW\\bin\\gcc.exe",
            "cStandard": "c17",
            "cppStandard": "c++17",
            "intelliSenseMode": "windows-gcc-x64"
        }
    ],
    "version": 4
}

tasks.json

{
    "version": "2.0.0",
    "tasks": [
        {
            "type": "cppbuild",
            "label": "C/C++: gcc.exe build active file",
            "command": "C:\\MinGW\\bin\\gcc.exe",
            "args": [
                "-g",
                "${file}",
                "-o",
                "${fileDirname}\\${fileBasenameNoExtension}.exe",
            ],
            "options": {
                "cwd": "${fileDirname}"
            },
            "problemMatcher": [
                "$gcc"
            ],
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "detail": "compiler: C:\\MinGW\\bin\\gcc.exe"
        }
    ]
}


Solution 1:[1]

c_cpp_properties.json

    "forcedInclude": [
        "C:/VulkanSDK/1.3.204.1/Include/vulkan/vulkan.h",
        "C:/glfw-3.3.6.bin.WIN64/include/GLFW/glfw3.h"
    ]


    "includePath": [
        "${workspaceFolder}/include",
        "C:/VulkanSDK/1.3.204.1/Include/**",
        "C:/glfw-3.3.6.bin.WIN64/include/**",
        "C:/glm"
    ]

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 aekarahan