I've been trying to use stb_image.h to load PNG files, and it works fine when including it in one .cpp file, but if I try to include it in a .hpp file to which another .cpp file is linked, I can't call the methods without getting a linker error.
I noticed that SFML is using this file for most of its image loading, which is why I posted this here, since I would assume that some of SFML's many header files use it (?). I apologize if this is the wrong category or I shouldn't have posted this here, but I would like to know how, if possible, I could "fix" this.