View Single Post
Old 07-27-02, 09:39 PM   #1
thursto77
Guest
 
Posts: n/a
Default syntax error when attempting to compile NVOpenGL SDK

I apologize if this has been addressed before, but I only recently came to this forum and all previous posts had been removed.
Basic information:
Mandrake 8.1 UP
PNY GeForce 4 Ti 4600

I downloaded and installed without problems the kernel drivers and the GLX libraries. I then downloaded the NVSDK and attempted to compile the the OpenGL portion using the included Makefiles. When attempting to do so, any of the source files that include the glh_extensions.h --> glh_genext.h generate a big list of syntax errors. The errors are not very descriptive and look like this:

../../include/glh/glh_genext.h:100: syntax error before ";"
../../include/glh/glh_genext.h:101: syntax error before ";"
.
.
.
../../include/glh/glh_genext.h:500: syntax error before ";"

When I look through the glh_genext.h the lines correspond to the external declerations of the different extension functions which are originally defined in glext.h. What it looks like to me is that the something is not getting defined or is incorrectly defined which is causing they syntax errors when the compiler gets to the glh_genext.h file. I'm sure there is something small that I'm missing but I am at a loss as to what it is. Any assistance would be appreciated, thanks.

-thursto77
thursto77@hotmail.com
  Reply With Quote