so i don't know a lot for VS2015 i downlode it because i want to use it in my University to use OpenGL so i have this problem and i didn't fine any way to fix it
first of all i install the program in disk D: i have made a project in C and D and got the same problem i try to run it without debug and without cod
"Severity Code Description Project File Line Suppression State
Error LNK1104 cannot open file 'ucrtd.lib' ConsoleApplication2 D:\Users\Anmar\documents\visual studio 2015\Projects\ConsoleApplication2\ConsoleApplication2\LINK 1
"
this is photo for the problem when i add some code and run it
http://screencast.com/t/znmUrht6vyg
the code was
#include <glut.h>
void display()
{
glClear(GL_COLOR_BUFFER_BIT);
glColor3f(1.0, 0.0, 0.0);
glBegin(GL_POLYGON);
glVertex2f(-0.5, -0.5);
glVertex2f(-0.5, 0.5);
glVertex2f(0.5, 0.5);
glVertex2f(0.5, -0.5);
glEnd();
glFlush();
}
int main(int argc, char** argv)
{
glutInit(&argc, argv);
glClearColor(1.0, 1.0, 1.0, 0.0);
glutDisplayFunc(display);
glutMainLoop();
}
so any way to fix this ?