Began to learn OpenGL on this tutorial.

I rewrote everything exactly, removed _T , because not supported by new compilers, and the tutorial is quite old. For the same reason, I added here some explicit type conversions.

And here at compilation I receive a window with the error message:

Unable to start program 'C: \ Users \ Dima \ Documents \ Visual Studio2013 \ Projects \ OpenGL_PMG \ Debug \ OpenGL_PMG.exe'. Cannot find the specified file.

I do not understand what is wrong.

    2 answers 2

    If you are using an old tutorial, use the old versions of the OpenGL library — for example, DevC ++ 4 and Visual Studio C ++ 6.0 have different versions, and the code will be different, respectively. if you want to learn OpenGL, google TaoFramework. Moreover, I will say - http://esate.ru/uroki/OpenGL/uroki-OpenGL-c-sharp/ - here's a link to a first-class (I think) and adequate textbook on this case, I myself worked on them, all the examples are workers and what I think is important - the author of the articles can be contacted, he once answered my questions to me personally =)

    Good luck!

    • old openGL libraries - window.Open () // old opengl32.dll; new versions use (as an option) glut.dll: glutCreateWindow (); I hope I helped. In general, I would advise using DevC ++, it is excellent for this purpose. - Leonard Bertone
    1. What does the mark "C #"?
    2. The error is more than general. Most likely, the layout error.

    Personally, my opinion: I myself recently began to study ogl, and I would not recommend the lessons from the above link.
    Better http://www.opengl-tutorial.org/ru/
    http://ogltutor.netau.net
    http://tempload.com/category/opengl/

    • Thanks, I read too. I just typed this code half a day, I want to see the result. - Dima Kozyr