stable-dreamfusion icon indicating copy to clipboard operation
stable-dreamfusion copied to clipboard

Honestly not really sure, raymarching.cu

Open Shikamaru5 opened this issue 2 years ago • 2 comments

It seems that ninja tries to run this file and then although it says two errors I have a few more variables than that, that it says are referenced but not declared. near, rdz, rdy, rdx seem to be the main ones, and because those ones failed, it starts going off about unexpected tokens and cuda errors having to be overridden. If anyone has any ideas how to fix that, I'd really appreciate it. I've pasted a small part of it but can provide the error in its entirety if needed.

F:\Desktop\game_files\ai_for_game\Image_Generator\stable-dreamfusion\raymarching\src\raymarching.cu(737): warning #177-D: variable "near" was declared but never referenced
detected during instantiation of "void kernel_march_rays(uint32_t, uint32_t, const int *, const scalar_t *, const scalar_t *, const scalar_t *, float, float, uint32_t, uint32_t, uint32_t, const uint8_t *, const scalar_t *, const scalar_t *, scalar_t *, scalar_t *, scalar_t *, const scalar_t *) [with scalar_t=float]"
(811): here

2 errors detected in the compilation of "F:/Desktop/game_files/ai_for_game/Image_Generator/stable-dreamfusion/raymarching/src/raymarching.cu".
raymarching.cu
ninja: build stopped: subcommand failed.

Shikamaru5 avatar Nov 12 '22 19:11 Shikamaru5

It seems that ninja tries to run this file and then although it says two errors I have a few more variables than that, that it says are referenced but not declared. near, rdz, rdy, rdx seem to be the main ones, and because those ones failed, it starts going off about unexpected tokens and cuda errors having to be overridden. If anyone has any ideas how to fix that, I'd really appreciate it. I've pasted a small part of it but can provide the error in its entirety if needed.

F:\Desktop\game_files\ai_for_game\Image_Generator\stable-dreamfusion\raymarching\src\raymarching.cu(737): warning #177-D: variable "near" was declared but never referenced

      detected during instantiation of "void kernel_march_rays(uint32_t, uint32_t, const int *, const scalar_t *, const scalar_t *, const scalar_t *, float, float, uint32_t, uint32_t, uint32_t, const uint8_t *, const scalar_t *, const scalar_t *, scalar_t *, scalar_t *, scalar_t *, const scalar_t *) [with scalar_t=float]"           

(811): here

2 errors detected in the compilation of "F:/Desktop/game_files/ai_for_game/Image_Generator/stable-dreamfusion/raymarching/src/raymarching.cu".

raymarching.cu

ninja: build stopped: subcommand failed.

Enes60 avatar Nov 15 '22 18:11 Enes60

Sure thanks, but it still doesn't solve the issue... any clues?

Shikamaru5 avatar Nov 15 '22 19:11 Shikamaru5