Re: Problem running OpenGl

New Message Reply Date view Thread view Subject view Author view

From: Kevin Meinert (kevn++at++vrac.iastate.edu)
Date: 07/25/2001 05:44:14


did you include windows.h?

you need it included before including gl.h and glu.h - only on windows
though (do an #ifdef WIN32 around the #include <windows.h>)

++at++--++at++---++at++---++at++----++at++-----++at++------++at++------++at++-----++at++----++at++---++at++---++at++--++at++
Kevin Meinert __ _ __
http://www.vrac.iastate.edu/~kevn \ || \| \ / `
Virtual Reality Applications Center \ ||.-'|--\
Howe Hall, Iowa State University, Ames Iowa \|| \| \`__,
-----------------------------------------------------------

On Wed, 25 Jul 2001, Sunila Viyyuri wrote:

>
> Hi,
>
> I am new to OpenGl. I am working on windows NT 2000
> and I am using Microsoft visual c++ v6.0. I tried some
> example code to compile. It shows errors as below.
> These files gl.h, glu.h, glaux.h files are available
> in vc98/include/GL directory. Please suggest me in
> this matter.
>
> d:\microsoft visual studio\vc98\include\gl\gl.h(1135)
> : error C2144: syntax error : missing ';' before type
> 'void'
> d:\microsoft visual studio\vc98\include\gl\gl.h(1135)
> : error C2501: 'WINGDIAPI' : missing storage-class or
> type specifiers
> d:\microsoft visual studio\vc98\include\gl\gl.h(1135)
> : fatal error C1004: unexpected end of file found
> Error executing cl.exe.
>
> Thanks in advance,
>
> Sunila.
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Jul 25 2001 - 05:43:58 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.