Closed bennywijaya55 closed 1 year ago
Dependencies: GTSAM: 4.0.0 OpenCV: 3.3.1
Also I havent make any change for the source code
The error you are seeing is because GTSAM version is too old, I would recommend using the newest changes in the develop
branch of gtsam: git fetch && git checkout develop
Could the rosinstall files kimera_vio_ros_ssh and kimera_vio_ros_https in Kimera-VIO-ROS be updated to use the develop version instead of master?
Hi, thanks for the reply! I have now use the latest version of GTSAM from the develop branch. It solved the previous problem. However now I have another problem and it is related to GTSAM again I think! Do you have any suggestions?
This is the cmake configuration output:
-- The CXX compiler identification is GNU 5.4.0
-- Check for working CXX compiler: /usr/lib/ccache/c++
-- Check for working CXX compiler: /usr/lib/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- ==============================================================
-- ==================== Dependencies ===========================
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- filesystem
-- serialization
-- regex
-- timer
-- date_time
-- thread
-- system
-- chrono
-- atomic
-- Failed to find installed gflags CMake configuration, searching for gflags build directories exported with CMake.
-- Found exported gflags build directory: /home/benny/maplab_ws/build/gflags_catkin/gflags_src-prefix/src/gflags_src
-- Detected broken gflags install in: /home/benny/maplab_ws/build/gflags_catkin/gflags_src-prefix/src/gflags_src, version: 2.1.2 <= 2.1.2 which defines gflags_LIBRARIES = gflags which is not an imported CMake target, see: https://github.com/gflags/gflags/issues/110. Attempting to fix by detecting correct gflags target.
-- Found valid gflags target: gflags-shared, updating gflags_LIBRARIES.
-- Detected gflags version: 2.1.2
-- Found Gflags: /home/benny/maplab_ws/build/gflags_catkin/gflags_src-prefix/src/gflags_src/include
-- Failed to find installed glog CMake configuration, searching for glog build directories exported with CMake.
-- Failed to find an installed/exported CMake configuration for glog, will perform search for installed glog components.
-- Found Glog: /usr/include (Required is at least version "0.3.5")
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- serialization
-- system
-- filesystem
-- thread
-- program_options
-- date_time
-- timer
-- chrono
-- regex
-- atomic
-- GTSAM include directory: /usr/local/lib/cmake/GTSAM/../../../include
-- Found OpenCV: /opt/ros/kinetic (found suitable version "3.3.1", minimum required is "3.3.1")
-- Vocabulary file exists, will not download.
Cloning into 'googletest-src'...
Note: checking out 'v1.10.x'.
You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
HEAD is now at 703bd9c... Googletest export
-- The C compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/lib/ccache/cc
-- Check for working C compiler: /usr/lib/ccache/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PythonInterp: /usr/bin/python (found version "2.7.12")
-- Found GTest: /usr/lib/libgtest.a
-- ===============================================================
-- ================ Configuration Options ======================
-- CMAKE_CXX_COMPILER_ID type : GNU
-- CMAKE_CXX_COMPILER_VERSION : 5.4.0
-- Build flags
-- Build type : Release
-- C compilation flags (Release) : -O3 -DNDEBUG
-- C++ compilation flags (Release) : -O3 -DNDEBUG
-- Configuring done
-- Generating done
-- Build files have been written to: /home/benny/kimeraVIO/Kimera-VIO-master/build
Build error:
Scanning dependencies of target gtest
Scanning dependencies of target kimera_vio
[ 1%] Building CXX object external/googletest-build/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[ 2%] Linking CXX static library ../../../lib/libgtest.a
[ 2%] Built target gtest
[ 3%] Building CXX object CMakeFiles/kimera_vio.dir/src/dataprovider/DataProviderInterface-definitions.cpp.o
[ 4%] Building CXX object CMakeFiles/kimera_vio.dir/src/dataprovider/DataProviderModule.cpp.o
[ 5%] Building CXX object CMakeFiles/kimera_vio.dir/src/dataprovider/DataProviderInterface.cpp.o
[ 6%] Building CXX object CMakeFiles/kimera_vio.dir/src/dataprovider/EurocDataProvider.cpp.o
[ 7%] Building CXX object CMakeFiles/kimera_vio.dir/src/frontend/CameraParams.cpp.o
[ 8%] Building CXX object CMakeFiles/kimera_vio.dir/src/frontend/StereoMatchingParams.cpp.o
[ 9%] Building CXX object CMakeFiles/kimera_vio.dir/src/dataprovider/KittiDataProvider.cpp.o
[ 10%] Building CXX object CMakeFiles/kimera_vio.dir/src/frontend/StereoFrame.cpp.o
[ 11%] Building CXX object CMakeFiles/kimera_vio.dir/src/frontend/StereoImuSyncPacket.cpp.o
[ 11%] Building CXX object CMakeFiles/kimera_vio.dir/src/frontend/StereoVisionFrontEnd.cpp.o
[ 12%] Building CXX object CMakeFiles/kimeravio.dir/src/frontend/VisionFrontEndModule.cpp.o
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/CameraParams.cpp:15:0:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h: In constructor ‘VIO::CameraParams::CameraParams()’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:96:18: warning: ‘VIO::CameraParams::calibration’ will be initialized after [-Wreorder]
gtsam::Cal3DS2 calibration;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:85:11: warning: ‘cv::Mat VIO::CameraParams::K’ [-Wreorder]
cv::Mat K_;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:44:3: warning: when initialized here [-Wreorder]
CameraParams()
^
[ 13%] Building CXX object CMakeFiles/kimeravio.dir/src/frontend/VisionFrontEndFactory.cpp.o
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/Frame.h:37:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoFrame.h:38,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/StereoFrame.cpp:15:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h: In constructor ‘VIO::CameraParams::CameraParams()’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:96:18: warning: ‘VIO::CameraParams::calibration’ will be initialized after [-Wreorder]
gtsam::Cal3DS2 calibration;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:85:11: warning: ‘cv::Mat VIO::CameraParams::K’ [-Wreorder]
cv::Mat K_;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:44:3: warning: when initialized here [-Wreorder]
CameraParams()
^
/home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/StereoFrame.cpp: In member function ‘void VIO::StereoFrame::getRightKeypointsLKunrectified()’:
/home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/StereoFrame.cpp:789:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < pxref.size(); i++) // fill in right frame
^
/home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/StereoFrame.cpp: In member function ‘VIO::StatusKeypointsCV VIO::StereoFrame::getRightKeypointsRectifiedRGBD(cv::Mat, cv::Mat, const StatusKeypointsCV&, const double&, const double&, const double&, const double&) const’:
/home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/StereoFrame.cpp:994:8: warning: unused variable ‘writeImageLeftRightMatching’ [-Wunused-variable]
bool writeImageLeftRightMatching = false;
^
/home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/StereoFrame.cpp: In member function ‘std::pair<std::pair<VIO::KeypointStatus, cv::Point
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/Tracker.h:26:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:19,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/backend/RegularVioBackEnd-definitions.h:29,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/backend/RegularVioBackEndParams.h:29,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/pipeline/Pipeline-definitions.h:17,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/pipeline/Pipeline-definitions.cpp:17:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h: In constructor ‘VIO::CameraParams::CameraParams()’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:96:18: warning: ‘VIO::CameraParams::calibration’ will be initialized after [-Wreorder]
gtsam::Cal3DS2 calibration;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:85:11: warning: ‘cv::Mat VIO::CameraParams::K’ [-Wreorder]
cv::Mat K;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:44:3: warning: when initialized here [-Wreorder]
CameraParams()
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/backend/RegularVioBackEnd-definitions.h:29:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/backend/RegularVioBackEndParams.h:29,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/pipeline/Pipeline-definitions.h:17,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/pipeline/Pipeline-definitions.cpp:17:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h: In constructor ‘VIO::FrontendOutput::FrontendOutput(bool, const StatusStereoMeasurementsPtr&, const VIO::TrackingStatus&, const gtsam::Pose3&, const VIO::StereoFrame&, const PimPtr&, const cv::Mat&, const VIO::DebugTrackerInfo&)’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:65:17: warning: ‘VIO::FrontendOutput::featuretracks’ will be initialized after [-Wreorder]
const cv::Mat featuretracks;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:64:26: warning: ‘const VIO::DebugTrackerInfo VIO::FrontendOutput::debug_trackerinfo’ [-Wreorder]
const DebugTrackerInfo debug_trackerinfo;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:36:2: warning: when initialized here [-Wreorder]
FrontendOutput(const bool is_keyframe,
^
[ 58%] Building CXX object CMakeFiles/kimeravio.dir/src/visualizer/Display.cpp.o
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/Tracker.h:26:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:19,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/backend/VioBackEnd-definitions.h:30,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/logging/Logger.h:23,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/logging/Logger.cpp:15:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h: In constructor ‘VIO::CameraParams::CameraParams()’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:96:18: warning: ‘VIO::CameraParams::calibration’ will be initialized after [-Wreorder]
gtsam::Cal3DS2 calibration;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:85:11: warning: ‘cv::Mat VIO::CameraParams::K’ [-Wreorder]
cv::Mat K_;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:44:3: warning: when initialized here [-Wreorder]
CameraParams()
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/backend/VioBackEnd-definitions.h:30:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/logging/Logger.h:23,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/logging/Logger.cpp:15:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h: In constructor ‘VIO::FrontendOutput::FrontendOutput(bool, const StatusStereoMeasurementsPtr&, const VIO::TrackingStatus&, const gtsam::Pose3&, const VIO::StereoFrame&, const PimPtr&, const cv::Mat&, const VIO::DebugTrackerInfo&)’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:65:17: warning: ‘VIO::FrontendOutput::featuretracks’ will be initialized after [-Wreorder]
const cv::Mat featuretracks;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:64:26: warning: ‘const VIO::DebugTrackerInfo VIO::FrontendOutput::debug_trackerinfo’ [-Wreorder]
const DebugTrackerInfo debug_trackerinfo;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:36:2: warning: when initialized here [-Wreorder]
FrontendOutput(const bool iskeyframe,
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/Tracker.h:26:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:19,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/backend/VioBackEnd-definitions.h:30,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/pipeline/Pipeline.h:25,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/pipeline/Pipeline.cpp:15:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h: In constructor ‘VIO::CameraParams::CameraParams()’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:96:18: warning: ‘VIO::CameraParams::calibration’ will be initialized after [-Wreorder]
gtsam::Cal3DS2 calibration;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:85:11: warning: ‘cv::Mat VIO::CameraParams::K’ [-Wreorder]
cv::Mat K_;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:44:3: warning: when initialized here [-Wreorder]
CameraParams()
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/backend/VioBackEnd-definitions.h:30:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/pipeline/Pipeline.h:25,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/pipeline/Pipeline.cpp:15:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h: In constructor ‘VIO::FrontendOutput::FrontendOutput(bool, const StatusStereoMeasurementsPtr&, const VIO::TrackingStatus&, const gtsam::Pose3&, const VIO::StereoFrame&, const PimPtr&, const cv::Mat&, const VIO::DebugTrackerInfo&)’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:65:17: warning: ‘VIO::FrontendOutput::featuretracks’ will be initialized after [-Wreorder]
const cv::Mat featuretracks;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:64:26: warning: ‘const VIO::DebugTrackerInfo VIO::FrontendOutput::debug_trackerinfo’ [-Wreorder]
const DebugTrackerInfo debug_trackerinfo;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:36:2: warning: when initialized here [-Wreorder]
FrontendOutput(const bool is_keyframe,
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/src/pipeline/Pipeline.cpp:15:0:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/pipeline/Pipeline.h: In constructor ‘VIO::Pipeline::Pipeline(const VIO::VioParams&, VIO::Visualizer3D::UniquePtr&&, VIO::DisplayBase::UniquePtr&&)’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/pipeline/Pipeline.h:288:24: warning: ‘VIO::Pipeline::lcdmodule’ will be initialized after [-Wreorder]
LcdModule::UniquePtr lcdmodule;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/pipeline/Pipeline.h:251:27: warning: ‘VIO::BackendParams::ConstPtr VIO::Pipeline::backendparams’ [-Wreorder]
BackendParams::ConstPtr backendparams;
^
/home/benny/kimeraVIO/Kimera-VIO-master/src/pipeline/Pipeline.cpp:97:1: warning: when initialized here [-Wreorder]
Pipeline::Pipeline(const VioParams& params,
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/src/pipeline/Pipeline.cpp:15:0:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/pipeline/Pipeline.h:315:61: warning: ‘VIO::Pipeline::visualizerthread’ will be initialized after [-Wreorder]
std::unique_ptr
Also, this is the configuration of the GTSAM:
-- The CXX compiler identification is GNU 5.4.0
-- The C compiler identification is GNU 5.4.0
-- Check for working CXX compiler: /usr/lib/ccache/c++
-- Check for working CXX compiler: /usr/lib/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/lib/ccache/cc
-- Check for working C compiler: /usr/lib/ccache/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- GTSAM_SOURCE_ROOT_DIR: [/home/benny/kimeraVIO/gtsam-develop]
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Boost: /usr/include (found suitable version "1.58.0", minimum required is "1.43") found components: serialization system filesystem thread program_options date_time timer chrono regex atomic
Ignoring Boost restriction on optional lvalue assignment from rvalues
-- Found TBB: /usr/include (found suitable version "4.4", minimum required is "4.4") found components: tbb tbbmalloc
-- Found MKL: /opt/intel/mkl/include
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
-- Found Eigen version: 3.2.92
-- Building 3rdparty
-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Looking for getline
-- Looking for getline - found
-- checking for thread-local storage - found
-- Could NOT find GeographicLib (missing: GeographicLib_LIBRARY_DIRS GeographicLib_LIBRARIES GeographicLib_INCLUDE_DIRS)
-- Building base
-- Building geometry
-- Building inference
-- Building symbolic
-- Building discrete
-- Building linear
-- Building nonlinear
-- Building sam
-- Building sfm
-- Building slam
-- Building smart
-- Building navigation
-- GTSAM Version: 4.0.2
-- Install prefix: /usr/local
-- Building GTSAM - shared: ON
-- Building base_unstable
-- Building geometry_unstable
-- Building linear_unstable
-- Building discrete_unstable
-- Building dynamics_unstable
-- Building nonlinear_unstable
-- Building slam_unstable
-- Building partition_unstable
-- GTSAM_UNSTABLE Version: 4.0.2
-- Install prefix: /usr/local
-- Wrote /home/benny/kimeraVIO/gtsam-develop/build/GTSAMConfig.cmake
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- ===============================================================
-- ================ Configuration Options ======================
-- CMAKE_CXX_COMPILER_ID type : GNU
-- CMAKE_CXX_COMPILER_VERSION : 5.4.0
-- CMake version : 3.5.1
-- CMake generator : Unix Makefiles
-- CMake build tool : /usr/bin/make
-- Build flags
-- Build Tests : Enabled
-- Build examples with 'make all' : Enabled
-- Build timing scripts with 'make all': Disabled
-- Build shared GTSAM libraries : Enabled
-- Put build type in library name : Enabled
-- Build libgtsam_unstable : Enabled
-- Build for native architecture : Enabled
-- Build type : Release
-- C compilation flags : -O3 -DNDEBUG
-- C++ compilation flags : -O3 -DNDEBUG
-- GTSAM_COMPILE_FEATURES_PUBLIC :
-- GTSAM_COMPILE_OPTIONS_PRIVATE : -Wall;-fPIC;$<$
-- CPack Source Generator : TGZ
-- CPack Generator : TGZ
-- GTSAM flags
-- Quaternions as default Rot3 : Disabled
-- Runtime consistency checking : Disabled
-- Rot3 retract is full ExpMap : Disabled
-- Pose3 retract is full ExpMap : Disabled
-- Deprecated in GTSAM 4 allowed : Enabled
-- Point3 is typedef to Vector3 : Disabled
-- Metis-based Nested Dissection : Enabled
-- Use tangent-space preintegration: Enabled
-- Build Wrap : Enabled
-- MATLAB toolbox flags
-- Install matlab toolbox : Disabled
-- Cython toolbox flags
-- Install Cython toolbox : Disabled
-- ===============================================================
-- Configuring done
-- Generating done
-- Build files have been written to: /home/benny/kimeraVIO/gtsam-develop/build
Description: Hello, I am trying to install Kimera-VIO in Ubuntu 16.04. I installed all the dependencies. But when I run 'sudo make -j4' for Kimera-VIO, the process terminate without fatal error.
Command: cd Kimera-VIO-master mkdir build cd build cmake .. make -j4
The configuration result shows no error whatsoever: -- The CXX compiler identification is GNU 5.4.0 -- Check for working CXX compiler: /usr/lib/ccache/c++ -- Check for working CXX compiler: /usr/lib/ccache/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- ============================================================== -- ==================== Dependencies =========================== -- Looking for C++ include pthread.h -- Looking for C++ include pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE
-- Boost version: 1.58.0 -- Found the following Boost libraries: -- filesystem -- serialization -- regex -- timer -- date_time -- thread -- system -- chrono -- atomic -- Failed to find installed gflags CMake configuration, searching for gflags build directories exported with CMake. -- Found exported gflags build directory: /home/benny/maplab_ws/build/gflags_catkin/gflags_src-prefix/src/gflags_src -- Detected broken gflags install in: /home/benny/maplab_ws/build/gflags_catkin/gflags_src-prefix/src/gflags_src, version: 2.1.2 <= 2.1.2 which defines gflags_LIBRARIES = gflags which is not an imported CMake target, see: https://github.com/gflags/gflags/issues/110. Attempting to fix by detecting correct gflags target. -- Found valid gflags target: gflags-shared, updating gflags_LIBRARIES. -- Detected gflags version: 2.1.2 -- Found Gflags: /home/benny/maplab_ws/build/gflags_catkin/gflags_src-prefix/src/gflags_src/include
-- Failed to find installed glog CMake configuration, searching for glog build directories exported with CMake. -- Failed to find an installed/exported CMake configuration for glog, will perform search for installed glog components. -- Found Glog: /usr/include (Required is at least version "0.3.5") -- GTSAM include directory: /usr/local/lib/cmake/GTSAM/../../../include;/usr/include;/usr/local/include/gtsam/3rdparty/Eigen/ -- Found OpenCV: /opt/ros/kinetic (found suitable version "3.3.1", minimum required is "3.3.1") -- Vocabulary file exists, will not download. Cloning into 'googletest-src'... Note: checking out 'v1.10.x'.
You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
HEAD is now at 703bd9c... Googletest export -- The C compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/lib/ccache/cc -- Check for working C compiler: /usr/lib/ccache/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found PythonInterp: /usr/bin/python (found version "2.7.12") -- Found GTest: /usr/lib/libgtest.a
-- =============================================================== -- ================ Configuration Options ====================== -- CMAKE_CXX_COMPILER_ID type : GNU -- CMAKE_CXX_COMPILER_VERSION : 5.4.0 -- Build flags
-- Build type : Release -- C compilation flags (Release) : -O3 -DNDEBUG -- C++ compilation flags (Release) : -O3 -DNDEBUG -- Configuring done -- Generating done -- Build files have been written to: /home/benny/kimeraVIO/Kimera-VIO-master/build
Console Output: [ 1%] Building CXX object external/googletest-build/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o [ 2%] Linking CXX static library ../../../lib/libgtest.a [ 2%] Built target gtest [ 3%] Building CXX object CMakeFiles/kimera_vio.dir/src/dataprovider/DataProviderInterface-definitions.cpp.o [ 4%] Building CXX object CMakeFiles/kimera_vio.dir/src/dataprovider/DataProviderInterface.cpp.o [ 5%] Building CXX object CMakeFiles/kimera_vio.dir/src/dataprovider/KittiDataProvider.cpp.o [ 6%] Building CXX object CMakeFiles/kimera_vio.dir/src/dataprovider/DataProviderModule.cpp.o [ 7%] Building CXX object CMakeFiles/kimera_vio.dir/src/dataprovider/EurocDataProvider.cpp.o [ 8%] Building CXX object CMakeFiles/kimera_vio.dir/src/frontend/StereoMatchingParams.cpp.o [ 9%] Building CXX object CMakeFiles/kimera_vio.dir/src/frontend/CameraParams.cpp.o [ 10%] Building CXX object CMakeFiles/kimeravio.dir/src/frontend/StereoFrame.cpp.o In file included from /home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/CameraParams.cpp:15:0: /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h: In constructor ‘VIO::CameraParams::CameraParams()’: /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:96:18: warning: ‘VIO::CameraParams::calibration’ will be initialized after [-Wreorder] gtsam::Cal3DS2 calibration; ^ /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:85:11: warning: ‘cv::Mat VIO::CameraParams::K’ [-Wreorder] cv::Mat K; ^ /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:44:3: warning: when initialized here [-Wreorder] CameraParams() ^ In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/Frame.h:37:0, from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoFrame.h:38, from /home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/StereoFrame.cpp:15: /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h: In constructor ‘VIO::CameraParams::CameraParams()’: /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:96:18: warning: ‘VIO::CameraParams::calibration’ will be initialized after [-Wreorder] gtsam::Cal3DS2 calibration; ^ /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:85:11: warning: ‘cv::Mat VIO::CameraParams::K’ [-Wreorder] cv::Mat K_; ^ /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:44:3: warning: when initialized here [-Wreorder] CameraParams() ^ /home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/StereoFrame.cpp: In member function ‘void VIO::StereoFrame::getRightKeypointsLKunrectified()’: /home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/StereoFrame.cpp:789:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < pxref.size(); i++) // fill in right frame ^ /home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/StereoFrame.cpp: In member function ‘VIO::StatusKeypointsCV VIO::StereoFrame::getRightKeypointsRectifiedRGBD(cv::Mat, cv::Mat, const StatusKeypointsCV&, const double&, const double&, const double&, const double&) const’: /home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/StereoFrame.cpp:994:8: warning: unused variable ‘writeImageLeftRightMatching’ [-Wunused-variable] bool writeImageLeftRightMatching = false; ^ /home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/StereoFrame.cpp: In member function ‘std::pair<std::pair<VIO::KeypointStatus, cv::Point >, double> VIO::StereoFrame::findMatchingKeypointRectified(cv::Mat, const KeypointCV&, cv::Mat, int, int, int, int, double, bool) const’:
/home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/StereoFrame.cpp:1086:7: warning: unused variable ‘result_cols’ [-Wunused-variable]
int result_cols = stripe_cols - templ_cols + 1;
^
/home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/StereoFrame.cpp:1087:7: warning: unused variable ‘result_rows’ [-Wunused-variable]
int result_rows = stripe_rows - templ_rows + 1;
^
[ 11%] Building CXX object CMakeFiles/kimera_vio.dir/src/frontend/StereoImuSyncPacket.cpp.o
[ 12%] Building CXX object CMakeFiles/kimera_vio.dir/src/frontend/VisionFrontEndModule.cpp.o
[ 12%] Building CXX object CMakeFiles/kimera_vio.dir/src/frontend/StereoVisionFrontEnd.cpp.o
[ 13%] Building CXX object CMakeFiles/kimeravio.dir/src/frontend/VisionFrontEndFactory.cpp.o
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/Tracker.h:26:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:19,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/backend/VioBackEnd-definitions.h:30,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoImuSyncPacket.h:22,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/StereoImuSyncPacket.cpp:17:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h: In constructor ‘VIO::CameraParams::CameraParams()’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:96:18: warning: ‘VIO::CameraParams::calibration’ will be initialized after [-Wreorder]
gtsam::Cal3DS2 calibration;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:85:11: warning: ‘cv::Mat VIO::CameraParams::K’ [-Wreorder]
cv::Mat K_;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:44:3: warning: when initialized here [-Wreorder]
CameraParams()
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:20:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/backend/VioBackEnd-definitions.h:30,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoImuSyncPacket.h:22,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/StereoImuSyncPacket.cpp:17:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/imu-frontend/ImuFrontEnd.h: In member function ‘void VIO::ImuFrontEnd::resetPreintegrationGravity(const Vector3&)’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/imu-frontend/ImuFrontEnd.h:164:40: error: ‘struct gtsam::PreintegrationParams’ has no member named ‘getGravity’
CHECK(gtsam::assertequal(pim->params()->getGravity(), reset_value));
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/backend/VioBackEnd-definitions.h:30:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoImuSyncPacket.h:22,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/StereoImuSyncPacket.cpp:17:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h: In constructor ‘VIO::FrontendOutput::FrontendOutput(bool, const StatusStereoMeasurementsPtr&, const VIO::TrackingStatus&, const gtsam::Pose3&, const VIO::StereoFrame&, const PimPtr&, const cv::Mat&, const VIO::DebugTrackerInfo&)’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:65:17: warning: ‘VIO::FrontendOutput::featuretracks’ will be initialized after [-Wreorder]
const cv::Mat featuretracks;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:64:26: warning: ‘const VIO::DebugTrackerInfo VIO::FrontendOutput::debug_trackerinfo’ [-Wreorder]
const DebugTrackerInfo debug_trackerinfo;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:36:2: warning: when initialized here [-Wreorder]
FrontendOutput(const bool is_keyframe,
^
CMakeFiles/kimera_vio.dir/build.make:254: recipe for target 'CMakeFiles/kimera_vio.dir/src/frontend/StereoImuSyncPacket.cpp.o' failed
make[2]: [CMakeFiles/kimera_vio.dir/src/frontend/StereoImuSyncPacket.cpp.o] Error 1
make[2]: Waiting for unfinished jobs....
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/Tracker.h:26:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:19,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/VisionFrontEndFactory.h:17,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/VisionFrontEndFactory.cpp:15:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h: In constructor ‘VIO::CameraParams::CameraParams()’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:96:18: warning: ‘VIO::CameraParams::calibration’ will be initialized after [-Wreorder]
gtsam::Cal3DS2 calibration;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:85:11: warning: ‘cv::Mat VIO::CameraParams::K’ [-Wreorder]
cv::Mat K;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:44:3: warning: when initialized here [-Wreorder]
CameraParams()
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:20:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/VisionFrontEndFactory.h:17,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/VisionFrontEndFactory.cpp:15:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/imu-frontend/ImuFrontEnd.h: In member function ‘void VIO::ImuFrontEnd::resetPreintegrationGravity(const Vector3&)’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/imu-frontend/ImuFrontEnd.h:164:40: error: ‘struct gtsam::PreintegrationParams’ has no member named ‘getGravity’
CHECK(gtsam::assertequal(pim->params()->getGravity(), reset_value));
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/VisionFrontEndFactory.h:17:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/VisionFrontEndFactory.cpp:15:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h: In constructor ‘VIO::FrontendOutput::FrontendOutput(bool, const StatusStereoMeasurementsPtr&, const VIO::TrackingStatus&, const gtsam::Pose3&, const VIO::StereoFrame&, const PimPtr&, const cv::Mat&, const VIO::DebugTrackerInfo&)’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:65:17: warning: ‘VIO::FrontendOutput::featuretracks’ will be initialized after [-Wreorder]
const cv::Mat featuretracks;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:64:26: warning: ‘const VIO::DebugTrackerInfo VIO::FrontendOutput::debug_trackerinfo’ [-Wreorder]
const DebugTrackerInfo debug_trackerinfo;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:36:2: warning: when initialized here [-Wreorder]
FrontendOutput(const bool is_keyframe,
^
/home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/VisionFrontEndFactory.cpp: In static member function ‘static VIO::StereoVisionFrontEnd::UniquePtr VIO::VisionFrontEndFactory::createFrontend(const VIO::FrontendType&, const VIO::ImuParams&, const ImuBias&, const VIO::FrontendParams&, const VIO::CameraParams&, VIO::DisplayQueue, bool)’:
/home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/VisionFrontEndFactory.cpp:46:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd.h:37:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/VisionFrontEndFactory.h:18,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/VisionFrontEndFactory.cpp:15:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/logging/Logger.h: At global scope:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/logging/Logger.h:31:13: warning: ‘void VIO::OpenFile(const string&, std::ofstream, bool)’ defined but not used [-Wunused-function]
static void OpenFile(const std::string& output_filename,
^
CMakeFiles/kimera_vio.dir/build.make:326: recipe for target 'CMakeFiles/kimera_vio.dir/src/frontend/VisionFrontEndFactory.cpp.o' failed
make[2]: [CMakeFiles/kimeravio.dir/src/frontend/VisionFrontEndFactory.cpp.o] Error 1
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/Camera.h:31:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/dataprovider/DataProviderInterface.h:20,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/dataprovider/KittiDataProvider.h:21,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/KittiDataProvider.cpp:15:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h: In constructor ‘VIO::CameraParams::CameraParams()’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:96:18: warning: ‘VIO::CameraParams::calibration’ will be initialized after [-Wreorder]
gtsam::Cal3DS2 calibration;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:85:11: warning: ‘cv::Mat VIO::CameraParams::K’ [-Wreorder]
cv::Mat K_;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:44:3: warning: when initialized here [-Wreorder]
CameraParams()
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:20:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/backend/VioBackEnd-definitions.h:30,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoImuSyncPacket.h:22,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/dataprovider/DataProviderInterface.h:21,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/dataprovider/KittiDataProvider.h:21,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/KittiDataProvider.cpp:15:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/imu-frontend/ImuFrontEnd.h: In member function ‘void VIO::ImuFrontEnd::resetPreintegrationGravity(const Vector3&)’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/imu-frontend/ImuFrontEnd.h:164:40: error: ‘struct gtsam::PreintegrationParams’ has no member named ‘getGravity’
CHECK(gtsam::assertequal(pim->params()->getGravity(), reset_value));
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/backend/VioBackEnd-definitions.h:30:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoImuSyncPacket.h:22,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/dataprovider/DataProviderInterface.h:21,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/dataprovider/KittiDataProvider.h:21,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/KittiDataProvider.cpp:15:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h: In constructor ‘VIO::FrontendOutput::FrontendOutput(bool, const StatusStereoMeasurementsPtr&, const VIO::TrackingStatus&, const gtsam::Pose3&, const VIO::StereoFrame&, const PimPtr&, const cv::Mat&, const VIO::DebugTrackerInfo&)’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:65:17: warning: ‘VIO::FrontendOutput::featuretracks’ will be initialized after [-Wreorder]
const cv::Mat featuretracks;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:64:26: warning: ‘const VIO::DebugTrackerInfo VIO::FrontendOutput::debug_trackerinfo’ [-Wreorder]
const DebugTrackerInfo debug_trackerinfo;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:36:3: warning: when initialized here [-Wreorder]
FrontendOutput(const bool iskeyframe,
^
/home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/KittiDataProvider.cpp: In member function ‘VIO::KittiDataProvider::KittiData::operator bool() const’:
/home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/KittiDataProvider.cpp:29:26: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses]
timestamps.size() == left_imgnames.size() == right_imgnames.size();
^
/home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/KittiDataProvider.cpp: In member function ‘bool VIO::KittiDataProvider::parseImuData(const string&, VIO::KittiDataProvider::KittiData)’:
/home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/KittiDataProvider.cpp:208:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/KittiDataProvider.cpp: In member function ‘virtual bool VIO::KittiDataProvider::spin()’:
/home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/KittiDataProvider.cpp:55:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
CMakeFiles/kimera_vio.dir/build.make:158: recipe for target 'CMakeFiles/kimera_vio.dir/src/dataprovider/KittiDataProvider.cpp.o' failed
make[2]: * [CMakeFiles/kimeravio.dir/src/dataprovider/KittiDataProvider.cpp.o] Error 1
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/Tracker.h:26:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:19,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/backend/VioBackEnd-definitions.h:30,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd.h:27,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/StereoVisionFrontEnd.cpp:16:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h: In constructor ‘VIO::CameraParams::CameraParams()’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:96:18: warning: ‘VIO::CameraParams::calibration’ will be initialized after [-Wreorder]
gtsam::Cal3DS2 calibration;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:85:11: warning: ‘cv::Mat VIO::CameraParams::K’ [-Wreorder]
cv::Mat K_;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:44:3: warning: when initialized here [-Wreorder]
CameraParams()
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:20:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/backend/VioBackEnd-definitions.h:30,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd.h:27,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/StereoVisionFrontEnd.cpp:16:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/imu-frontend/ImuFrontEnd.h: In member function ‘void VIO::ImuFrontEnd::resetPreintegrationGravity(const Vector3&)’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/imu-frontend/ImuFrontEnd.h:164:40: error: ‘struct gtsam::PreintegrationParams’ has no member named ‘getGravity’
CHECK(gtsam::assertequal(pim->params()->getGravity(), reset_value));
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/backend/VioBackEnd-definitions.h:30:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd.h:27,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/StereoVisionFrontEnd.cpp:16:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h: In constructor ‘VIO::FrontendOutput::FrontendOutput(bool, const StatusStereoMeasurementsPtr&, const VIO::TrackingStatus&, const gtsam::Pose3&, const VIO::StereoFrame&, const PimPtr&, const cv::Mat&, const VIO::DebugTrackerInfo&)’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:65:17: warning: ‘VIO::FrontendOutput::featuretracks’ will be initialized after [-Wreorder]
const cv::Mat featuretracks;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:64:26: warning: ‘const VIO::DebugTrackerInfo VIO::FrontendOutput::debug_trackerinfo’ [-Wreorder]
const DebugTrackerInfo debug_trackerinfo;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:36:2: warning: when initialized here [-Wreorder]
FrontendOutput(const bool is_keyframe,
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd.h:37:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/StereoVisionFrontEnd.cpp:16:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/logging/Logger.h: At global scope:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/logging/Logger.h:31:13: warning: ‘void VIO::OpenFile(const string&, std::ofstream, bool)’ defined but not used [-Wunused-function]
static void OpenFile(const std::string& output_filename,
^
CMakeFiles/kimera_vio.dir/build.make:278: recipe for target 'CMakeFiles/kimera_vio.dir/src/frontend/StereoVisionFrontEnd.cpp.o' failed
make[2]: [CMakeFiles/kimeravio.dir/src/frontend/StereoVisionFrontEnd.cpp.o] Error 1
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/Camera.h:31:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/dataprovider/DataProviderInterface.h:20,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/DataProviderInterface.cpp:15:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h: In constructor ‘VIO::CameraParams::CameraParams()’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:96:18: warning: ‘VIO::CameraParams::calibration’ will be initialized after [-Wreorder]
gtsam::Cal3DS2 calibration;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:85:11: warning: ‘cv::Mat VIO::CameraParams::K’ [-Wreorder]
cv::Mat K_;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:44:3: warning: when initialized here [-Wreorder]
CameraParams()
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:20:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/backend/VioBackEnd-definitions.h:30,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoImuSyncPacket.h:22,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/dataprovider/DataProviderInterface.h:21,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/DataProviderInterface.cpp:15:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/imu-frontend/ImuFrontEnd.h: In member function ‘void VIO::ImuFrontEnd::resetPreintegrationGravity(const Vector3&)’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/imu-frontend/ImuFrontEnd.h:164:40: error: ‘struct gtsam::PreintegrationParams’ has no member named ‘getGravity’
CHECK(gtsam::assertequal(pim->params()->getGravity(), reset_value));
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/backend/VioBackEnd-definitions.h:30:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoImuSyncPacket.h:22,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/dataprovider/DataProviderInterface.h:21,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/DataProviderInterface.cpp:15:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h: In constructor ‘VIO::FrontendOutput::FrontendOutput(bool, const StatusStereoMeasurementsPtr&, const VIO::TrackingStatus&, const gtsam::Pose3&, const VIO::StereoFrame&, const PimPtr&, const cv::Mat&, const VIO::DebugTrackerInfo&)’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:65:17: warning: ‘VIO::FrontendOutput::featuretracks’ will be initialized after [-Wreorder]
const cv::Mat featuretracks;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:64:26: warning: ‘const VIO::DebugTrackerInfo VIO::FrontendOutput::debug_trackerinfo’ [-Wreorder]
const DebugTrackerInfo debug_trackerinfo;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:36:3: warning: when initialized here [-Wreorder]
FrontendOutput(const bool is_keyframe,
^
CMakeFiles/kimera_vio.dir/build.make:86: recipe for target 'CMakeFiles/kimera_vio.dir/src/dataprovider/DataProviderInterface.cpp.o' failed
make[2]: * [CMakeFiles/kimeravio.dir/src/dataprovider/DataProviderInterface.cpp.o] Error 1
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/Tracker.h:26:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:19,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/VisionFrontEndModule.h:17,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/VisionFrontEndModule.cpp:15:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h: In constructor ‘VIO::CameraParams::CameraParams()’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:96:18: warning: ‘VIO::CameraParams::calibration’ will be initialized after [-Wreorder]
gtsam::Cal3DS2 calibration;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:85:11: warning: ‘cv::Mat VIO::CameraParams::K’ [-Wreorder]
cv::Mat K_;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:44:3: warning: when initialized here [-Wreorder]
CameraParams()
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:20:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/VisionFrontEndModule.h:17,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/VisionFrontEndModule.cpp:15:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/imu-frontend/ImuFrontEnd.h: In member function ‘void VIO::ImuFrontEnd::resetPreintegrationGravity(const Vector3&)’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/imu-frontend/ImuFrontEnd.h:164:40: error: ‘struct gtsam::PreintegrationParams’ has no member named ‘getGravity’
CHECK(gtsam::assertequal(pim->params()->getGravity(), reset_value));
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/VisionFrontEndModule.h:17:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/VisionFrontEndModule.cpp:15:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h: In constructor ‘VIO::FrontendOutput::FrontendOutput(bool, const StatusStereoMeasurementsPtr&, const VIO::TrackingStatus&, const gtsam::Pose3&, const VIO::StereoFrame&, const PimPtr&, const cv::Mat&, const VIO::DebugTrackerInfo&)’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:65:17: warning: ‘VIO::FrontendOutput::featuretracks’ will be initialized after [-Wreorder]
const cv::Mat featuretracks;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:64:26: warning: ‘const VIO::DebugTrackerInfo VIO::FrontendOutput::debug_trackerinfo’ [-Wreorder]
const DebugTrackerInfo debug_trackerinfo;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:36:2: warning: when initialized here [-Wreorder]
FrontendOutput(const bool is_keyframe,
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd.h:37:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/VisionFrontEndModule.h:18,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/frontend/VisionFrontEndModule.cpp:15:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/logging/Logger.h: At global scope:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/logging/Logger.h:31:13: warning: ‘void VIO::OpenFile(const string&, std::ofstream*, bool)’ defined but not used [-Wunused-function]
static void OpenFile(const std::string& output_filename,
^
CMakeFiles/kimera_vio.dir/build.make:302: recipe for target 'CMakeFiles/kimera_vio.dir/src/frontend/VisionFrontEndModule.cpp.o' failed
make[2]: [CMakeFiles/kimeravio.dir/src/frontend/VisionFrontEndModule.cpp.o] Error 1
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/Tracker.h:26:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:19,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/backend/VioBackEnd-definitions.h:30,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoImuSyncPacket.h:22,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/dataprovider/DataProviderModule.h:29,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/DataProviderModule.cpp:16:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h: In constructor ‘VIO::CameraParams::CameraParams()’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:96:18: warning: ‘VIO::CameraParams::calibration’ will be initialized after [-Wreorder]
gtsam::Cal3DS2 calibration;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:85:11: warning: ‘cv::Mat VIO::CameraParams::K’ [-Wreorder]
cv::Mat K_;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:44:3: warning: when initialized here [-Wreorder]
CameraParams()
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:20:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/backend/VioBackEnd-definitions.h:30,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoImuSyncPacket.h:22,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/dataprovider/DataProviderModule.h:29,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/DataProviderModule.cpp:16:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/imu-frontend/ImuFrontEnd.h: In member function ‘void VIO::ImuFrontEnd::resetPreintegrationGravity(const Vector3&)’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/imu-frontend/ImuFrontEnd.h:164:40: error: ‘struct gtsam::PreintegrationParams’ has no member named ‘getGravity’
CHECK(gtsam::assertequal(pim->params()->getGravity(), reset_value));
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/backend/VioBackEnd-definitions.h:30:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoImuSyncPacket.h:22,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/dataprovider/DataProviderModule.h:29,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/DataProviderModule.cpp:16:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h: In constructor ‘VIO::FrontendOutput::FrontendOutput(bool, const StatusStereoMeasurementsPtr&, const VIO::TrackingStatus&, const gtsam::Pose3&, const VIO::StereoFrame&, const PimPtr&, const cv::Mat&, const VIO::DebugTrackerInfo&)’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:65:17: warning: ‘VIO::FrontendOutput::featuretracks’ will be initialized after [-Wreorder]
const cv::Mat featuretracks;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:64:26: warning: ‘const VIO::DebugTrackerInfo VIO::FrontendOutput::debug_trackerinfo’ [-Wreorder]
const DebugTrackerInfo debug_trackerinfo;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:36:2: warning: when initialized here [-Wreorder]
FrontendOutput(const bool is_keyframe,
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/DataProviderModule.cpp:16:0:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/dataprovider/DataProviderModule.h: In constructor ‘VIO::DataProviderModule::DataProviderModule(VIO::MISOPipelineModule<VIO::StereoImuSyncPacket, VIO::StereoImuSyncPacket>::OutputQueue, const string&, const bool&, const VIO::StereoMatchingParams&)’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/dataprovider/DataProviderModule.h:126:24: warning: ‘VIO::DataProviderModule::stereo_matchingparams’ will be initialized after [-Wreorder]
StereoMatchingParams stereo_matchingparams;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/dataprovider/DataProviderModule.h:124:13: warning: ‘VIO::Timestamp VIO::DataProviderModule::timestamp_lastframe’ [-Wreorder]
Timestamp timestamp_lastframe;
^
/home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/DataProviderModule.cpp:20:1: warning: when initialized here [-Wreorder]
DataProviderModule::DataProviderModule(
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/Tracker.h:32:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:19,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/backend/VioBackEnd-definitions.h:30,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoImuSyncPacket.h:22,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/dataprovider/DataProviderModule.h:29,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/DataProviderModule.cpp:16:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/utils/ThreadsafeQueue.h: In instantiation of ‘VIO::ThreadsafeQueueBase::ThreadsafeQueueBase(const string&) [with T = std::unique_ptr; std::cxx11::string = std::cxx11::basic_string]’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/utils/ThreadsafeQueue.h:273:24: required from ‘VIO::ThreadsafeQueue::ThreadsafeQueue(const string&, const bool&) [with T = std::unique_ptr; std::cxx11::string = std::cxx11::basic_string]’
/home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/DataProviderModule.cpp:33:40: required from here
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/utils/ThreadsafeQueue.h:142:22: warning: ‘VIO::ThreadsafeQueueBase<std::uniqueptr >::mutex ’ will be initialized after [-Wreorder]
mutable std::mutex mutex_; //! mutable for empty() and copy-constructor.
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/utils/ThreadsafeQueue.h:139:15: warning: ‘std::__cxx11::string VIO::ThreadsafeQueueBase<std::unique_ptr >::queueid’ [-Wreorder]
std::string queueid;
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/Tracker.h:32:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:19,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/backend/VioBackEnd-definitions.h:30,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoImuSyncPacket.h:22,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/dataprovider/DataProviderModule.h:29,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/DataProviderModule.cpp:16:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/utils/ThreadsafeQueue.h:259:1: warning: when initialized here [-Wreorder]
ThreadsafeQueueBase::ThreadsafeQueueBase(const std::string& queue_id)
^
CMakeFiles/kimera_vio.dir/build.make:110: recipe for target 'CMakeFiles/kimera_vio.dir/src/dataprovider/DataProviderModule.cpp.o' failed
make[2]: * [CMakeFiles/kimeravio.dir/src/dataprovider/DataProviderModule.cpp.o] Error 1
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/Camera.h:31:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/dataprovider/DataProviderInterface.h:20,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/dataprovider/EurocDataProvider.h:31,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/EurocDataProvider.cpp:17:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h: In constructor ‘VIO::CameraParams::CameraParams()’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:96:18: warning: ‘VIO::CameraParams::calibration’ will be initialized after [-Wreorder]
gtsam::Cal3DS2 calibration;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:85:11: warning: ‘cv::Mat VIO::CameraParams::K’ [-Wreorder]
cv::Mat K_;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/CameraParams.h:44:3: warning: when initialized here [-Wreorder]
CameraParams()
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:20:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/backend/VioBackEnd-definitions.h:30,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoImuSyncPacket.h:22,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/dataprovider/DataProviderInterface.h:21,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/dataprovider/EurocDataProvider.h:31,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/EurocDataProvider.cpp:17:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/imu-frontend/ImuFrontEnd.h: In member function ‘void VIO::ImuFrontEnd::resetPreintegrationGravity(const Vector3&)’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/imu-frontend/ImuFrontEnd.h:164:40: error: ‘struct gtsam::PreintegrationParams’ has no member named ‘getGravity’
CHECK(gtsam::assertequal(pim->params()->getGravity(), reset_value));
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/backend/VioBackEnd-definitions.h:30:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoImuSyncPacket.h:22,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/dataprovider/DataProviderInterface.h:21,
from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/dataprovider/EurocDataProvider.h:31,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/EurocDataProvider.cpp:17:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h: In constructor ‘VIO::FrontendOutput::FrontendOutput(bool, const StatusStereoMeasurementsPtr&, const VIO::TrackingStatus&, const gtsam::Pose3&, const VIO::StereoFrame&, const PimPtr&, const cv::Mat&, const VIO::DebugTrackerInfo&)’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:65:17: warning: ‘VIO::FrontendOutput::featuretracks’ will be initialized after [-Wreorder]
const cv::Mat featuretracks;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:64:26: warning: ‘const VIO::DebugTrackerInfo VIO::FrontendOutput::debug_trackerinfo’ [-Wreorder]
const DebugTrackerInfo debug_trackerinfo;
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/frontend/StereoVisionFrontEnd-definitions.h:36:2: warning: when initialized here [-Wreorder]
FrontendOutput(const bool is_keyframe,
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/EurocDataProvider.cpp:17:0:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/dataprovider/EurocDataProvider.h: In constructor ‘VIO::EurocDataProvider::EurocDataProvider(const string&, const int&, const int&, const VIO::VioParams&)’:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/dataprovider/EurocDataProvider.h:192:11: warning: ‘VIO::EurocDataProvider::finalk’ will be initialized after [-Wreorder]
FrameId finalk; // end frame
^
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/dataprovider/EurocDataProvider.h:177:13: warning: ‘VIO::VioParams VIO::EurocDataProvider::pipelineparams’ [-Wreorder]
VioParams pipelineparams;
^
/home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/EurocDataProvider.cpp:51:1: warning: when initialized here [-Wreorder]
EurocDataProvider::EurocDataProvider(const std::string& dataset_path,
^
/home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/EurocDataProvider.cpp: In member function ‘const VIO::InitializationPerformance VIO::EurocDataProvider::getInitializationPerformance(const std::vector&, const std::vector&, const VIO::VioNavState&, const Vector3&)’:
/home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/EurocDataProvider.cpp:602:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < timestamps.size(); i++) {
^
In file included from /home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/dataprovider/EurocDataProvider.h:35:0,
from /home/benny/kimeraVIO/Kimera-VIO-master/src/dataprovider/EurocDataProvider.cpp:17:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/logging/Logger.h: At global scope:
/home/benny/kimeraVIO/Kimera-VIO-master/include/kimera-vio/logging/Logger.h:31:13: warning: ‘void VIO::OpenFile(const string&, std::ofstream, bool)’ defined but not used [-Wunused-function]
static void OpenFile(const std::string& output_filename,
^
CMakeFiles/kimera_vio.dir/build.make:134: recipe for target 'CMakeFiles/kimera_vio.dir/src/dataprovider/EurocDataProvider.cpp.o' failed
make[2]: [CMakeFiles/kimera_vio.dir/src/dataprovider/EurocDataProvider.cpp.o] Error 1
CMakeFiles/Makefile2:520: recipe for target 'CMakeFiles/kimera_vio.dir/all' failed
make[1]: * [CMakeFiles/kimera_vio.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2