rubengooj/pl-svo

compile error:‘CVectorDouble’ does not name a type

Closed this issue · 1 comments

Building 3rdparty/line_descriptor ...
-- Configuring done
-- Generating done
-- Build files have been written to: /home/crazy/rosbuild_ws/package_dir/src/pl-svo/3rdparty/line_descriptor/build
[100%] Built target linedesc
Building PL-SVO ...
-- Eigen found (include: /usr/include/eigen3)
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- thread
-- system
-- filesystem
-- Configuring done
-- Generating done
-- Build files have been written to: /home/crazy/rosbuild_ws/package_dir/src/pl-svo/build
[ 5%] Building CXX object CMakeFiles/plsvo.dir/src/sceneRepresentation.cpp.o
In file included from /home/crazy/rosbuild_ws/package_dir/src/pl-svo/src/sceneRepresentation.cpp:28:0:
/home/crazy/rosbuild_ws/package_dir/src/pl-svo/include/plsvo/sceneRepresentation.h:119:5: error: ‘CVectorDouble’ does not name a type
CVectorDouble v_aux, v_aux_, v_aux1, v_aux1_, v_auxgt, gt_aux_, v_auxgt_;
^
/home/crazy/rosbuild_ws/package_dir/src/pl-svo/src/sceneRepresentation.cpp: In member function ‘void sceneRepresentation::initializeScene(Eigen::Matrix<double, 4, 4>)’:
/home/crazy/rosbuild_ws/package_dir/src/pl-svo/src/sceneRepresentation.cpp:128:22: error: ‘v_aux’ was not declared in this scope
pose.getAsVector(v_aux);
^
/home/crazy/rosbuild_ws/package_dir/src/pl-svo/src/sceneRepresentation.cpp:129:23: error: ‘v_aux1’ was not declared in this scope
pose1.getAsVector(v_aux1);
^
/home/crazy/rosbuild_ws/package_dir/src/pl-svo/src/sceneRepresentation.cpp:130:25: error: ‘v_auxgt’ was not declared in this scope
pose_gt.getAsVector(v_auxgt);
^
/home/crazy/rosbuild_ws/package_dir/src/pl-svo/src/sceneRepresentation.cpp: In member function ‘bool sceneRepresentation::updateScene()’:
/home/crazy/rosbuild_ws/package_dir/src/pl-svo/src/sceneRepresentation.cpp:264:5: error: ‘v_aux_’ was not declared in this scope
v_aux_ = v_aux;
^
/home/crazy/rosbuild_ws/package_dir/src/pl-svo/src/sceneRepresentation.cpp:264:14: error: ‘v_aux’ was not declared in this scope
v_aux_ = v_aux;
^
/home/crazy/rosbuild_ws/package_dir/src/pl-svo/src/sceneRepresentation.cpp:285:9: error: ‘v_auxgt_’ was not declared in this scope
v_auxgt_ = v_auxgt;
^
/home/crazy/rosbuild_ws/package_dir/src/pl-svo/src/sceneRepresentation.cpp:285:20: error: ‘v_auxgt’ was not declared in this scope
v_auxgt_ = v_auxgt;
^
/home/crazy/rosbuild_ws/package_dir/src/pl-svo/src/sceneRepresentation.cpp:313:9: error: ‘v_aux1_’ was not declared in this scope
v_aux1_ = v_aux1;
^
/home/crazy/rosbuild_ws/package_dir/src/pl-svo/src/sceneRepresentation.cpp:313:19: error: ‘v_aux1’ was not declared in this scope
v_aux1_ = v_aux1;
^
make[2]: *** [CMakeFiles/plsvo.dir/src/sceneRepresentation.cpp.o] 错误 1
make[1]: *** [CMakeFiles/plsvo.dir/all] 错误 2
make: *** [all] 错误 2

Is there anyone else that met this error?

add #include <mrpt/math/CVectorTemplate.h> in sceneRepresentation.h