PDA

View Full Version : help - OpenGL SDK



Spark
03-31-2001, 06:05 AM
Hi,
Maybe a stupid question but every time I try to compile any of the programs in the OpenGL SDK I get the following errors:

c:\developing\opengl sdk\include\glh\glh_genext.h(307) : error C2146: syntax error : missing ';' before identifier 'glGetVertexAttribPointervNV'

c:\developing\opengl sdk\include\glh\glh_genext.h(307) : error C2501: 'PFNGLGETVERTEXATTRIBPOINTERVNVPROC' : missing storage-class or type specifiers

c:\developing\opengl sdk\include\glh\glh_genext.h(307) : fatal error C1004: unexpected end of file found

What have I forgot to import/link/do?

// Spark

loong98
03-31-2001, 09:55 AM
possible caused:-

-somewhere missing ";" near this syntax 'glGetVertexAttribPointervNV'.

c:\developing\opengl sdk\include\glh\glh_genext.h(307) : error C2146: syntax error : missing ';' before identifier 'glGetVertexAttribPointervNV'


- unable to solved this 'PFNGLGETVERTEXATTRIBPOINTERVNVPROC' by glh_genext.h library file.
- -There is no glh_genext.h file in sdk\include\glh folder.

c:\developing\opengl sdk\include\glh\glh_genext.h(307) : error C2501: 'PFNGLGETVERTEXATTRIBPOINTERVNVPROC' : missing storage-class or type specifiers

c:\developing\opengl sdk\include\glh\glh_genext.h(307) : fatal error C1004: unexpected end of file found

Spark
03-31-2001, 10:58 AM
I'm asking for a serius reply please...
I haven't changed anything in the examples, so I don't believe their is any errors in them..

loong98
03-31-2001, 01:09 PM
Then this must be no glh_genext.h file in sdk\include\glh folder.

Go and check it out above folder man.
Do u know what is this header file for...?
Come on and be a little more appreciate.
FYI.Not all the program in the net is error free.

cass
03-31-2001, 02:59 PM
Sounds like the glext.h you have does not match the one that glh_genext.h needs. The one it needs is in {SDK_ROOT}/include/glh/GL/glext.h.

Please also note that this is a "non-standard" glext.h, but it is required until we get all the new NV extensions included in the one that SGI maintains.

Thanks -
Cass

Spark
04-01-2001, 02:07 AM
Thank you Cass, that was the problem.

// Spark