Jumpat / SegmentAnythingin3D

Segment Anything in 3D with NeRFs (NeurIPS 2023)
Apache License 2.0
899 stars 54 forks source link

rasterize_points.cu compile error #72

Open zuodexin opened 6 months ago

zuodexin commented 6 months ago

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.

Jumpat commented 6 months ago

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

hitzjx commented 3 months ago

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