uhhhci / immersive-ngp

We present the first open-source VR NERF Unity package that brings high resolution, low-latency, 6-DOF NERF rendering to VR. This work is based on Nvidia's ground breaking instant-ngp technique.
Other
300 stars 25 forks source link

When compiling instant-ngp, an error occurred and failed to succeed. #20

Open HaviZou opened 1 year ago

HaviZou commented 1 year ago

D:\Nvidia-nerf\immersive-ngp\instant-ngp\dependencies\pybind11\include\pybind11\detail/type_caster_base.h(448): error : pointer to incomplete class type "_frame" is not allowed [D:\Nvidia-nerf\immersive-ngp\instant-ngp\build\pyngp.vcxproj ]

D:\Nvidia-nerf\immersive-ngp\instant-ngp\dependencies\pybind11\include\pybind11\detail/type_caster_base.h(448): error : type name is not allowed [D:\Nvidia-nerf\immersive-ngp\instant-ngp\build\pyngp.vcxproj]

D:\Nvidia-nerf\immersive-ngp\instant-ngp\dependencies\pybind11\include\pybind11\detail/type_caster_base.h(448): error : expected an expression [D:\Nvidia-nerf\immersive-ngp\instant-ngp\build\pyngp.vcxproj]

D:\Nvidia-nerf\immersive-ngp\instant-ngp\dependencies\pybind11\include\pybind11\detail/type_caster_base.h(450): error : pointer to incomplete class type "_frame" is not allowed [D:\Nvidia-nerf\immersive-ngp\instant-ngp\build\pyngp.vcxproj ]

D:\Nvidia-nerf\immersive-ngp\instant-ngp\dependencies\pybind11\include\pybind11\detail/type_caster_base.h(450): error : type name is not allowed [D:\Nvidia-nerf\immersive-ngp\instant-ngp\build\pyngp.vcxproj]

D:\Nvidia-nerf\immersive-ngp\instant-ngp\dependencies\pybind11\include\pybind11\detail/type_caster_base.h(450): error : expected an expression [D:\Nvidia-nerf\immersive-ngp\instant-ngp\build\pyngp.vcxproj]

D:\Nvidia-nerf\immersive-ngp\instant-ngp\dependencies\pybind11\include\pybind11\detail/type_caster_base.h(451): error : pointer to incomplete class type "_frame" is not allowed [D:\Nvidia-nerf\immersive-ngp\instant-ngp\build\pyngp.vcxproj ]

D:\Nvidia-nerf\immersive-ngp\instant-ngp\dependencies\pybind11\include\pybind11/pybind11.h(2163): error : class "_ts" h as no member "frame" [D:\Nvidia-nerf\immersive-ngp\instant-ngp\build\pyngp.vcxproj]

D:\Nvidia-nerf\immersive-ngp\instant-ngp\dependencies\pybind11\include\pybind11/pybind11.h(2164): error : pointer to in complete class type "_frame" is not allowed [D:\Nvidia-nerf\immersive-ngp\instant-ngp\build\pyngp.vcxproj]

D:\Nvidia-nerf\immersive-ngp\instant-ngp\dependencies\pybind11\include\pybind11/pybind11.h(2165): error : pointer to in complete class type "_frame" is not allowed [D:\Nvidia-nerf\immersive-ngp\instant-ngp\build\pyngp.vcxproj]

D:\Nvidia-nerf\immersive-ngp\instant-ngp\dependencies\pybind11\include\pybind11/pybind11.h(2168): error : pointer to in complete class type "_frame" is not allowed [D:\Nvidia-nerf\immersive-ngp\instant-ngp\build\pyngp.vcxproj]

D:\Nvidia-nerf\immersive-ngp\instant-ngp\dependencies\pybind11\include\pybind11/pybind11.h(2168): error : pointer to in complete class type "_frame" is not allowed [D:\Nvidia-nerf\immersive-ngp\instant-ngp\build\pyngp.vcxproj]

Greenf1re commented 1 year ago

If you're using Python 3.11, try uninstalling it and installing 3.10

Ambition-1 commented 2 weeks ago

I have the same problem and python 3.10 doesn't work. Can you teach me the solution