-
I am compiling using Visual Studio CMake and I keep getting the error despite the fact that I have Every where I look all say that I cannot define it inside a header file but nothing has worked for me. I have used Is there something I have to do in CMakeLists.txt? Am I missing something here? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
Do this: |
Beta Was this translation helpful? Give feedback.
Well it looks like you're not including Image.cpp in the build at all, but I reiterate, that is a problem in your build setup and with your code and has nothing to do with stb_image in any way. We can't help you debug that.