graphdeco-inria / hierarchical-3d-gaussians

Official implementation of the SIGGRAPH 2024 paper "A Hierarchical 3D Gaussian Representation for Real-Time Rendering of Very Large Datasets"
Other
935 stars 87 forks source link

Unable to Build SIBR_viewers #36

Closed Gaaaavin closed 2 months ago

Gaaaavin commented 3 months ago

I followed the instructions in the read me to build SIBR viewers but failed. I got the following error when building:

/usr/bin/ld: cannot find -lembree
collect2: error: ld returned 1 exit status
make[2]: *** [src/core/raycaster/CMakeFiles/sibr_raycaster.dir/build.make:247: src/core/raycaster/libsibr_raycaster.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:1077: src/core/raycaster/CMakeFiles/sibr_raycaster.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Note that I have installed embree via sudo apt install libembree-dev as instructed in the readme. I'm on a ubuntu 20.04 machine.

arvrschool commented 2 months ago

I have the same problem

arvrschool commented 2 months ago

I have fixed the problem by change this: SIBR_viewers/src/core/raycaster/CMakeLists.txt line 34 embree to embree3

I hope it's helpful to you.

qi-an-zl commented 2 months ago

I have fixed the problem by change this: SIBR_viewers/src/core/raycaster/CMakeLists.txt line 34 embree to embree3

I hope it's helpful to you.

I have tried it, but the problem still exists. Can you give me more detailed steps? Thank you very much

Gaaaavin commented 2 months ago

I have fixed the problem by change this: SIBR_viewers/src/core/raycaster/CMakeLists.txt line 34 embree to embree3

I hope it's helpful to you.

@qi-an-zl The solution works for me. Please try delete the whole build file then config and build it again.