You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Undefined symbols for architecture arm64:
"_stbi_image_free", referenced from:
_main in main-c6c8c2.o
"_stbi_load", referenced from:
_main in main-c6c8c2.o
"_stbi_set_flip_vertically_on_load", referenced from:
_main in main-c6c8c2.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I set up the stb file as
#define STB_IMAGE_IMPLENENTATION
#include<stb/stb_image.h>
because I have a separate folder with stbi to keep it the same as everything else. googling it doesn't show a solution, and I'm too dull to figure this out on my own. I tried searching for it, but I haven't seen a solution.
The text was updated successfully, but these errors were encountered:
Undefined symbols for architecture arm64:
"_stbi_image_free", referenced from:
_main in main-c6c8c2.o
"_stbi_load", referenced from:
_main in main-c6c8c2.o
"_stbi_set_flip_vertically_on_load", referenced from:
_main in main-c6c8c2.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I set up the stb file as
#define STB_IMAGE_IMPLENENTATION
#include<stb/stb_image.h>
because I have a separate folder with stbi to keep it the same as everything else. googling it doesn't show a solution, and I'm too dull to figure this out on my own. I tried searching for it, but I haven't seen a solution.
The text was updated successfully, but these errors were encountered: