View Full Version : GLUquadric error using visual studio .net

10-16-2003, 01:17 PM
When trying to use any of the glu primitives (gluCylinder, gluSphere, etc.) in Windows XP using Visual Studio .NET, my program compiles and links correctly, but I get a run-time error:

Unhandled Exception: System.TypeLoadException: Could not load type GLUquadric from assembly test, Version=, Culture=neutral, PublicKeyToken=null.

I compiled the exact same program on a windows 2000 machine using visual studio 6.0 and the executable works fine on both computers. Does anybody know how to fix this problem?

10-16-2003, 04:36 PM
Managed C++ enabled?

10-17-2003, 01:09 PM
yeah, that was it - thanks!