Ceebox / cbEngine

A small, experimental 64x64 pixel based game engine.
MIT License
36 stars 5 forks source link

Problem with the libglad.a #9

Open elfatairy opened 1 year ago

elfatairy commented 1 year ago

How can I install libglad.a. It isn't installed with the files from glad website. What configirations should i use

otidev commented 1 year ago

Try compiling glad.c into a library file.

gcc -c glad.c -I ./include/glad/ -I ./include/KHR/ -I ./include/GLFW/ -I ./include/ -o glad.o
ar rcs libglad.a glad.o

Then you can just put that in the lib folder you created.