PDA

View Full Version : Compile errors with sdk examples



robert
01-10-2003, 11:40 AM
Getting some compile errors that I can't seem to find the cause of.



c:\Program Files\NVIDIA Corporation\SDK\inc\glh\glh_genext.h(57): error C2146: syntax error : missing ';' before identifier 'glBlendColor'

etc
etc

c:\Program Files\NVIDIA Corporation\SDK\inc\glh\glh_genext.h(67): error C2501: 'PFNGLCOLORSUBTABLEPROC' : missing storage-class or type specifiers


Now this is using an example from the latest sdk, which includes files like so:




#include <GL/glut.h>
#include <GL/glext.h>

#define GLH_EXT_SINGLE_FILE
#include <glh/glh_extensions.h>
#include <glh/glh_nveb.h>
#include <glh/glh_obs.h>


I checked and it is using all the glh* and gl* files included in the sdk.