NVIDIA / gvdb-voxels

Sparse volume compute and rendering on NVIDIA GPUs
Other
672 stars 144 forks source link

NOT FOUND. GVDB Ptx/Glsl. (ptx or glsl missing) #140

Closed gongyuuhi closed 1 year ago

gongyuuhi commented 1 year ago

I'm running a project one which needs gvdblibrary and contains a gPointCloud file that was modified from the gPointCloud in version 1.1 of GVDB voxels(but now i just can use version 1.1.1of gvdblibrary) In the process of building that project,I encountered the following error report

robot@WP:/usr/local/MPM3D/MPM/gPointCloud/build$ cmake -DGVDB_ROOT_DIR="/home/robot/nvidia/gvdb-voxels/_output/" .. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.


-- Processing Project gPointCloud: -- using GLEW library -- --> Find Sample Utils -- Using OpenGL -- Using PNG -- Using TGA -- Using GLEW -- Using NVGUI -- Using OPTIX_UTILS -- --> Using Sample Utils. /usr/local/gvdb-voxels/source/sample_utils

-- <-- Searching for package GVDB -- Searching for GVDB at.. /home/robot/nvidia/gvdb-voxels/_output/ -- Found. GVDB Header files. /home/robot/nvidia/gvdb-voxels/_output/include -- Found. GVDB Library. /home/robot/nvidia/gvdb-voxels/_output/lib NOT FOUND. GVDB Ptx/Glsl. (ptx or glsl missing) CMake Error at /usr/local/gvdb-voxels/source/sample_utils/FindGVDB.cmake:68 (message):

    Please set GVDB_ROOT_DIR to the root location 
    of installed GVDB library containing /include and /lib.
    Not found at GVDB_ROOT_DIR: /home/robot/nvidia/gvdb-voxels/_output/

Call Stack (most recent call first): /usr/local/gvdb-voxels/source/sample_utils/Packages.cmake:175 (find_package) CMakeLists.txt:52 (_add_package_GVDB)

-- Configuring incomplete, errors occurred! See also "/usr/local/MPM3D/MPM/gPointCloud/build/CMakeFiles/CMakeOutput.log".

I have seen the cuda 10.2 build error#106 and I did the same operation with him which is that"after copying files from bin folder to lib https://github.com/NVIDIA/gvdb-voxels/issues/106 I don't know the difference between us.His results show that "Found. GVDB Ptx/Glsl. " I promise that my lib files contains the 5 .glsl files and 2.ptx file which is in his result.

robot@WP:~/nvidia/gvdb-voxels/_output/lib$ ll 总用量 14776 drwxrwxr-x 5 robot robot 4096 5月 16 18:39 ./ drwxrwxr-x 4 robot robot 4096 5月 16 17:15 ../ drwxr-xr-x 9 robot robot 4096 5月 16 12:54 CMakeFiles/ -rwxr-xr-x 1 robot robot 15999 5月 16 16:01 cuda_gvdb_copydata.ptx -rwxr-xr-x 1 robot robot 800054 5月 16 16:01 cuda_gvdb_module.ptx -rwxr-xr-x 1 robot robot 360168 5月 16 16:01 fluid_system_cuda.ptx -rwxr-xr-x 1 robot robot 22868 5月 16 16:01 optix_mesh_intersect.ptx -rwxr-xr-x 1 robot robot 12878 5月 16 16:01 optix_trace_deep.ptx -rwxr-xr-x 1 robot robot 27264 5月 16 16:01 optix_trace_miss.ptx -rwxr-xr-x 1 robot robot 48517 5月 16 16:01 optix_trace_primary.ptx -rwxr-xr-x 1 robot robot 36495 5月 16 16:01 optix_trace_surface.ptx -rwxr-xr-x 1 robot robot 23310 5月 16 16:01 optix_triangle_mesh.ptx -rwxr-xr-x 1 robot robot 113221 5月 16 16:01 optix_vol_intersect.ptx -rwxr-xr-x 1 robot robot 14718 5月 16 16:01 point_fusion_cuda.ptx -rwxr-xr-x 1 robot robot 42521 5月 16 16:01 render_custom.ptx -rwxr-xr-x 1 robot robot 617 5月 16 16:01 simple.frag.glsl -rwxr-xr-x 1 robot robot 627 5月 16 16:01 simple.vert.glsl -rwxr-xr-x 1 robot robot 925 5月 16 16:01 voxelize.frag.glsl -rwxr-xr-x 1 robot robot 1800 5月 16 16:01 voxelize.geom.glsl -rwxr-xr-x 1 robot robot 316 5月 16 16:01 voxelize.vert.glsl*

Is this caused by the version 1.1.1 of gvdb voxels different from version1.1?I can't understand . Hope you can guide me ,thank you very much.

gongyuuhi commented 1 year ago

I get it. the reason is the difference of version1.1.1 and 1.1