So no one knows? Is it because I use Visual Studio 2010? Is it because I had to remove the 64x configurations from soil.vcproj before compiling SOIL.lib? What have I done differently than what was taught to me in the tutorial?
It probably does not find your texture file. The file is most likely being looked for in the working directory (aka current directory) when your program executes - it is not necessarily the same directory your executable is in. In Visual Studio you can see/change the working directory that is used in the Project Properties dialog under General/Debugging.
PS: Not really an OpenGL question, so a general programming forum may be a better option and give you an answer quicker.
I checked the working directory and it’s set to project folder like it should, but I tried setting it to the folder where my textures were anyways and it didn’t fix it.
I had the same . Solution was to set full path to file like C:/TestProjectsCPP/OpenGLTutorials/OpenGLTutorials/res/images/image1.jpg . After this image was loaded and shown. Spent a day on this too