Forceflow / cuda_voxelizer

CUDA Voxelizer to convert polygon meshes into annotated voxel grids
MIT License
578 stars 97 forks source link

cmake error #81

Open gjgjgjfff opened 5 months ago

gjgjgjfff commented 5 months ago

/data/guojingfeng/trimesh2/include/Color.h(165): error: more than one instance of overloaded function "cbrt" matches the argument list: function "cbrt(float)" function "std::cbrt(float)" argument types are: (float)

/data/guojingfeng/trimesh2/include/Color.h(165): error: more than one instance of overloaded function "cbrt" matches the argument list: function "cbrt(float)" function "std::cbrt(float)" argument types are: (float)

1 error detected in the compilation of "/tmp/tmpxft_000027fe_00000000-6_voxelize_solid.cpp1.ii". CMakeFiles/cuda_voxelizer.dir/build.make:160: recipe for target 'CMakeFiles/cuda_voxelizer.dir/src/voxelize_solid.cu.o' failed make[2]: [CMakeFiles/cuda_voxelizer.dir/src/voxelize_solid.cu.o] Error 1 make[2]: Waiting for unfinished jobs.... 1 error detected in the compilation of "/tmp/tmpxft_000027fb_00000000-6_voxelize.cpp1.ii". CMakeFiles/cuda_voxelizer.dir/build.make:145: recipe for target 'CMakeFiles/cuda_voxelizer.dir/src/voxelize.cu.o' failed make[2]: [CMakeFiles/cuda_voxelizer.dir/src/voxelize.cu.o] Error 1 CMakeFiles/Makefile2:82: recipe for target 'CMakeFiles/cuda_voxelizer.dir/all' failed make[1]: [CMakeFiles/cuda_voxelizer.dir/all] Error 2 Makefile:90: recipe for target 'all' failed make: *** [all] Error 2

Can you help me figure out what the problem is?

Forceflow commented 4 months ago

Can you compile trimesh2 on its own?