Added SOIL library to project and F12 takes screenshot. Added Sprite_2d class to files but it is not in the project.