You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
Hi, I'm trying to compile the kimera_vio_ros package from the master branch, but currently keep getting an error that I'm not able to fix by myself.
I would appreciate your support!
My g++ version is g++ (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609
Command:
catkin build
Console output:
Errors << kimera_vio_ros:make /home/mikolaj/catkin_ws/logs/kimera_vio_ros/build.make.001.log
<command-line>:0:15: warning: ISO C++11 requires whitespace after the macro name
<command-line>:0:15: warning: ISO C++11 requires whitespace after the macro name
/home/mikolaj/catkin_ws/src/Kimera-VIO-ROS/src/KimeraVioRos.cpp: In member function ‘bool VIO::KimeraVioRos::spin()’:
/home/mikolaj/catkin_ws/src/Kimera-VIO-ROS/src/KimeraVioRos.cpp:124:66: error: no matching function for call to ‘async(std::launch, bool (VIO::DataProviderInterface::*)(), std::reference_wrapper<VIO::RosDataProviderInterface>)’
std::ref(*CHECK_NOTNULL(data_provider_.get())));
^
In file included from /home/mikolaj/catkin_ws/src/Kimera-VIO-ROS/src/KimeraVioRos.cpp:9:0:
/usr/include/c++/5/future:1703:5: note: candidate: template<class _Fn, class ... _Args> std::future<typename std::result_of<_Functor(_ArgTypes ...)>::type> std::async(std::launch, _Fn&&, _Args&& ...)
async(launch __policy, _Fn&& __fn, _Args&&... __args)
^
/usr/include/c++/5/future:1703:5: note: template argument deduction/substitution failed:
/usr/include/c++/5/future: In substitution of ‘template<class _Fn, class ... _Args> std::future<typename std::result_of<_Functor(_ArgTypes ...)>::type> std::async(std::launch, _Fn&&, _Args&& ...) [with _Fn = bool (VIO::DataProviderInterface::*)(); _Args = {std::reference_wrapper<VIO::RosDataProviderInterface>}]’:
/home/mikolaj/catkin_ws/src/Kimera-VIO-ROS/src/KimeraVioRos.cpp:124:66: required from here
/usr/include/c++/5/future:1703:5: error: no type named ‘type’ in ‘class std::result_of<bool (VIO::DataProviderInterface::*(std::reference_wrapper<VIO::RosDataProviderInterface>))()>’
/usr/include/c++/5/future:1723:5: note: candidate: template<class _Fn, class ... _Args> std::future<typename std::result_of<_Functor(_ArgTypes ...)>::type> std::async(_Fn&&, _Args&& ...)
async(_Fn&& __fn, _Args&&... __args)
^
/usr/include/c++/5/future:1723:5: note: template argument deduction/substitution failed:
/usr/include/c++/5/future: In substitution of ‘template<class _Fn, class ... _Args> std::future<typename std::result_of<_Functor(_ArgTypes ...)>::type> std::async(_Fn&&, _Args&& ...) [with _Fn = std::launch; _Args = {bool (VIO::DataProviderInterface::*)(), std::reference_wrapper<VIO::RosDataProviderInterface>}]’:
/home/mikolaj/catkin_ws/src/Kimera-VIO-ROS/src/KimeraVioRos.cpp:124:66: required from here
/usr/include/c++/5/future:1723:5: error: no type named ‘type’ in ‘class std::result_of<std::launch(bool (VIO::DataProviderInterface::*)(), std::reference_wrapper<VIO::RosDataProviderInterface>)>’
/home/mikolaj/catkin_ws/src/Kimera-VIO-ROS/src/KimeraVioRos.cpp:128:65: error: no matching function for call to ‘async(std::launch, bool (VIO::Pipeline::*)(), std::reference_wrapper<VIO::Pipeline>)’
std::ref(*CHECK_NOTNULL(vio_pipeline_.get())));
^
In file included from /home/mikolaj/catkin_ws/src/Kimera-VIO-ROS/src/KimeraVioRos.cpp:9:0:
/usr/include/c++/5/future:1703:5: note: candidate: template<class _Fn, class ... _Args> std::future<typename std::result_of<_Functor(_ArgTypes ...)>::type> std::async(std::launch, _Fn&&, _Args&& ...)
async(launch __policy, _Fn&& __fn, _Args&&... __args)
^
/usr/include/c++/5/future:1703:5: note: template argument deduction/substitution failed:
/usr/include/c++/5/future: In substitution of ‘template<class _Fn, class ... _Args> std::future<typename std::result_of<_Functor(_ArgTypes ...)>::type> std::async(std::launch, _Fn&&, _Args&& ...) [with _Fn = bool (VIO::Pipeline::*)(); _Args = {std::reference_wrapper<VIO::Pipeline>}]’:
/home/mikolaj/catkin_ws/src/Kimera-VIO-ROS/src/KimeraVioRos.cpp:128:65: required from here
/usr/include/c++/5/future:1703:5: error: no type named ‘type’ in ‘class std::result_of<bool (VIO::Pipeline::*(std::reference_wrapper<VIO::Pipeline>))()>’
/usr/include/c++/5/future:1723:5: note: candidate: template<class _Fn, class ... _Args> std::future<typename std::result_of<_Functor(_ArgTypes ...)>::type> std::async(_Fn&&, _Args&& ...)
async(_Fn&& __fn, _Args&&... __args)
^
/usr/include/c++/5/future:1723:5: note: template argument deduction/substitution failed:
/usr/include/c++/5/future: In substitution of ‘template<class _Fn, class ... _Args> std::future<typename std::result_of<_Functor(_ArgTypes ...)>::type> std::async(_Fn&&, _Args&& ...) [with _Fn = std::launch; _Args = {bool (VIO::Pipeline::*)(), std::reference_wrapper<VIO::Pipeline>}]’:
/home/mikolaj/catkin_ws/src/Kimera-VIO-ROS/src/KimeraVioRos.cpp:128:65: required from here
/usr/include/c++/5/future:1723:5: error: no type named ‘type’ in ‘class std::result_of<std::launch(bool (VIO::Pipeline::*)(), std::reference_wrapper<VIO::Pipeline>)>’
/home/mikolaj/catkin_ws/src/Kimera-VIO-ROS/src/KimeraVioRos.cpp:132:65: error: no matching function for call to ‘async(std::launch, bool (VIO::Pipeline::*)(), std::reference_wrapper<VIO::Pipeline>)’
std::ref(*CHECK_NOTNULL(vio_pipeline_.get())));
^
In file included from /home/mikolaj/catkin_ws/src/Kimera-VIO-ROS/src/KimeraVioRos.cpp:9:0:
/usr/include/c++/5/future:1703:5: note: candidate: template<class _Fn, class ... _Args> std::future<typename std::result_of<_Functor(_ArgTypes ...)>::type> std::async(std::launch, _Fn&&, _Args&& ...)
async(launch __policy, _Fn&& __fn, _Args&&... __args)
^
/usr/include/c++/5/future:1703:5: note: template argument deduction/substitution failed:
/usr/include/c++/5/future: In substitution of ‘template<class _Fn, class ... _Args> std::future<typename std::result_of<_Functor(_ArgTypes ...)>::type> std::async(std::launch, _Fn&&, _Args&& ...) [with _Fn = bool (VIO::Pipeline::*)(); _Args = {std::reference_wrapper<VIO::Pipeline>}]’:
/home/mikolaj/catkin_ws/src/Kimera-VIO-ROS/src/KimeraVioRos.cpp:132:65: required from here
/usr/include/c++/5/future:1703:5: error: no type named ‘type’ in ‘class std::result_of<bool (VIO::Pipeline::*(std::reference_wrapper<VIO::Pipeline>))()>’
/usr/include/c++/5/future:1723:5: note: candidate: template<class _Fn, class ... _Args> std::future<typename std::result_of<_Functor(_ArgTypes ...)>::type> std::async(_Fn&&, _Args&& ...)
async(_Fn&& __fn, _Args&&... __args)
^
/usr/include/c++/5/future:1723:5: note: template argument deduction/substitution failed:
/usr/include/c++/5/future: In substitution of ‘template<class _Fn, class ... _Args> std::future<typename std::result_of<_Functor(_ArgTypes ...)>::type> std::async(_Fn&&, _Args&& ...) [with _Fn = std::launch; _Args = {bool (VIO::Pipeline::*)(), std::reference_wrapper<VIO::Pipeline>}]’:
/home/mikolaj/catkin_ws/src/Kimera-VIO-ROS/src/KimeraVioRos.cpp:132:65: required from here
/usr/include/c++/5/future:1723:5: error: no type named ‘type’ in ‘class std::result_of<std::launch(bool (VIO::Pipeline::*)(), std::reference_wrapper<VIO::Pipeline>)>’
<command-line>:0:15: warning: ISO C++11 requires whitespace after the macro name
make[2]: *** [CMakeFiles/kimera_vio_ros.dir/src/KimeraVioRos.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/kimera_vio_ros.dir/all] Error 2
make: *** [all] Error 2
KimeraVIO branch, tag or commit used: master, commit hash 41bc7b8b691c0b23019ca591a56d9ab68bdbd571
GTSAM version used: develop, commit hash e9202b836f9415353687941b1c4063fa2c34a4d7
OpenGV version used: master, commit hash 91f4b19c73450833a40e463ad3648aae80b3a7f3
OpenCV version used: 3.3.1-dev
Operating system and version: Ubuntu 16.04
Did you change the source code? no
The text was updated successfully, but these errors were encountered:
Description:
Hi, I'm trying to compile the
kimera_vio_ros
package from themaster
branch, but currently keep getting an error that I'm not able to fix by myself.I would appreciate your support!
My g++ version is
g++ (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609
Command:
Console output:
master
, commit hash41bc7b8b691c0b23019ca591a56d9ab68bdbd571
develop
, commit hashe9202b836f9415353687941b1c4063fa2c34a4d7
master
, commit hash91f4b19c73450833a40e463ad3648aae80b3a7f3
3.3.1-dev
The text was updated successfully, but these errors were encountered: