PDA

View Full Version : missing WGL_FLOAT_COMPONENTS_NV



02-03-2004, 06:27 AM
Hi there,

I downloaded the source example "simple_float_pbuffer" from NVidia. The
problem is, that I cant compile it. There are missing some definitions:

Deleting intermediate files and output files for project
'simple_float_pbuffer - Win32 Debug'.
--------------------Configuration: simple_float_pbuffer - Win32
Debug--------------------
Compiling...
data_path.cpp
nv_dds.cpp
simple_float_pbuffer.cpp
d:\dpaul\opengl
stuff\beispielprogramme\simple_float_pbuffer\float _pbuffer_win.h(33) : error
C2065: 'WGL_FLOAT_COMPONENTS_NV' : undeclared identifier
d:\dpaul\opengl
stuff\beispielprogramme\simple_float_pbuffer\simpl e_float_pbuffer.cpp(86) :
error C2065: 'GL_FLOAT_RGBA_NV' : undeclared identifier
d:\dpaul\opengl
stuff\beispielprogramme\simple_float_pbuffer\simpl e_float_pbuffer.cpp(94) :
error C2065: 'GL_FRAGMENT_PROGRAM_NV' : undeclared identifier
Error executing cl.exe.

simple_float_pbuffer.exe - 3 error(s), 0 warning(s)

For example, "WGL_FLOAT_COMPONENTS_NV" is not defined in any headers of the
Nvidia OpenGL SDK, at least not in the newest I got from their server. In an
older version, it is defined in "wglext.h". Is there a reason, why they
removed it from this header? Or were did they put it?
Any help, how to compile it would be great.

Thanks
Dom

roffe
02-05-2004, 11:21 AM
Here is an updated wglext.h that has the tokens you are looking for: http://cvs1.nvidia.com/inc/GL/wglext.h