One lovely day when i was sitting and learning OpenGL after a written few programs before my Visual studio decided that thiers a “;” missing in winnt.h library
here are the errors…
--------------------Configuration: Blending - Win32 Debug--------------------
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
Error executing cl.exe.
Blending.exe - 2 error(s), 0 warning(s)
it’s frustrating plzzz tell me what to do…
Hi Nimrod, is winnt.h a file from Windows or your properly file ?
can you put here some parts of winnt code or your code instead ?
winnt.h is a simple #include file
i dont even call it i call windows.h
and it’s look like windows.h calls winnt.h automatic… It’s again… very weird but i’ll try to uninstall and reinstall VS maybe it will work…
but anyone have an answer for me i’ll be glad to read it
WINNT.H is a windows header. Maybe you accidentally modified it?
Try to find the WINNT.H file on your local drive and look up the line where the error occurs (in MSVC 6.0 you can do this by double clicking on the error text). See if the line causing the error is any different from the other lines in the file…
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.