SegmentAnythingin3D icon indicating copy to clipboard operation
SegmentAnythingin3D copied to clipboard

rasterize_points.cu compile error

Open zuodexin opened this issue 1 year ago • 4 comments

After runing conda env create --file environment.yml, I got the following error:

rasterize_points.cu(117): error: argument of type "int *" is incompatible with parameter of type "float *"
      
      rasterize_points.cu(118): error: argument of type "__nv_bool" is incompatible with parameter of type "int *"
      
      2 errors detected in the compilation of "rasterize_points.cu".
      error: command '/usr/local/cuda/bin/nvcc' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> diff_gaussian_rasterization

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

failed

CondaEnvException: Pip failed

My environment: nvcc: Cuda compilation tools, release 11.6, V11.6.124 gcc (Ubuntu 8.4.0-3ubuntu2) 8.4.0

I have tried nvcc 11.7, but still got the same problem.

zuodexin avatar May 18 '24 09:05 zuodexin

Hello, can you install the original rasterizer provided by 3D-GS?

Jumpat avatar May 23 '24 09:05 Jumpat

@Jumpat Hello, I was able to configure the rasterizer of the original 3DGS, but the same issue as above appeared.

ZestfulJX avatar Aug 24 '24 15:08 ZestfulJX

hello, is this problem has been solved?

zhangzhang6608 avatar Mar 25 '25 08:03 zhangzhang6608

rasterize_points.cu(118): error: argument of type "__nv_bool" is incompatible with parameter of type "int *"

I guess there may be some wrongly defined vars like the newly added 'mask'. You can check its type in different files. Different compilers may have different compatibility requirements for variable types.

Jumpat avatar Apr 22 '25 03:04 Jumpat