I’m a beginner. I’m planning to use opengl for my research. I’m using Microsoft VC++6.0(OS:Win NT). I have some doubts.
- Do i have to do any special settings in VC++6.0 for using opengl?
- What type of application i.e. what type of file i have to open for writing the codes? When we click File->New, which type of flie and project i should select?
- I typed the sample program from this webpage http://www.dev-gallery.com/programming/opengl/book/b_index.htm
when i compiled the program i got 3 errors.
d:\vs\vc98\include\gl\gl.h(1152) : error C2144: syntax error : missing ‘;’ before type ‘void’
d:\vs\vc98\include\gl\gl.h(1152) : error C2501: ‘WINGDIAPI’ : missing storage-class or type specifiers
d:\vs\vc98\include\gl\gl.h(1152) : fatal error C1004: unexpected end of file found
I tried some programs from other webpages as well. When i compile those programs - result is same 3 errors.
please help me and tell me how to proceed.
Thanks in advance