Advertisement Jump to content
Sign in to follow this  

Coldet compiling problems

This topic is 4932 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
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!