Open tmo17 opened 11 months ago
I recloned the repo and ran everything again. I now pass the above but still fail to build at the below mark.
[ 92%] Building CUDA object CMakeFiles/ngp.dir/src/triangle_bvh.cu.o /home/BOSDYN/tmorcott/Desktop/Development/NeRF/instant-ngp/src/testbed_nerf.cu(1854): warning #177-D: variable "resolution" was declared but never referenced auto resolution = render_buffer.resolution; ^
Remark: The warnings can be suppressed with "-diag-suppress
/home/BOSDYN/tmorcott/Desktop/Development/NeRF/instant-ngp/src/marching_cubes.cu: In function ‘void ngp::draw_mesh_gl(const tcnn::GPUMemory<tcnn::tvec<float, 3, 4> >&, const tcnn::GPUMemory<tcnn::tvec<float, 3, 4> >&, const tcnn::GPUMemory<tcnn::tvec<float, 3, 4> >&, const tcnn::GPUMemory~~~~~~^~
/usr/local/cuda-12.2/bin/../targets/x86_64-linux/include/cuda_gl_interop.h:410:46: note: declared here
410 | extern CUDA_DEPRECATED host cudaError_t CUDARTAPI cudaGLUnregisterBufferObject(GLuint bufObj);
| ^~~~~~~~
/home/BOSDYN/tmorcott/Desktop/Development/NeRF/instant-ngp/src/marching_cubes.cu:139:48: warning: ‘cudaError_t cudaGLRegisterBufferObject(GLuint)’ is deprecated [-Wdeprecated-declarations]
139 | cudaGLRegisterBufferObject(VBO[i]);
| ~~~~~^~
/usr/local/cuda-12.2/bin/../targets/x86_64-linux/include/cuda_gl_interop.h:333:46: note: declared here
333 | extern __CUDA_DEPRECATED host cudaError_t CUDARTAPI cudaGLRegisterBufferObject(GLuint bufObj);
| ^~~~~~
/home/BOSDYN/tmorcott/Desktop/Development/NeRF/instant-ngp/src/marching_cubes.cu:144:50: warning: ‘cudaError_t cudaGLUnregisterBufferObject(GLuint)’ is deprecated [-Wdeprecated-declarations]
144 | cudaGLUnregisterBufferObject(els);
| ~~~~~^~~~~
/usr/local/cuda-12.2/bin/../targets/x86_64-linux/include/cuda_gl_interop.h:410:46: note: declared here
410 | extern CUDA_DEPRECATED host cudaError_t CUDARTAPI cudaGLUnregisterBufferObject(GLuint bufObj);
| ^~~~~~~~
/home/BOSDYN/tmorcott/Desktop/Development/NeRF/instant-ngp/src/marching_cubes.cu:151:41: warning: ‘cudaError_t cudaGLRegisterBufferObject(GLuint)’ is deprecated [-Wdeprecated-declarations]
151 | cudaGLRegisterBufferObject(els);
| ~~~~~~^~~
/usr/local/cuda-12.2/bin/../targets/x86_64-linux/include/cuda_gl_interop.h:333:46: note: declared here
333 | extern CUDA_DEPRECATED host cudaError_t CUDARTAPI cudaGLRegisterBufferObject(GLuint bufObj);
| ^~~~~~
/home/BOSDYN/tmorcott/Desktop/Development/NeRF/instant-ngp/src/marching_cubes.cu:154:29: warning: ‘cudaError_t cudaGLMapBufferObject(void**, GLuint)’ is deprecated [-Wdeprecated-declarations]
154 | cudaGLMapBufferObject(&ptr, VBO[0]);
| ~~~~^~~~~~
/usr/local/cuda-12.2/bin/../targets/x86_64-linux/include/cuda_gl_interop.h:362:46: note: declared here
362 | extern __CUDA_DEPRECATED host cudaError_t CUDARTAPI cudaGLMapBufferObject(void devPtr, GLuint bufObj);
| ^~~~~
/home/BOSDYN/tmorcott/Desktop/Development/NeRF/instant-ngp/src/marching_cubes.cu:156:29: warning: ‘cudaError_t cudaGLMapBufferObject(void, GLuint)’ is deprecated [-Wdeprecated-declarations]
156 | cudaGLMapBufferObject(&ptr, VBO[1]);
| ~~~~^~~~~~
/usr/local/cuda-12.2/bin/../targets/x86_64-linux/include/cuda_gl_interop.h:362:46: note: declared here
362 | extern CUDA_DEPRECATED host cudaError_t CUDARTAPI cudaGLMapBufferObject(void devPtr, GLuint bufObj);
| ^~~~~
/home/BOSDYN/tmorcott/Desktop/Development/NeRF/instant-ngp/src/marching_cubes.cu:158:29: warning: ‘cudaError_t cudaGLMapBufferObject(void, GLuint)’ is deprecated [-Wdeprecated-declarations]
158 | cudaGLMapBufferObject(&ptr, VBO[2]);
| ~~~~^~~~~~
/usr/local/cuda-12.2/bin/../targets/x86_64-linux/include/cuda_gl_interop.h:362:46: note: declared here
362 | extern CUDA_DEPRECATED host cudaError_t CUDARTAPI cudaGLMapBufferObject(void **devPtr, GLuint bufObj);
| ^~~~~
/home/BOSDYN/tmorcott/Desktop/Development/NeRF/instant-ngp/src/marching_cubes.cu:164:31: warning: ‘cudaError_t cudaGLUnmapBufferObject(GLuint)’ is deprecated [-Wdeprecated-declarations]
164 | cudaGLUnmapBufferObject(VBO[2]);
| ~~~~^~
/usr/local/cuda-12.2/bin/../targets/x86_64-linux/include/cuda_gl_interop.h:388:46: note: declared here
388 | extern __CUDA_DEPRECATED host cudaError_t CUDARTAPI cudaGLUnmapBufferObject(GLuint bufObj);
| ^~~~~~~
/home/BOSDYN/tmorcott/Desktop/Development/NeRF/instant-ngp/src/marching_cubes.cu:165:31: warning: ‘cudaError_t cudaGLUnmapBufferObject(GLuint)’ is deprecated [-Wdeprecated-declarations]
165 | cudaGLUnmapBufferObject(VBO[1]);
| ~~~~^~
/usr/local/cuda-12.2/bin/../targets/x86_64-linux/include/cuda_gl_interop.h:388:46: note: declared here
388 | extern CUDA_DEPRECATED host cudaError_t CUDARTAPI cudaGLUnmapBufferObject(GLuint bufObj);
| ^~~~~~~
/home/BOSDYN/tmorcott/Desktop/Development/NeRF/instant-ngp/src/marching_cubes.cu:166:31: warning: ‘cudaError_t cudaGLUnmapBufferObject(GLuint)’ is deprecated [-Wdeprecated-declarations]
166 | cudaGLUnmapBufferObject(VBO[0]);
| ~~~~^~
/usr/local/cuda-12.2/bin/../targets/x86_64-linux/include/cuda_gl_interop.h:388:46: note: declared here
388 | extern CUDA_DEPRECATED host cudaError_t CUDARTAPI cudaGLUnmapBufferObject(GLuint bufObj);
| ^~~~~~~
/home/BOSDYN/tmorcott/Desktop/Development/NeRF/instant-ngp/src/marching_cubes.cu:167:29: warning: ‘cudaError_t cudaGLMapBufferObject(void**, GLuint)’ is deprecated [-Wdeprecated-declarations]
167 | cudaGLMapBufferObject(&ptr, els);
| ~~~~^~~
/usr/local/cuda-12.2/bin/../targets/x86_64-linux/include/cuda_gl_interop.h:362:46: note: declared here
362 | extern __CUDA_DEPRECATED host cudaError_t CUDARTAPI cudaGLMapBufferObject(void **devPtr, GLuint bufObj);
| ^~~~~
/home/BOSDYN/tmorcott/Desktop/Development/NeRF/instant-ngp/src/marching_cubes.cu:169:31: warning: ‘cudaError_t cudaGLUnmapBufferObject(GLuint)’ is deprecated [-Wdeprecated-declarations]
169 | cudaGLUnmapBufferObject(els);
| ~~~~^~~
/usr/local/cuda-12.2/bin/../targets/x86_64-linux/include/cuda_gl_interop.h:388:46: note: declared here
388 | extern CUDA_DEPRECATED host cudaError_t CUDARTAPI cudaGLUnmapBufferObject(GLuint bufObj);
| ^~~~~~~
/home/BOSDYN/tmorcott/Desktop/Development/NeRF/instant-ngp/src/testbed.cu: In member function ‘void ngp::Testbed::set_mode(ngp::ETestbedMode)’:
/home/BOSDYN/tmorcott/Desktop/Development/NeRF/instant-ngp/src/testbed.cu:174:23: error: no match for ‘operator=’ (operand types are ‘ngp::Testbed::Volume’ and ‘~
/home/BOSDYN/tmorcott/Desktop/Development/NeRF/instant-ngp/include/neural-graphics-primitives/testbed.h:864:15: note: no known conversion for argument 1 from ‘
Hi
Is there any guidance that could be given as to why this may be happening?
Thank you.
@tmo17 Did you solve your problem? I used a lower version of cuda to solve this problem cmake 3.21 cuda3.7 python 3.8 ubuntu20.04
@tmo17 I had the same error with you before. My cuda is 11.8. Now I don't have this problem when I use 11.7
I had same problem, this answer solves. https://github.com/NVlabs/instant-ngp/issues/1372#issuecomment-1586179152
[ 62%] Built target tiny-cuda-nn [ 63%] Converting PTX files to a C header CMake Error: Error processing file: /home/BOSDYN/tmorcott/Desktop/Development/NeRF/instant-ngp/cmake/bin2c_wrapper.cmake gmake[2]: [CMakeFiles/ngp.dir/build.make:74: optix_ptx.h] Error 1 gmake[1]: [CMakeFiles/Makefile2:307: CMakeFiles/ngp.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2
Versions:
-- The C compiler identification is GNU 12.3.0 -- The CXX compiler identification is GNU 12.3.0 -- The CUDA compiler identification is NVIDIA 12.2.140