Open nathansizemore opened 7 years ago
Ran into this today using msvc on windows as well. STB_IMAGE_IMPLEMENTATION
is already defined in nanovg.c
, so removing the #define STB_IMAGE_IMPLEMENTATION
in my own code seemed to fix the problem.
Ah yes, removing that from example4 and example1 did the trick.
When changing CMake option
NANOGUI_BUILD_SHARED
toOFF
, the following errors are produced during compile time (-G "Unix Makefiles"
). Same error, but thought I'd throw both outputs here anyway.gcc
clang