Open kevinkit opened 7 years ago
All detail steps as follows:
git clone https://github.com/stevenlovegrove/Pangolin.git
git checkout 7bab0ae6b3e0971ae16e872ef8f5637d571ac2ac
cd Pangolin
mkdir build
cd build
cmake ..
cmake --build .
needed correct version of Sophus
git clone https://github.com/strasdat/Sophus
git checkout 341346e306d657ac8acaf052939ffd85dacd8f82
cd Sophus
mkdir build
cd build
cmake ..
make -j32
make install
mkdir build
cd build
cmake ..
make
make install
replace eigen use this version
tar -xzvf
copy download eigen/* to /usr/include/eigen3/
copy download eigen/* to /usr/local/lib/python2.7/dist-packages/tensorflow/include/
sudo apt-get install libnlopt-dev
sudo apt-get install libmetis-dev
sudo apt-get install liblapack-dev
python setup.py build_ext --inplace
# if numpy/arrayobject.h not such file
# modify line 144 of setup.py
include_dirs =[numpy_include, ...]
sudo pip install easydict
sudo apt-get install python-yaml
# create data link
ln -s path/to/data data
./experiments/scripts/rgbd_scene_multi_rgbd.sh 0
Thank you really much for that ! Are the steps chornological ordererd?
Pangolin needs a Eigen installation, does it need the provided Eigen isntallation, or the "normal" one?
I build Pangolin with the provided Eigen by @yuxng . Have you built ok? For me, only Eigen ordered.
Hi, @JackHenry1992 .Thank you really much for that ! I install all dependencies of KinectFusion, when Compile KinectFusion with cmake, I get the error
/home/gwm/DA-RNN/lib/kinect_fusion/include/df/prediction/raycast.h(17): error: explicit type is missing ("int" assumed) /home/gwm/DA-RNN/lib/kinect_fusion/include/df/prediction/raycast.h(17): error: qualified name is not allowed /home/gwm/DA-RNN/lib/kinect_fusion/include/df/prediction/raycast.h(17): error: expected a ")" /home/gwm/DA-RNN/lib/kinect_fusion/./src/prediction//raycast.cu(63): error: explicit type is missing ("int" assumed) /home/gwm/DA-RNN/lib/kinect_fusion/./src/prediction//raycast.cu(63): error: qualified name is not allowed /home/gwm/DA-RNN/lib/kinect_fusion/./src/prediction//raycast.cu(63): error: expected a ")" /home/gwm/DA-RNN/lib/kinect_fusion/./src/prediction//raycast.cu(129): error: explicit type is missing ("int" assumed) /home/gwm/DA-RNN/lib/kinect_fusion/./src/prediction//raycast.cu(129): error: qualified name is not allowed /home/gwm/DA-RNN/lib/kinect_fusion/./src/prediction//raycast.cu(129): error: expected a ")" /home/gwm/DA-RNN/lib/kinect_fusion/include/df/camera/cameraModel.h(22): error: name followed by "::" must be a class or namespace name /home/gwm/DA-RNN/lib/kinect_fusion/include/df/camera/camera.h(13): error: name followed by "::" must be a class or namespace name /home/gwm/DA-RNN/lib/kinect_fusion/include/df/camera/camera.h(36): error: name followed by "::" must be a class or namespace name /home/gwm/DA-RNN/lib/kinect_fusion/include/df/camera/cameraFactory.h(18): error: name followed by "::" must be a class or namespace name /home/gwm/DA-RNN/lib/kinect_fusion/include/df/camera/cameraFactory.h(20): error: name followed by "::" must be a class or namespace name /home/gwm/DA-RNN/lib/kinect_fusion/include/df/camera/poly3.h(26): error: name followed by "::" must be a class or namespace name /home/gwm/DA-RNN/lib/kinect_fusion/./src/prediction//raycast.cu(155): error: no instance of function template "df::raycast" matches the specified type 16 errors detected in the compilation of "/tmp/tmpxft_00003140_00000000-7_raycast.cpp1.ii".
CMake Error at kfusion_generated_raycast.cu.o.cmake:264 (message): Error generating file /home/gwm/DA-RNN/lib/kinect_fusion/build/CMakeFiles/kfusion.dir/src/prediction/./kfusion_generated_raycast.cu.o
seem like some Syntax error. Ubuntu14.04 CUDA8.0 cmake 3.5.2 gcc 4.8.5 . Did you run successfully? Can you provide the environment configuration information? Thanks!
Hi @wolf943134497 , I had this error, too and was able to resolve it with the correct Pangolin version and you may want to check out #7 and try the mentioned fixes there
Since Ubuntu 16.04 seems to have some issues regarding to pangolin ( #7 ) and @JackHenry1992 successfully got the kinect_fusion code to compile on Ubuntu 14.04 , I am kindly asking to provide the steps needed to get it run on ubuntu 14.04. (see #9 for previous discussions)
@DonBilb0