Closed DarkMaker64 closed 9 years ago
Trying to include your library into my little game engine, but when i try to include glFontStash.h compiler (visual studio 2013) gives me hundreds of errors. if i don't include it i can't call glFonsCreate! i've included it so:
#include <stdio.h> // malloc, free, fopen, fclose, ftell, fseek, fread #include <string.h> // memset #define FONTSTASH_IMPLEMENTATION // Expands implementation #include "fontstash.h" #define GLFONTSTASH_IMPLEMENTATION // Expands implementation #include "glfontstash.h"
Solution found, i can't include both.
Trying to include your library into my little game engine, but when i try to include glFontStash.h compiler (visual studio 2013) gives me hundreds of errors. if i don't include it i can't call glFonsCreate! i've included it so: