Hi, I’m trying to use quadric objects in my program but I keep getting a runtime error when i call gluNewQuadric().
When I was trying to figure out what was wrong I made a really short sample program:
int main(int argc, char *argv)
test = gluNewQuadric();
this code still throws the same exception when it gets to gluNewQuadric(). Here is the message:
Unhandled Exception: System.TypeLoadException: Could not load type GLUquadric from assembly final_project, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
Press any key to continue
Am I missing something obvious? I know I have gotten this to work before but I can’t figure out what the deal is now.
Thanks a lot for any help!