PDA

View Full Version : GLUquadric error using visual studio .net



EricAlton
10-16-2003, 12: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=0.0.0.0, 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?

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

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