Open niwanli opened 6 years ago
the same with me
Me too,
I get the
fatal error: assimp/cimport.h: No such file or directory
UPDATE:
Solved by running
sudo apt install libassimp-dev
I tried to cmake and make the kinect_fusion, but I met this error:
17 errors detected in the compilation of "/tmp/tmpxft_00007741_00000000-7_fusion.cpp1.ii".
CMake Error at kinectFusion_generated_fusion.cu.o.cmake:266 (message): Error generating file /PycharmProjects/PoseCNN/lib/kinect_fusion/build/CMakeFiles/kinectFusion.dir/src/fusion/./kinectFusion_generated_fusion.cu.o
CMakeFiles/kinectFusion.dir/build.make:1147: recipe for target 'CMakeFiles/kinectFusion.dir/src/fusion/kinectFusion_generated_fusion.cu.o' failed make[2]: [CMakeFiles/kinectFusion.dir/src/fusion/kinectFusion_generated_fusion.cu.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/kinectFusion.dir/all' failed make[1]: [CMakeFiles/kinectFusion.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2
How can I fix this error?
I tried to cmake and make the kinect_fusion, but I met this error:
17 errors detected in the compilation of "/tmp/tmpxft_00007741_00000000-7_fusion.cpp1.ii".
--error 0x2 --
CMake Error at kinectFusion_generated_fusion.cu.o.cmake:266 (message): Error generating file /PycharmProjects/PoseCNN/lib/kinect_fusion/build/CMakeFiles/kinectFusion.dir/src/fusion/./kinectFusion_generated_fusion.cu.o
CMakeFiles/kinectFusion.dir/build.make:1147: recipe for target 'CMakeFiles/kinectFusion.dir/src/fusion/kinectFusion_generated_fusion.cu.o' failed make[2]: [CMakeFiles/kinectFusion.dir/src/fusion/kinectFusion_generated_fusion.cu.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/kinectFusion.dir/all' failed make[1]: [CMakeFiles/kinectFusion.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2
How can I fix this error?
i meet the same question!!! if i solve the problem i will come back to update
i solve this problem in #50
Me too, I get the
fatal error: assimp/cimport.h: No such file or directory
UPDATE: Solved by running
sudo apt install libassimp-dev
Me too, I get the
fatal error: assimp/cimport.h: No such file or directory
UPDATE: Solved by running
sudo apt install libassimp-dev
I met the same problem, but I cannot solve it by using this method, can you give me some other solutions?
seems this problem is because of you don't install pcl library
.
recommand u to have a try
I am trying eigen 3.3.90, I used Eigen 3.2.92 before . the problem is solved !!!
I have updated the eigen to the latest version 3.3.7. But still unable to solve the error in compilation process. Below is the error I have encountered. @iris0329 do you have any idea to solve it?
# --error 0x1 -- CMake Error at kfusion_generated_nonrigid.cu.o.cmake:207 (message): Error generating /home/xxx/catkin_ws/src/PoseCNN/lib/kinect_fusion/build/CMakeFiles/kfusion.dir/src/transform/./kfusion_generated_nonrigid.cu.o CMakeFiles/kfusion.dir/build.make:161: recipe for target 'CMakeFiles/kfusion.dir/src/transform/kfusion_generated_nonrigid.cu.o' failed make[2]: *** [CMakeFiles/kfusion.dir/src/transform/kfusion_generated_nonrigid.cu.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/kfusion.dir/all' failed make[1]: *** [CMakeFiles/kfusion.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2
I am getting the same error
CMake Error at kfusion_generated_nonrigid.cu.o.cmake:266 (message):
Error generating file
/root/visuotactile_pose_estimation_ws/src/pose_refinement/lib/kinect_fusion/CMakeFiles/kfusion.dir/src/transform/./kfusion_generated_nonrigid.cu.o
CMakeFiles/kinectFusion.dir/build.make:5465: recipe for target 'CMakeFiles/kfusion.dir/src/transform/kfusion_generated_nonrigid.cu.o' failed
make[2]: *** [CMakeFiles/kfusion.dir/src/transform/kfusion_generated_nonrigid.cu.o] Error 1
I also tried several versions of eigen and followed https://github.com/yuxng/PoseCNN/pull/54
any suggestions @Kaju-Bubanja
Some Versions
nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2018 NVIDIA Corporation
Built on Tue_Jun_12_23:07:04_CDT_2018
Cuda compilation tools, release 9.2, V9.2.148
cmake --version
cmake version 3.5.1
Installation instructions I used as per https://github.com/yuxng/PoseCNN/pull/54
# update boost
apt-get update
#apt-get install build-essential g++ python-dev autotools-dev libicu-dev build-essential libbz2-dev libboost-all-dev
apt install wget
cd /opt
wget -O boost_1_67_0.tar.gz https://sourceforge.net/projects/boost/files/boost/1.67.0/boost_1_67_0.tar.gz/download
tar xzvf boost_1_67_0.tar.gz
cd boost_1_67_0/
./bootstrap.sh --prefix=/usr/
./b2
./b2 install
cat /usr/include/boost/version.hpp | grep "define BOOST_LIB_VERSION"
cd /opt
git clone https://gitlab.com/libeigen/eigen.git
cd eigen
git checkout 3.3.0
mkdir build
cd build
cmake ..
make
make install
cd /opt
git clone https://github.com/stevenlovegrove/Pangolin.git
cd Pangolin
git reset --hard c2a6ef524401945b493f14f8b5b8aa76cc7d71a9
mkdir build
cd build
cmake ..
cmake --build .
make install
cd /opt
git clone git://github.com/stevengj/nlopt
cd nlopt
git reset --hard 74e647b667f7c4500cdb4f37653e59c29deb9ee2
mkdir build
cd build
cmake ..
make
make install
cd /opt
git clone https://github.com/strasdat/Sophus
cd Sophus
git reset --hard ceb6380a1584b300e687feeeea8799353d48859f
mkdir build
cd build
cmake ..
make
make install
also, when I run
/lib/kinect_fusion/build# cmake ..
I get:
-- Found Eigen3: /usr/include/eigen3 (found version 3.2)
where it seems like it should be using
-- Configured Eigen 3.3.0
which was part of the output to installing Eigen, as described above and corresponds to
pkg-config --modversion eigen3
which gives
3.3.0
OK...finally got it to build
# update boost
apt-get update
#apt-get install build-essential g++ python-dev autotools-dev libicu-dev build-essential libbz2-dev libboost-all-dev
apt install wget
cd /opt
wget -O boost_1_67_0.tar.gz https://sourceforge.net/projects/boost/files/boost/1.67.0/boost_1_67_0.tar.gz/download
tar xzvf boost_1_67_0.tar.gz
cd boost_1_67_0/
./bootstrap.sh --prefix=/usr/
./b2
./b2 install
cat /usr/include/boost/version.hpp | grep "define BOOST_LIB_VERSION"
# change eigen version
apt remove libeigen3-dev
cd /opt
git clone https://gitlab.com/libeigen/eigen.git
cd eigen
git checkout 3.3.0
mkdir build
cd build
cmake ..
make
make install
# make a symbolic link
cd /usr/local/include
ln -sf eigen3/Eigen Eigen
ln -sf eigen3/unsupported unsupported
ln -sf eigen3/Eigen /usr/include/Eigen
# TODO make a patch in
#/usr/local/include/eigen3/Core
#change: include <math_functions.hpp> TO: include <cuda_runtime.h>
cp -r /usr/local/include/eigen3 /usr/include/eigen3
cd /opt
git clone https://github.com/stevenlovegrove/Pangolin.git
cd Pangolin
git reset --hard c2a6ef524401945b493f14f8b5b8aa76cc7d71a9
#git reset --hard 1ec721d59ff6b799b9c24b8817f3b7ad2c929b83
mkdir build
cd build
cmake ..
cmake --build .
make install
cd /opt
git clone git://github.com/stevengj/nlopt
cd nlopt
git reset --hard 74e647b667f7c4500cdb4f37653e59c29deb9ee2
mkdir build
cd build
cmake ..
make
make install
cd /opt
git clone https://github.com/strasdat/Sophus
cd Sophus
git reset --hard ceb6380a1584b300e687feeeea8799353d48859f
# TODO include patch in CMake (do we still need?)
#-find_package(Eigen3 REQUIRED)
#+find_package(PkgConfig)
#+pkg_search_module(Eigen3 REQUIRED eigen3)
mkdir build
cd build
cmake ..
make
make install
cd /opt
git clone https://github.com/jlblancoc/nanoflann
cd nanoflann
git reset --hard ad7547f4e6beb1cdb3e360912fd2e352ef959465
mkdir build
cd build
cmake ..
make
make install
cd /root/visuotactile_pose_estimation_ws/src/pose_refinement/lib/kinect_fusion
mkdir build
cd build
cmake ..
cd ..
make
Has anyone solved this problem yet?I have met the same one.
(base) kim@jxx:~/software/PoseCNN-master/lib/synthesize/build$ make
[ 25%] Building CXX object CMakeFiles/synthesizer.dir/synthesize.cpp.o
In file included from /home/kim/software/PoseCNN-master/lib/synthesize/../kinect_fusion/include/df/util/cudaHelpers.h:5:0,
from /home/kim/software/PoseCNN-master/lib/synthesize/../kinect_fusion/include/df/optimization/linearSystems.h:7,
from /home/kim/software/PoseCNN-master/lib/synthesize/../kinect_fusion/include/df/optimization/icp.h:8,
from /home/kim/software/PoseCNN-master/lib/synthesize/synthesize.hpp:47,
from /home/kim/software/PoseCNN-master/lib/synthesize/synthesize.cpp:1:
/usr/local/cuda-10.0/include/device_functions.h:54:2: warning: #warning "device_functions.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp]
#warning "device_functions.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead."
^
In file included from /home/kim/anaconda3/envs/posecnn/Pangolin/include/pangolin/pangolin.h:33:0,
from /home/kim/software/PoseCNN-master/lib/synthesize/synthesize.hpp:15,
from /home/kim/software/PoseCNN-master/lib/synthesize/synthesize.cpp:1:
/usr/include/c++/4.8/bits/stl_construct.h: In instantiation of ‘void std::_Construct(_T1*, _Args&& ...) [with _T1 = pangolin::GlBuffer; _Args = {const pangolin::GlBuffer&}]’:
/usr/include/c++/4.8/bits/stl_uninitialized.h:75:53: required from ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const pangolin::GlBuffer*, std::vector<pangolin::GlBuffer> >; _ForwardIterator = pangolin::GlBuffer*; bool _TrivialValueTypes = false]’
/usr/include/c++/4.8/bits/stl_uninitialized.h:117:41: required from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const pangolin::GlBuffer*, std::vector<pangolin::GlBuffer> >; _ForwardIterator = pangolin::GlBuffer*]’
/usr/include/c++/4.8/bits/stl_uninitialized.h:258:63: required from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator<const pangolin::GlBuffer*, std::vector<pangolin::GlBuffer> >; _ForwardIterator = pangolin::GlBuffer*; _Tp = pangolin::GlBuffer]’
/usr/include/c++/4.8/bits/stl_vector.h:316:32: required from ‘std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = pangolin::GlBuffer; _Alloc = std::allocator<pangolin::GlBuffer>]’
/home/kim/software/PoseCNN-master/lib/synthesize/synthesize.hpp:105:7: required from ‘boost::python::objects::value_holder<Value>::value_holder(PyObject*, A0) [with A0 = boost::reference_wrapper<const Synthesizer>; Value = Synthesizer; PyObject = _object]’
/usr/local/include/boost/python/object/make_instance.hpp:72:48: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/usr/local/include/boost/python/object/class_metadata.hpp:227:80: required from ‘static void boost::python::objects::class_metadata<T, X1, X2, X3>::register_aux2(T2*, Callback) [with T2 = Synthesizer; Callback = boost::integral_constant<bool, false>; T = Synthesizer; X1 = boost::python::detail::not_specified; X2 = boost::python::detail::not_specified; X3 = boost::python::detail::not_specified]’
/usr/local/include/boost/python/object/class_metadata.hpp:218:60: required from ‘static void boost::python::objects::class_metadata<T, X1, X2, X3>::register_aux(void*) [with T = Synthesizer; X1 = boost::python::detail::not_specified; X2 = boost::python::detail::not_specified; X3 = boost::python::detail::not_specified]’
/usr/local/include/boost/python/object/class_metadata.hpp:204:43: required from ‘static void boost::python::objects::class_metadata<T, X1, X2, X3>::register_() [with T = Synthesizer; X1 = boost::python::detail::not_specified; X2 = boost::python::detail::not_specified; X3 = boost::python::detail::not_specified]’
/usr/local/include/boost/python/class.hpp:450:29: required from ‘void boost::python::class_<T, X1, X2, X3>::initialize(const DefVisitor&) [with DefVisitor = boost::python::init_base<boost::python::init<char*, char*> >; W = Synthesizer; X1 = boost::python::detail::not_specified; X2 = boost::python::detail::not_specified; X3 = boost::python::detail::not_specified]’
/usr/local/include/boost/python/class.hpp:204:9: required from ‘boost::python::class_<T, X1, X2, X3>::class_(const char*, const boost::python::init_base<DerivedT>&) [with DerivedT = boost::python::init<char*, char*>; W = Synthesizer; X1 = boost::python::detail::not_specified; X2 = boost::python::detail::not_specified; X3 = boost::python::detail::not_specified]’
/home/kim/software/PoseCNN-master/lib/synthesize/synthesize.hpp:250:60: required from here
/home/kim/anaconda3/envs/posecnn/Pangolin/include/pangolin/gl/gl.h:210:5: error: ‘pangolin::GlBuffer::GlBuffer(const pangolin::GlBuffer&)’ is private
GlBuffer(const GlBuffer&) {}
^
In file included from /usr/include/c++/4.8/vector:62:0,
from /home/kim/software/PoseCNN-master/lib/synthesize/synthesize.hpp:6,
from /home/kim/software/PoseCNN-master/lib/synthesize/synthesize.cpp:1:
/usr/include/c++/4.8/bits/stl_construct.h:75:7: error: within this context
{ ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
^
In file included from /home/kim/anaconda3/envs/posecnn/Pangolin/include/pangolin/pangolin.h:33:0,
from /home/kim/software/PoseCNN-master/lib/synthesize/synthesize.hpp:15,
from /home/kim/software/PoseCNN-master/lib/synthesize/synthesize.cpp:1:
/usr/include/c++/4.8/bits/stl_construct.h: In instantiation of ‘void std::_Construct(_T1*, _Args&& ...) [with _T1 = pangolin::GlTexture; _Args = {const pangolin::GlTexture&}]’:
/usr/include/c++/4.8/bits/stl_uninitialized.h:75:53: required from ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const pangolin::GlTexture*, std::vector<pangolin::GlTexture> >; _ForwardIterator = pangolin::GlTexture*; bool _TrivialValueTypes = false]’
/usr/include/c++/4.8/bits/stl_uninitialized.h:117:41: required from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const pangolin::GlTexture*, std::vector<pangolin::GlTexture> >; _ForwardIterator = pangolin::GlTexture*]’
/usr/include/c++/4.8/bits/stl_uninitialized.h:258:63: required from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator<const pangolin::GlTexture*, std::vector<pangolin::GlTexture> >; _ForwardIterator = pangolin::GlTexture*; _Tp = pangolin::GlTexture]’
/usr/include/c++/4.8/bits/stl_vector.h:316:32: required from ‘std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = pangolin::GlTexture; _Alloc = std::allocator<pangolin::GlTexture>]’
/home/kim/software/PoseCNN-master/lib/synthesize/synthesize.hpp:105:7: required from ‘boost::python::objects::value_holder<Value>::value_holder(PyObject*, A0) [with A0 = boost::reference_wrapper<const Synthesizer>; Value = Synthesizer; PyObject = _object]’
/usr/local/include/boost/python/object/make_instance.hpp:72:48: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/usr/local/include/boost/python/object/class_metadata.hpp:227:80: required from ‘static void boost::python::objects::class_metadata<T, X1, X2, X3>::register_aux2(T2*, Callback) [with T2 = Synthesizer; Callback = boost::integral_constant<bool, false>; T = Synthesizer; X1 = boost::python::detail::not_specified; X2 = boost::python::detail::not_specified; X3 = boost::python::detail::not_specified]’
/usr/local/include/boost/python/object/class_metadata.hpp:218:60: required from ‘static void boost::python::objects::class_metadata<T, X1, X2, X3>::register_aux(void*) [with T = Synthesizer; X1 = boost::python::detail::not_specified; X2 = boost::python::detail::not_specified; X3 = boost::python::detail::not_specified]’
/usr/local/include/boost/python/object/class_metadata.hpp:204:43: required from ‘static void boost::python::objects::class_metadata<T, X1, X2, X3>::register_() [with T = Synthesizer; X1 = boost::python::detail::not_specified; X2 = boost::python::detail::not_specified; X3 = boost::python::detail::not_specified]’
/usr/local/include/boost/python/class.hpp:450:29: required from ‘void boost::python::class_<T, X1, X2, X3>::initialize(const DefVisitor&) [with DefVisitor = boost::python::init_base<boost::python::init<char*, char*> >; W = Synthesizer; X1 = boost::python::detail::not_specified; X2 = boost::python::detail::not_specified; X3 = boost::python::detail::not_specified]’
/usr/local/include/boost/python/class.hpp:204:9: required from ‘boost::python::class_<T, X1, X2, X3>::class_(const char*, const boost::python::init_base<DerivedT>&) [with DerivedT = boost::python::init<char*, char*>; W = Synthesizer; X1 = boost::python::detail::not_specified; X2 = boost::python::detail::not_specified; X3 = boost::python::detail::not_specified]’
/home/kim/software/PoseCNN-master/lib/synthesize/synthesize.hpp:250:60: required from here
/home/kim/anaconda3/envs/posecnn/Pangolin/include/pangolin/gl/gl.h:118:5: error: ‘pangolin::GlTexture::GlTexture(const pangolin::GlTexture&)’ is private
GlTexture(const GlTexture&) {}
^
In file included from /usr/include/c++/4.8/vector:62:0,
from /home/kim/software/PoseCNN-master/lib/synthesize/synthesize.hpp:6,
from /home/kim/software/PoseCNN-master/lib/synthesize/synthesize.cpp:1:
/usr/include/c++/4.8/bits/stl_construct.h:75:7: error: within this context
{ ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
^
CMakeFiles/synthesizer.dir/build.make:62: recipe for target 'CMakeFiles/synthesizer.dir/synthesize.cpp.o' failed
make[2]: *** [CMakeFiles/synthesizer.dir/synthesize.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/synthesizer.dir/all' failed
make[1]: *** [CMakeFiles/synthesizer.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Has anyone solved this problem yet?I have met the same one.
(base) kim@jxx:~/software/PoseCNN-master/lib/synthesize/build$ make [ 25%] Building CXX object CMakeFiles/synthesizer.dir/synthesize.cpp.o In file included from /home/kim/software/PoseCNN-master/lib/synthesize/../kinect_fusion/include/df/util/cudaHelpers.h:5:0, from /home/kim/software/PoseCNN-master/lib/synthesize/../kinect_fusion/include/df/optimization/linearSystems.h:7, from /home/kim/software/PoseCNN-master/lib/synthesize/../kinect_fusion/include/df/optimization/icp.h:8, from /home/kim/software/PoseCNN-master/lib/synthesize/synthesize.hpp:47, from /home/kim/software/PoseCNN-master/lib/synthesize/synthesize.cpp:1: /usr/local/cuda-10.0/include/device_functions.h:54:2: warning: #warning "device_functions.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp] #warning "device_functions.h is an internal header file and must not be used directly. This file will be removed in a future CUDA release. Please use cuda_runtime_api.h or cuda_runtime.h instead." ^ In file included from /home/kim/anaconda3/envs/posecnn/Pangolin/include/pangolin/pangolin.h:33:0, from /home/kim/software/PoseCNN-master/lib/synthesize/synthesize.hpp:15, from /home/kim/software/PoseCNN-master/lib/synthesize/synthesize.cpp:1: /usr/include/c++/4.8/bits/stl_construct.h: In instantiation of ‘void std::_Construct(_T1*, _Args&& ...) [with _T1 = pangolin::GlBuffer; _Args = {const pangolin::GlBuffer&}]’: /usr/include/c++/4.8/bits/stl_uninitialized.h:75:53: required from ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const pangolin::GlBuffer*, std::vector<pangolin::GlBuffer> >; _ForwardIterator = pangolin::GlBuffer*; bool _TrivialValueTypes = false]’ /usr/include/c++/4.8/bits/stl_uninitialized.h:117:41: required from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const pangolin::GlBuffer*, std::vector<pangolin::GlBuffer> >; _ForwardIterator = pangolin::GlBuffer*]’ /usr/include/c++/4.8/bits/stl_uninitialized.h:258:63: required from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator<const pangolin::GlBuffer*, std::vector<pangolin::GlBuffer> >; _ForwardIterator = pangolin::GlBuffer*; _Tp = pangolin::GlBuffer]’ /usr/include/c++/4.8/bits/stl_vector.h:316:32: required from ‘std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = pangolin::GlBuffer; _Alloc = std::allocator<pangolin::GlBuffer>]’ /home/kim/software/PoseCNN-master/lib/synthesize/synthesize.hpp:105:7: required from ‘boost::python::objects::value_holder<Value>::value_holder(PyObject*, A0) [with A0 = boost::reference_wrapper<const Synthesizer>; Value = Synthesizer; PyObject = _object]’ /usr/local/include/boost/python/object/make_instance.hpp:72:48: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /usr/local/include/boost/python/object/class_metadata.hpp:227:80: required from ‘static void boost::python::objects::class_metadata<T, X1, X2, X3>::register_aux2(T2*, Callback) [with T2 = Synthesizer; Callback = boost::integral_constant<bool, false>; T = Synthesizer; X1 = boost::python::detail::not_specified; X2 = boost::python::detail::not_specified; X3 = boost::python::detail::not_specified]’ /usr/local/include/boost/python/object/class_metadata.hpp:218:60: required from ‘static void boost::python::objects::class_metadata<T, X1, X2, X3>::register_aux(void*) [with T = Synthesizer; X1 = boost::python::detail::not_specified; X2 = boost::python::detail::not_specified; X3 = boost::python::detail::not_specified]’ /usr/local/include/boost/python/object/class_metadata.hpp:204:43: required from ‘static void boost::python::objects::class_metadata<T, X1, X2, X3>::register_() [with T = Synthesizer; X1 = boost::python::detail::not_specified; X2 = boost::python::detail::not_specified; X3 = boost::python::detail::not_specified]’ /usr/local/include/boost/python/class.hpp:450:29: required from ‘void boost::python::class_<T, X1, X2, X3>::initialize(const DefVisitor&) [with DefVisitor = boost::python::init_base<boost::python::init<char*, char*> >; W = Synthesizer; X1 = boost::python::detail::not_specified; X2 = boost::python::detail::not_specified; X3 = boost::python::detail::not_specified]’ /usr/local/include/boost/python/class.hpp:204:9: required from ‘boost::python::class_<T, X1, X2, X3>::class_(const char*, const boost::python::init_base<DerivedT>&) [with DerivedT = boost::python::init<char*, char*>; W = Synthesizer; X1 = boost::python::detail::not_specified; X2 = boost::python::detail::not_specified; X3 = boost::python::detail::not_specified]’ /home/kim/software/PoseCNN-master/lib/synthesize/synthesize.hpp:250:60: required from here /home/kim/anaconda3/envs/posecnn/Pangolin/include/pangolin/gl/gl.h:210:5: error: ‘pangolin::GlBuffer::GlBuffer(const pangolin::GlBuffer&)’ is private GlBuffer(const GlBuffer&) {} ^ In file included from /usr/include/c++/4.8/vector:62:0, from /home/kim/software/PoseCNN-master/lib/synthesize/synthesize.hpp:6, from /home/kim/software/PoseCNN-master/lib/synthesize/synthesize.cpp:1: /usr/include/c++/4.8/bits/stl_construct.h:75:7: error: within this context { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); } ^ In file included from /home/kim/anaconda3/envs/posecnn/Pangolin/include/pangolin/pangolin.h:33:0, from /home/kim/software/PoseCNN-master/lib/synthesize/synthesize.hpp:15, from /home/kim/software/PoseCNN-master/lib/synthesize/synthesize.cpp:1: /usr/include/c++/4.8/bits/stl_construct.h: In instantiation of ‘void std::_Construct(_T1*, _Args&& ...) [with _T1 = pangolin::GlTexture; _Args = {const pangolin::GlTexture&}]’: /usr/include/c++/4.8/bits/stl_uninitialized.h:75:53: required from ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const pangolin::GlTexture*, std::vector<pangolin::GlTexture> >; _ForwardIterator = pangolin::GlTexture*; bool _TrivialValueTypes = false]’ /usr/include/c++/4.8/bits/stl_uninitialized.h:117:41: required from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const pangolin::GlTexture*, std::vector<pangolin::GlTexture> >; _ForwardIterator = pangolin::GlTexture*]’ /usr/include/c++/4.8/bits/stl_uninitialized.h:258:63: required from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator<const pangolin::GlTexture*, std::vector<pangolin::GlTexture> >; _ForwardIterator = pangolin::GlTexture*; _Tp = pangolin::GlTexture]’ /usr/include/c++/4.8/bits/stl_vector.h:316:32: required from ‘std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = pangolin::GlTexture; _Alloc = std::allocator<pangolin::GlTexture>]’ /home/kim/software/PoseCNN-master/lib/synthesize/synthesize.hpp:105:7: required from ‘boost::python::objects::value_holder<Value>::value_holder(PyObject*, A0) [with A0 = boost::reference_wrapper<const Synthesizer>; Value = Synthesizer; PyObject = _object]’ /usr/local/include/boost/python/object/make_instance.hpp:72:48: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /usr/local/include/boost/python/object/class_metadata.hpp:227:80: required from ‘static void boost::python::objects::class_metadata<T, X1, X2, X3>::register_aux2(T2*, Callback) [with T2 = Synthesizer; Callback = boost::integral_constant<bool, false>; T = Synthesizer; X1 = boost::python::detail::not_specified; X2 = boost::python::detail::not_specified; X3 = boost::python::detail::not_specified]’ /usr/local/include/boost/python/object/class_metadata.hpp:218:60: required from ‘static void boost::python::objects::class_metadata<T, X1, X2, X3>::register_aux(void*) [with T = Synthesizer; X1 = boost::python::detail::not_specified; X2 = boost::python::detail::not_specified; X3 = boost::python::detail::not_specified]’ /usr/local/include/boost/python/object/class_metadata.hpp:204:43: required from ‘static void boost::python::objects::class_metadata<T, X1, X2, X3>::register_() [with T = Synthesizer; X1 = boost::python::detail::not_specified; X2 = boost::python::detail::not_specified; X3 = boost::python::detail::not_specified]’ /usr/local/include/boost/python/class.hpp:450:29: required from ‘void boost::python::class_<T, X1, X2, X3>::initialize(const DefVisitor&) [with DefVisitor = boost::python::init_base<boost::python::init<char*, char*> >; W = Synthesizer; X1 = boost::python::detail::not_specified; X2 = boost::python::detail::not_specified; X3 = boost::python::detail::not_specified]’ /usr/local/include/boost/python/class.hpp:204:9: required from ‘boost::python::class_<T, X1, X2, X3>::class_(const char*, const boost::python::init_base<DerivedT>&) [with DerivedT = boost::python::init<char*, char*>; W = Synthesizer; X1 = boost::python::detail::not_specified; X2 = boost::python::detail::not_specified; X3 = boost::python::detail::not_specified]’ /home/kim/software/PoseCNN-master/lib/synthesize/synthesize.hpp:250:60: required from here /home/kim/anaconda3/envs/posecnn/Pangolin/include/pangolin/gl/gl.h:118:5: error: ‘pangolin::GlTexture::GlTexture(const pangolin::GlTexture&)’ is private GlTexture(const GlTexture&) {} ^ In file included from /usr/include/c++/4.8/vector:62:0, from /home/kim/software/PoseCNN-master/lib/synthesize/synthesize.hpp:6, from /home/kim/software/PoseCNN-master/lib/synthesize/synthesize.cpp:1: /usr/include/c++/4.8/bits/stl_construct.h:75:7: error: within this context { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); } ^ CMakeFiles/synthesizer.dir/build.make:62: recipe for target 'CMakeFiles/synthesizer.dir/synthesize.cpp.o' failed make[2]: *** [CMakeFiles/synthesizer.dir/synthesize.cpp.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/synthesizer.dir/all' failed make[1]: *** [CMakeFiles/synthesizer.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2
same error,did you solve it?
When I execute "cmake .." and "make" output errors as follows. I can't solve them, especially,
vtkRenderingPythonTkWidgets
can't be found, and `PCL' can't be installed successfully.