danfis / libccd

Library for collision detection between two convex shapes
Other
478 stars 108 forks source link

make problem #23

Open yunxiaoshan opened 7 years ago

yunxiaoshan commented 7 years ago

Hi, When I make it, it happens the errors:


/ccd/vec3.h:34:4: error: #error You must define CCD_SINGLE or CCD_DOUBLE
 #  error You must define CCD_SINGLE or CCD_DOUBLE
    ^
./ccd/vec3.h:88:5: error: unknown type name ‘ccd_real_t’
     ccd_real_t v[3];
...........

bellow are almost the ccd_real_t problem. So how to fix it?

danfis commented 7 years ago

Provide more information. Post step by step what you did with complete logs.

sushuang9210 commented 7 years ago

Adding #define CCD_DOUBLE to vec3.h may solve the problem.