We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I hava used cmake -G "Xcode" .. to generate a xcode project and usage as follow:
cmake -G "Xcode" ..
u_char *data = stbi_load(imagePath, &width, &height, &nrChannels, 0);
but compiler make a error: No matching function for call to 'stbi_load'
I have changed glitter.hpp to:
#define STB_IMAGE_IMPLEMENTATION #include <stb_image.h>
The text was updated successfully, but these errors were encountered:
Mmm, I don't seem to have this issue locally. Which version of macOS are you running?
Sorry, something went wrong.
10.15.6
Did you add
#define STB_IMAGE_IMPLEMENTATION
to the top of your main.cpp file? I was getting a similar error but that fixed it for me.
Hi, I have the same problem, did you solve it?
No branches or pull requests
I hava used
cmake -G "Xcode" ..
to generate a xcode project and usage as follow:but compiler make a error: No matching function for call to 'stbi_load'
I have changed glitter.hpp to:
The text was updated successfully, but these errors were encountered: