First OpelGL programming problem

Suki

you will get nothing
Joined
Oct 23, 2002
Messages
509
Location
canada
hello,

i've been doing some C++ programming in my free time, I want to start with graphical user interface and such, Opel Gl looks good but, since i know nothing about it, am starting on this tutorial and have problems right away:

the first one i compile then at execution have 1 unresolved external symbol

openGl test.obj : error LNK2001: unresolved external symbol _main


why is this?
what am i doing wrong?
 
Are you using GLUT? If so, you need to set your project up as a console application (not windows) and use int main(int argc, char** argv) instead of winmain.
 
GLUT is better.
 
Back
Top Bottom