minecraft-weekend icon indicating copy to clipboard operation
minecraft-weekend copied to clipboard

glad.h is not found

Open Servallou opened this issue 4 years ago • 3 comments

I don't know why in glad.c file there is an error which says "'glad/glad.h' file not found" in include/glad, but in result glad.h is actually in there.

Servallou avatar Aug 06 '21 10:08 Servallou

Same issue here :(

HeyItsAnushtubh avatar Aug 23 '21 06:08 HeyItsAnushtubh

same :(

zty012 avatar Feb 25 '23 03:02 zty012

I'm using Neovim with clangd as my LSP, and after manually specifying the paths in .clangd the problems went away. Here's how my config file looks like:

CompileFlags:
  Add: ["-I/your/directory/minecraft-weekend/lib/glad/include", "-I/your/directory/minecraft-weekend/lib/glfw/include", "-I/your/directory/minecraft-weekend/lib/cglm/include/" ]

GammaAJ avatar Jun 13 '24 07:06 GammaAJ