How to solve stbi_load error of “no SOI”?

I’m loading a picuture by stbi_load, but there was an error of no SOI. I had used the picture in another project and it was loaded successfully. So I think the path of picture and the picuture is valid. But I don’t know why the error occured? Here are some of the main code: I use loadTextureFromFile(“./Data/awesomeface.png”, GL_TRUE); to … Read more