1

I get unresolved symbol error while using stbi_set_flip_vertically_on_load function.

I have added the #include <stb_image.h> file as header , do i need to do something else also ?

stb_image - v2.19

#include <stb_image.h>

stbi_set_flip_vertically_on_load(true); // this gives unresolved symbol error though
Rabbid76
  • 202,892
  • 27
  • 131
  • 174
Summit
  • 2,112
  • 2
  • 12
  • 36

1 Answers1

1

You also need to compile stb_image. This should work:

#define STB_IMAGE_IMPLEMENTATION
#include <stb_image.h>
SurvivalMachine
  • 7,946
  • 15
  • 57
  • 87