Jump to content
  • Advertisement
Sign in to follow this  
DrStroodle

Coldet compiling problems

This topic is 4863 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

Hi all - im attempting to compile coldet in Visual C++ 7.1 .NET, and i am running into bugs in teh code that i am not sure how to fix. Current errors are: binary '-': no operator which takes right hand... which is called on this line: int getTriangleIndex(BoxedTrinangle *bt) { return int(bt-m_Triangles.begin()); } which looks as if it should be a pointer, however, there is no memeber variable of m_Trinangles inside. Even more confusing, it seems to be subtracting arbitrary pointers and iterators? so im not sure what this function is attempting to access, or else id fix this mess myself. Any help with compiling this would be great :)

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!