As the name suggest I get the following error while trying to #define STB_IMAGE_IMPLEMENTATION: LNK2005 stbi_convert_iphone_png_to_rgb already defined in main.obj
I was following the following Vulkan tutorial: https://docs.vulkan.org/tutorial/latest/06_Texture_mapping/00_Images.html#_introduction
I added stb_image.h header file (wrapped in another folder) in my visual studio libraries folder and then included it just like in the tutorial.
Removing #define STB_IMAGE_IMPLEMENTATION appears to remove the errors LINK2005 errors but generates LINK2019 error stating unresolved reference "stbi_load" from "createTextureImage" method