NVlabs / instant-ngp

Instant neural graphics primitives: lightning fast NeRF and more
https://nvlabs.github.io/instant-ngp
Other
15.57k stars 1.89k forks source link

Compilation error: src/optix/pathescape.cu(77): error: identifier "to_float3" is undefined #1514

Closed duklin closed 4 months ago

duklin commented 4 months ago

The fail happens because of the Fix CI compilation commit.

The methods to_float3 and to_float4 are still used in the repository and are removed in the commit.

By simply restoring the two methods, the build is successful.

Tom94 commented 4 months ago

The reason the functions were removed is that they are now part of the tiny-cuda-nn submodule. You should be able to fix compilation by running ‘git submodule update —-recursive’ rather than adding the functions back.