编译meshlab

1. 修改 f:\meshlab\vcglib\vcg/complex/trimesh/point_sampling.h 第624行 把

n_samples_per_edge = (int)(sqrt(n_samples) +1.0);

改成

n_samples_per_edge = (int)(sqrt((double)n_samples) +1.0);

 

2.编辑F:\meshlab\meshlab\src\external\lib3ds-1.3.0\lib3ds\types.h

#ifdef _MSC_VER
#ifdef LIB3DS_EXPORTS
#define LIB3DSAPI __declspec(dllexport)
#else              
#define LIB3DSAPI __declspec(dllimport)
#endif          
#else
#define LIB3DSAPI
#endif

 改成

//#ifdef _MSC_VER
//#ifdef LIB3DS_EXPORTS
//#define LIB3DSAPI __declspec(dllexport)
//#else               
//#define LIB3DSAPI __declspec(dllimport)
//#endif           
//#else
#define LIB3DSAPI
//#endif
 

 

 

 

你可能感兴趣的:(F#)