cdcpd
cdcpd copied to clipboard
Document need to download cuda-samples for freenect2 to correctly build?
Currently the cuda-samples repo is required to be cloned and maked to get freenect2 up and running. Should we document this here or should this be handled elsewhere? Maybe make an install script for freenect2?
This is the issue that I followed that helped me to make at least some progress: https://github.com/OpenKinect/libfreenect2/issues/777
To fix the libfreenect2 build error I had to:
- git clone cuda-samples repo into ~/.local/src
- In cuda-samples dir,
make - In libfreenect2 dir:
mkdir build && cd build -
cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/freenect2 -Dfreenect2_DIR=$HOME/freenect2/lib/cmake/freenect2 -DENABLE_CXX11=ON -DCUDA_PROPAGATE_HOST_FLAGS=off -
make
I also needed to do a make install for freenect2 which installed the necessary libraries