nanovg
nanovg copied to clipboard
stb_image conflicts with other libraries
which also use stb_image.
My current workaround is to use:
#define STB_IMAGE_STATIC
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
in each of the conflicting libraries (currently SOIL and nanovg) to hide each implementation.
I'm just throwing this out there for anyone else who's had headaches due to this.
You're not the only one running into it.
I'm having the same problem...