In Linker drop-down menu select System > in beside menu select the first one, SubSystem > click the down arrow at the end of the field > select Console (/SUBSYSTEM:CONSOLE). In Additional Dependencies wizard, click OK.Copy opengl32.lib freeglutd.lib glew32d.lib and paste in Additional Dependencies wizard's upper-most text box.In Linker drop-down menu select Input > in beside menu select the first one, Additional Dependencies > click the down arrow at the end of the field > Edit. In Additional Library Directories wizard, click OK.This is done through tools->options->projects and solutions->vc++. If you have graphics.h on your computer then you must make sure that the path where it resides is in the include search path. But the file graphics.h can not be found by the compiler.
include 'graphics.h' or includeVISUAL STUDIO SFML CANNOT OPEN SOURCE FILE CODE
Copy C:\GL\GLEWsrc\build\lib\Debug > click first icon > paste. It is simple, in your code you have the line.Copy C:\GL\GLUTsrc\build\lib\Debug > click first icon > paste.
![visual studio sfml cannot open source file visual studio sfml cannot open source file](https://programmerah.com/wp-content/uploads/2021/02/20190212181852515.png)
Double click Linker > click General > Additional Library Directories > click the down arrow at the end of the field > click Edit.
![visual studio sfml cannot open source file visual studio sfml cannot open source file](https://hub.packtpub.com/wp-content/uploads/2018/03/pexels-photo-539763-696x454.jpeg)
Name in image is different, but it does'nt matter. In Solution Explorer wizard, right click Project's name that is GLUTsrc-GLEWsrc > select Properties.