Lesson 1 and windows NT4
Hi everyone
Have been trying to get lesson 1 to compile, but not having a lot of look. I have used opengl before in a console application and have had no problems, but never used a windows application.
Have checked the code 3 times and downloaded the code from the nehe web site and still no lick.
Keep getting the following errors:
c2143 syntax error: missing ; before type
c2065 pfd undeclard identifier
the debug pointer is set at the pixelformatdescriptor declaration. I have checked everything I can think of and cannot remove it, but if I move the declaration to the top of the create window function it compiles ok.The only problem is that the code still does not do anything.
If i select full screen, it is just black (have a funct to draw a triangle added) and if I choose windowed then it does not show.
I am running a duel pentium setup under nt4, was wondering if this was the problem
Any help would be greatl.
popeye
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement