jdah / minecraft-weekend

Minecraft, but I made it in 48 hours.
MIT License
3.95k stars 428 forks source link

glad.h is not found #59

Open Servallou opened 3 years ago

Servallou commented 3 years ago

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.

HeyItsAnushtubh commented 3 years ago

Same issue here :(

zty012 commented 1 year ago

same :(

GammaAJ commented 3 months ago

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/" ]