Thank you, but now the program opens and immediately closes, and in the console window it says it cannot open the file. I changed "sprite.tga" to a .png file I put in the same folder as the project, files, etc. Here's the exact error from the console window:
"Failed to load image "myimage.png". Reason : Unable to open file"