C/C++ >> WINNT.H problem please help!!!!!!!!!!!!!!
Posted by AcidBurn on 22:13:00 03-28-2002
I am trying to compile an OpenGL program and when I do I receive the following compile errors (in MSVC++ fyi) :

c:\program files\microsoft visual studio\vc98\include\winnt.h(1092) : error C2146: syntax error : missing ';' before identifier 'KSPIN_LOCK'
c:\program files\microsoft visual studio\vc98\include\winnt.h(1092) : fatal error C1004: unexpected end of file found


Can anyone help with the problem or solution? help? PLEASE HELP!!!

[ This Message was edited by: AcidBurn on 2002-03-28 22:13 ]
Posted by KaGez on 02:24:00 03-29-2002
I _highly_ recommend using the GLut library for windowing and input stuff if you program for OpenGL. With the GLut library you won't have such sick windows library errors.
[addsig]
Posted by -KEN- on 03:25:00 03-29-2002
ignore the linux-lovin heathen

What you need to do is post some code, my man. Can't just magically draw up your solution for you without the problem code. [addsig]
Posted by KaGez on 13:12:00 03-29-2002
-KEN-:
heh... as if you'd know what GLut is ....
[addsig]
Posted by -KEN- on 17:32:00 03-29-2002
I do, I used to do GL programming (I wanted to get a feeling for programming in all its forms). When you code GL programs under MSVC you usually use the GLut library (it comes with it) so I think the point is moot. In fact, in every sample of GL code I've seen it's been used.

::still waiting for code sample::

_________________
-Ken

[ This Message was edited by: -KEN- on 2002-03-29 17:33 ]
Posted by AcidBurn on 17:55:00 03-29-2002
nvm guys.. just reinstalled MSVC++ and it works now.. thx anyway
Posted by KaGez on 01:59:00 03-30-2002
huh?
so now we don't know what the actual error was but it7s microsoft! if windows scandisks up somehow, reboot and everything might be ok again, if a program goes wierd just reinstall it
[addsig]
Posted by -KEN- on 02:53:00 03-30-2002
Quote:
On 2002-03-30 01:59, KaGez wrote:
huh?
so now we don't know what the actual error was but it7s microsoft! if windows scandisks up somehow, reboot and everything might be ok again, if a program goes wierd just reinstall it


how did I know that was coming?
[addsig]
Posted by MoX on 08:01:00 03-30-2002
Sorry -KEN-, but you have to admit KaGez is at least a bit right, don't you? [addsig]
Posted by -KEN- on 17:06:00 03-30-2002
Well I don't have to, but I will to humor y'all....right, maybe I won't. [addsig]
Posted by KaGez on 02:14:00 03-31-2002
ok, I admit that I dislike windows, yes, but that above is a fact, and not only because I dislike it
[addsig]