Jump to content
  • Advertisement
Sign in to follow this  
benzwong

OpenGL gluCylinder error on managed code

This topic is 4588 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Recently I've followed a tutorial to import a 3ds model into my opengl application. However, that tutorial's project properties in VC++.NET has "Use Managed Code" turned on ("Yes" value). Once I turn that on, my gluCylinder method generates the error below. An unhandled exception of type 'System.TypeLoadException' occurred in Test.exe Additional information: Could not load type GLUquadric from assembly Test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null If I don't turn on the managed code property, I can't load the model in. It sorts of goes into an infinite loop on reading the subchunks. Any idea how should i proceed from here? PS. I got my 3ds loader tutorial from the following link. http://www.ultimategameprogramming.com/demoDownload.php?category=OpenGL&page=7

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!