-
I got error LNK2019
when I tried to do the tutorial at http://www.cprogramming.com/tutorial...l_program.html
I got 21 errors, all of them are the same: OpenGL.obj : error LNK2019: unresolved external symbol
I don't know what does that mean, I thought I followed all in the tutorial
I'm using VisualC++ 2008
-
It seems that you haven't linked against the correct .lib file for opengl.
It can be specified under project options -> linker -> input.
However, I'm unsure what file you should link against.
-
thanks Elysia, I got no more error messages :D
but the program didn't render a thing, it only renders the screen to the specified color at glClearColor() but I didn't see any object :(
(so much for typing all that code... it made my hands tired for not copy-paste it :( )
-
Ah, unfortunately, I'm not graphics export. I hardly know anything about 2D/3D, much less D3D and OpenGL...