Compiler error while compiling the RAPID library on VS2008

Posted by Demi on Stack Overflow See other posts from Stack Overflow or by Demi
Published on 2010-04-23T18:22:10Z Indexed on 2010/04/23 18:23 UTC
Read the original article Hit count: 182

Filed under:
|
|
|

I've downloaded the RAPID library and tried to compile it on Microsoft Visual Studio 2008. However, I'm getting the following compiler error: C4430 missing type specifier - int assumed. Note: C++ does not support default-int at this code segment (the exact line that produces the error is int flag):

    class RAPID_model
{
public:

  box *b;
  int num_boxes_alloced;

  tri *tris;
  int num_tris;
  int num_tris_alloced;

  int build_state;

  int build_hierarchy();

  friend RAPID_Collide(double R1[3][3], double T1[3], 
         double s1, RAPID_model *RAPID_model1,
         double R2[3][3], double T2[3], 
         double s2, RAPID_model *RAPID_model2,
         int flag);

Can anyone please help me with this?

Thank you

© Stack Overflow or respective owner

Related posts about vs2008

Related posts about collision