Advertisement

First Opengl Program Help

Started by September 22, 2000 10:59 PM
1 comment, last by BlackWidow 24 years, 2 months ago
Hi Guys, this is my first post here, and I would really appreciate someones help. I tried downloading and running NeHe opengl lessons. The EXE files worked great but when I tried compile the code myself I encountered an error. I believe that I have correctly setup my system, placing the nessassary header dll and libarary files in the correct directories. The error seems to be related to winerror.h file. the machine I am try the lessons on is using Vc6++ enterprise edition running Win98 second edition. i have posted the compile errors below , I would really appreciate any help anyone can give on how to correct the problem and successfully compile an opengl program. thanks in advance. Build Log --------------------Configuration: lesson1 - Win32 Debug-------------------- Command Lines Creating temporary file "C:\WINDOWS\TEMP\RSP1005.TMP" with contents [ /nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /Fp"Debug/lesson1.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c "C:\Downloads\Lesson01\lesson1.cpp" ] Creating command line "cl.exe @C:\WINDOWS\TEMP\RSP1005.TMP" Output Window Compiling... lesson1.cpp d:\program files\microsoft visual studio\vc98\include\winerror.h(11438) : error C2018: unknown character ''0x8'' d:\program files\microsoft visual studio\vc98\include\winerror.h(11438) : error C2018: unknown character ''0x8c'' d:\program files\microsoft visual studio\vc98\include\winerror.h(11438) : error C2018: unknown character ''0x3'' d:\program files\microsoft visual studio\vc98\include\winerror.h(11438) : error C2018: unknown character ''0x9a'' d:\program files\microsoft visual studio\vc98\include\winerror.h(11438) : error C2018: unknown character ''0x94'' d:\program files\microsoft visual studio\vc98\include\winerror.h(11438) : error C2018: unknown character ''0x8f'' d:\program files\microsoft visual studio\vc98\include\winerror.h(11438) : error C2018: unknown character ''0xbf'' d:\program files\microsoft visual studio\vc98\include\winerror.h(11438) : error C2146: syntax error : missing '';'' before identifier ''E'' d:\program files\microsoft visual studio\vc98\include\winerror.h(11438) : error C2501: ''_xv'' : missing storage-class or type specifiers d:\program files\microsoft visual studio\vc98\include\winerror.h(11438) : fatal error C1004: unexpected end of file found Error executing cl.exe. Results lesson1.obj - 10 error(s), 0 warning(s)
Try posting lines 11436 - 11440 of winerror.h in your next message... I have a feeling that you might need to reinstall since my line 11438 (the line that gave you 10 errors) is just a commented line. Not even any text, just two slashes.

S.
Advertisement
Oh, in case you don''t know, to get to a specific line number that''s got an error, just double-click on the error in the build log at the bottom of the screen. It should take you there.

S.

This topic is closed to new replies.

Advertisement