I am using Visual C++ .NET and I am trying to set up a quadratic to use in my opengl window. I have a global quadratic as such
GLUquadricObj *quadratic;
I then try to initialize the quadritic as such…
quadratic=gluNewQuadric();
and this is done at the end of the initializing of opengl. It compiles and links fine, but then when I try to run it, I get a break with this error ->
An unhandled exception of type ‘System.TypeLoadException’ occurred in temporary.exe
Additional information: Could not load type GLUquadric from assembly temporary, Version=1.0.1598.17136, Culture=neutral, PublicKeyToken=null.
what could this be? Thank you anyone for your help