PDA

View Full Version : OpenGL SDK compilation problems


gib bogle
09-13-02, 04:54 PM
I have been trying to build some of the code in nVidia's OpenGL SDK, but there are some things the compiler doesn't like. Following a suggestion from an nVidia person, I upgraded to gcc 3.0. This eliminated many errors, but left one that prevents me from building a program I'm particularly interested in, the ASE read utility src/libs/nv_util/ase.cpp. The error message is:

In file included from ase.cpp:20:
/usr/local/include/NVIDIA/glh_linear.h:1572: template-id `operator==<>' for
`bool glh::ns_float::operator==<>(const glh::ns_float::plane&, const
glh::ns_float::plane&)' does not match any template declaration
/usr/local/include/NVIDIA/glh_linear.h:1575: template-id `operator!=<>' for
`bool glh::ns_float::operator!=<>(const glh::ns_float::plane&, const
glh::ns_float::plane&)' does not match any template declaration

Can someone suggest the source of this error (my C++ knowledge is rudimentary)? Alternatively, if anyone has developed an ASE reader in C/C++ I'd be happy to be given it.

Gib Bogle

gib bogle
09-13-02, 04:56 PM
!

Allen Barnett
09-18-02, 09:15 AM
FWIW, I checked out the nvsdk from the CVS server, see http://developer.nvidia.com/docs/IO/1462/SUPP/AutoupdateGuide.htm#update_manual
I was then able to cd into OpenGL/src/libs/nv_util/ and do a make without incident. This was on a RedHat 7.2 system using the supplied "2.96" version of gcc. (Now, actaully compiling the demos is another issue.)

About the smilies: In the message editor, you can select an Option (just below the typein box) to disable smilies.

Allen