ospray / hdospray

Rendering plugin for Pixar's USD Hydra
Apache License 2.0
123 stars 15 forks source link

Git LFS issue : Ubuntu 18.04 #7

Closed nyue closed 1 year ago

nyue commented 3 years ago

Hi

I am building hdospray via super build on an Ubuntu 18.04 box with Houdini 18.5.547

I do have git-lfs installed (via apt-get)

My cmake build command is this

cmake \
    -D SUPERBUILD_USE_HOUDINI=ON \
    ../hdospray_git/scripts/superbuild

I am getting the following errors

[ 67%] Built target dnnl
[ 68%] Generating CXX source files from blob /data2/nyue/projects/OSPray/hdospray/superbuild/OSPRay/build/oidn/src/weights/rtlightmap_hdr.tza
[ 69%] Generating CXX source files from blob /data2/nyue/projects/OSPray/hdospray/superbuild/OSPRay/build/oidn/src/weights/rt_alb.tza
[ 70%] Generating CXX source files from blob /data2/nyue/projects/OSPray/hdospray/superbuild/OSPRay/build/oidn/src/weights/rt_hdr_alb.tza
[ 71%] Generating CXX source files from blob /data2/nyue/projects/OSPray/hdospray/superbuild/OSPRay/build/oidn/src/weights/rt_hdr.tza
Error: The file "/data2/nyue/projects/OSPray/hdospray/superbuild/OSPRay/build/oidn/src/weights/rtlightmap_hdr.tza" is a Git LFS pointer. Please install Git LFS and clone the repository again.
CMakeFiles/OpenImageDenoise.dir/build.make:263: recipe for target 'weights/rtlightmap_hdr.cpp' failed
make[8]: *** [weights/rtlightmap_hdr.cpp] Error 1
make[8]: *** Waiting for unfinished jobs....
Error: The file "/data2/nyue/projects/OSPray/hdospray/superbuild/OSPRay/build/oidn/src/weights/rt_hdr_alb.tza" is a Git LFS pointer. Please install Git LFS and clone the repository again.
Error: The file "/data2/nyue/projects/OSPray/hdospray/superbuild/OSPRay/build/oidn/src/weights/rt_alb.tza" is a Git LFS pointer. Please install Git LFS and clone the repository again.
Error: The file "/data2/nyue/projects/OSPray/hdospray/superbuild/OSPRay/build/oidn/src/weights/rt_hdr.tza" is a Git LFS pointer. Please install Git LFS and clone the repository again.
carsonbrownlee commented 3 years ago

Hi nyue, I have not seen that on my ubuntu 20.04 build. After googling your error, did you install git-lfs after you recieved the error? If so, you may need to delete your directory and try a fresh build for it to work (https://github.com/git-lfs/git-lfs/issues/325).

nyue commented 3 years ago

I already have git-lfs installed before I clone.

Anyway, the problem (git-lfs) was with the retrieval/building of the Denoiser so I mark it OFF and was able to build via superbuild.

Cheers

carsonbrownlee commented 3 years ago

marking as open, as denoiser is a fairly critical component. @atafra have you seen this git-lfs issue when building oidn?

carsonbrownlee commented 1 year ago

marking as resolved, have not run into this with recent builds of oidn.