SIBR viewer build fails on Ubuntu 22.04

Author: booth-algoCreated Aug 3, 2024Updated May 25, 2026

I had a lot of errors during the build but I simply restarted the build and it would progress from the previous checkpoint. However once I got to 95%, specifically for building SIBR_remoteGaussian_app, it would just fail repeatedly.

terminal
cmake --build build -j24 --target install
Consolidate compiler generated dependencies of target CudaRasterizer
[  2%] Built target mrf
[  5%] Built target SIBR_texturedMesh_app_resources
[  5%] Built target sibr_graphics_resources
[  6%] Built target imgui
[  8%] Built target xatlas
[ 11%] Built target nativefiledialog
[ 12%] Building CUDA object ../extlibs/CudaRasterizer/build/CMakeFiles/CudaRasterizer.dir/cuda_rasterizer/rasterizer_impl.cu.o
nvcc warning : incompatible redefinition for option 'std', the last value of this option was used
[ 12%] Built target sibr_gaussian_shaders
[ 22%] Built target sibr_system
[ 34%] Built target sibr_graphics
[ 38%] Built target sibr_video
[ 43%] Built target sibr_assets
[ 49%] Built target sibr_raycaster
[ 53%] Built target sibr_imgproc
[ 59%] Built target sibr_scene
[ 59%] Built target sibr_renderer_shaders
[ 59%] Built target sibr_view_shaders
[ 59%] Built target PREBUILD
[ 75%] Built target sibr_view
[ 86%] Built target sibr_renderer
[ 88%] Built target sibr_basic
[ 92%] Built target SIBR_PointBased_app
[ 92%] Built target SIBR_texturedMesh_app
[ 94%] Built target sibr_remote
[ 95%] Built target SIBR_remoteGaussian_app
/home/kev/gaussian-splatting/SIBR_viewers/extlibs/CudaRasterizer/CudaRasterizer/cuda_rasterizer/auxiliary.h(164): warning #177-D: variable "p_proj" was declared but never referenced

/home/kev/gaussian-splatting/SIBR_viewers/extlibs/CudaRasterizer/CudaRasterizer/cuda_rasterizer/auxiliary.h(164): warning #177-D: variable "p_proj" was declared but never referenced

/home/kev/gaussian-splatting/SIBR_viewers/extlibs/CudaRasterizer/CudaRasterizer/cuda_rasterizer/auxiliary.h(164): warning #177-D: variable "p_proj" was declared but never referenced

/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
  435 |         function(_Functor&& __f)
      |                                                                                                                                                 ^ 
/usr/include/c++/11/bits/std_function.h:435:145: note:         ‘_ArgTypes’
/usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
  530 |         operator=(_Functor&& __f)
      |                                                                                                                                                  ^ 
/usr/include/c++/11/bits/std_function.h:530:146: note:         ‘_ArgTypes’
gmake[2]: *** [../extlibs/CudaRasterizer/build/CMakeFiles/CudaRasterizer.dir/build.make:104: ../extlibs/CudaRasterizer/build/CMakeFiles/CudaRasterizer.dir/cuda_rasterizer/rasterizer_impl.cu.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:1778: ../extlibs/CudaRasterizer/build/CMakeFiles/CudaRasterizer.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2

Source: graphdeco-inria/gaussian-splatting