ORB_SLAM2 icon indicating copy to clipboard operation
ORB_SLAM2 copied to clipboard

Fail to build ORB-SLAM2

Open imrasp opened this issue 8 years ago • 9 comments

Hello, all I have some trouble during running command "./build.sh". the error is shown below. Thank you for all help in advance.

My working environment is: OS: Ubuntu 16.04 [mate odroid ux3] GCC/G++: 5.4.0 Eigen: 3.3~beta1-2

[ 59%] Building CXX object CMakeFiles/ORB_SLAM2.dir/src/Initializer.cc.o c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-5/README.Bugs for instructions. CMakeFiles/ORB_SLAM2.dir/build.make:134: recipe for target 'CMakeFiles/ORB_SLAM2.dir/src/LoopClosing.cc.o' failed make[2]: *** [CMakeFiles/ORB_SLAM2.dir/src/LoopClosing.cc.o] Error 4 c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-5/README.Bugs for instructions. CMakeFiles/ORB_SLAM2.dir/build.make:110: recipe for target 'CMakeFiles/ORB_SLAM2.dir/src/LocalMapping.cc.o' failed make[2]: *** [CMakeFiles/ORB_SLAM2.dir/src/LocalMapping.cc.o] Error 4 c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-5/README.Bugs for instructions. CMakeFiles/ORB_SLAM2.dir/build.make:470: recipe for target 'CMakeFiles/ORB_SLAM2.dir/src/Initializer.cc.o' failed make[2]: *** [CMakeFiles/ORB_SLAM2.dir/src/Initializer.cc.o] Error 4 c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-5/README.Bugs for instructions. CMakeFiles/ORB_SLAM2.dir/build.make:254: recipe for target 'CMakeFiles/ORB_SLAM2.dir/src/MapPoint.cc.o' failed make[2]: *** [CMakeFiles/ORB_SLAM2.dir/src/MapPoint.cc.o] Error 4 c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-5/README.Bugs for instructions. CMakeFiles/ORB_SLAM2.dir/build.make:206: recipe for target 'CMakeFiles/ORB_SLAM2.dir/src/FrameDrawer.cc.o' failed make[2]: *** [CMakeFiles/ORB_SLAM2.dir/src/FrameDrawer.cc.o] Error 4 c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-5/README.Bugs for instructions. CMakeFiles/ORB_SLAM2.dir/build.make:62: recipe for target 'CMakeFiles/ORB_SLAM2.dir/src/System.cc.o' failed make[2]: *** [CMakeFiles/ORB_SLAM2.dir/src/System.cc.o] Error 4 c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-5/README.Bugs for instructions. CMakeFiles/ORB_SLAM2.dir/build.make:230: recipe for target 'CMakeFiles/ORB_SLAM2.dir/src/Converter.cc.o' failed make[2]: *** [CMakeFiles/ORB_SLAM2.dir/src/Converter.cc.o] Error 4 c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-5/README.Bugs for instructions. CMakeFiles/ORB_SLAM2.dir/build.make:350: recipe for target 'CMakeFiles/ORB_SLAM2.dir/src/Optimizer.cc.o' failed make[2]: *** [CMakeFiles/ORB_SLAM2.dir/src/Optimizer.cc.o] Error 4 c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-5/README.Bugs for instructions. CMakeFiles/ORB_SLAM2.dir/build.make:398: recipe for target 'CMakeFiles/ORB_SLAM2.dir/src/Frame.cc.o' failed make[2]: *** [CMakeFiles/ORB_SLAM2.dir/src/Frame.cc.o] Error 4 CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/ORB_SLAM2.dir/all' failed make[1]: *** [CMakeFiles/ORB_SLAM2.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2

imrasp avatar Nov 26 '16 15:11 imrasp

Looks like your compiler is dying, so not sure if this is the same issue I've had. I fixed it by changing typedef Eigen::PermutationMatrix<Eigen::Dynamic, Eigen::Dynamic, SparseMatrix::Index> PermutationMatrix; to typedef Eigen::PermutationMatrix<Eigen::Dynamic, Eigen::Dynamic, SparseMatrix::StorageIndex> PermutationMatrix;

-- Anil.

cranil avatar Nov 28 '16 12:11 cranil

thx cranil :) Let me add the name of the file in question : Thirdparty/g2o/g2o/solvers/linear_solver_eigen.h

typedef Eigen::PermutationMatrix<Eigen::Dynamic, Eigen::Dynamic, SparseMatrix::Index> PermutationMatrix; to typedef Eigen::PermutationMatrix<Eigen::Dynamic, Eigen::Dynamic, SparseMatrix::StorageIndex> PermutationMatrix;

Also don't forget to add this line on most files.cc ( in the top ) #include <unistd.h>

File in folder src: LocalMapping.cc System.cc Tracking.cc Viewer.cc LoopClosing.cc

And in folder Examples... stereo_euroc.cc stereo_kitti.cc rgbd_tum.cc mono_kitti.cc mono_tum.cc mono_euro.cc

callsty avatar Dec 15 '16 09:12 callsty

I am having a similar problem..

-- Build files have been written to: /home/raktim/ORB_SLAM2/Examples/ROS/ORB_SLAM2/build [ 0%] Built target rospack_genmsg_libexe [ 0%] Built target rosbuild_precompile make[2]: *** No rule to make target '../../../../lib/libORB_SLAM2.so', needed by '../Stereo'. Stop. CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/Stereo.dir/all' failed make[1]: *** [CMakeFiles/Stereo.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: *** No rule to make target '../../../../lib/libORB_SLAM2.so', needed by '../Mono'. Stop. CMakeFiles/Makefile2:718: recipe for target 'CMakeFiles/Mono.dir/all' failed make[1]: *** [CMakeFiles/Mono.dir/all] Error 2 make[2]: *** No rule to make target '../../../../lib/libORB_SLAM2.so', needed by '../RGBD'. Stop. CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/RGBD.dir/all' failed make[1]: *** [CMakeFiles/RGBD.dir/all] Error 2 make[2]: *** No rule to make target '../../../../lib/libORB_SLAM2.so', needed by '../MonoAR'. Stop. CMakeFiles/Makefile2:820: recipe for target 'CMakeFiles/MonoAR.dir/all' failed make[1]: *** [CMakeFiles/MonoAR.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2

raktimkashyap avatar Mar 20 '18 16:03 raktimkashyap

The solutions cranil and callsty worked for me. Don't forget to cmake, make and then build after making the changes. :) I forgot, so I am guessing there might be someone who might forget to do that in the end.

selvincephus avatar Feb 19 '19 13:02 selvincephus

I faced the following error while building ORBSLAM2 plz help me to fix this error.

[ 84%] Linking CXX executable ../Examples/Monocular/mono_kitti [ 87%] Linking CXX executable ../Examples/Monocular/mono_tum [ 90%] Linking CXX executable ../Examples/RGB-D/rgbd_tum [ 93%] Linking CXX executable ../Examples/Stereo/stereo_kitti [ 96%] Linking CXX executable ../Examples/Stereo/stereo_euroc [100%] Linking CXX executable ../Examples/Monocular/mono_euroc /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libOpenGL.so: undefined reference to _glapi_tls_Current' collect2: error: ld returned 1 exit status CMakeFiles/mono_kitti.dir/build.make:153: recipe for target '../Examples/Monocular/mono_kitti' failed make[2]: *** [../Examples/Monocular/mono_kitti] Error 1 CMakeFiles/Makefile2:109: recipe for target 'CMakeFiles/mono_kitti.dir/all' failed make[1]: *** [CMakeFiles/mono_kitti.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libOpenGL.so: undefined reference to _glapi_tls_Current' collect2: error: ld returned 1 exit status CMakeFiles/mono_tum.dir/build.make:153: recipe for target '../Examples/Monocular/mono_tum' failed make[2]: *** [../Examples/Monocular/mono_tum] Error 1 CMakeFiles/Makefile2:146: recipe for target 'CMakeFiles/mono_tum.dir/all' failed make[1]: *** [CMakeFiles/mono_tum.dir/all] Error 2 /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libOpenGL.so: undefined reference to _glapi_tls_Current' collect2: error: ld returned 1 exit status CMakeFiles/rgbd_tum.dir/build.make:153: recipe for target '../Examples/RGB-D/rgbd_tum' failed make[2]: *** [../Examples/RGB-D/rgbd_tum] Error 1 CMakeFiles/Makefile2:257: recipe for target 'CMakeFiles/rgbd_tum.dir/all' failed make[1]: *** [CMakeFiles/rgbd_tum.dir/all] Error 2 /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libOpenGL.so: undefined reference to _glapi_tls_Current' collect2: error: ld returned 1 exit status CMakeFiles/stereo_kitti.dir/build.make:153: recipe for target '../Examples/Stereo/stereo_kitti' failed make[2]: *** [../Examples/Stereo/stereo_kitti] Error 1 CMakeFiles/Makefile2:220: recipe for target 'CMakeFiles/stereo_kitti.dir/all' failed make[1]: *** [CMakeFiles/stereo_kitti.dir/all] Error 2 /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libOpenGL.so: undefined reference to _glapi_tls_Current' collect2: error: ld returned 1 exit status CMakeFiles/mono_euroc.dir/build.make:153: recipe for target '../Examples/Monocular/mono_euroc' failed make[2]: *** [../Examples/Monocular/mono_euroc] Error 1 CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/mono_euroc.dir/all' failed make[1]: *** [CMakeFiles/mono_euroc.dir/all] Error 2 /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libOpenGL.so: undefined reference to _glapi_tls_Current' collect2: error: ld returned 1 exit status CMakeFiles/stereo_euroc.dir/build.make:153: recipe for target '../Examples/Stereo/stereo_euroc' failed make[2]: *** [../Examples/Stereo/stereo_euroc] Error 1 CMakeFiles/Makefile2:183: recipe for target 'CMakeFiles/stereo_euroc.dir/all' failed make[1]: *** [CMakeFiles/stereo_euroc.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2

shumshersubashgautam avatar Jun 27 '20 08:06 shumshersubashgautam

I am having a similar problem..

-- Build files have been written to: /home/raktim/ORB_SLAM2/Examples/ROS/ORB_SLAM2/build [ 0%] Built target rospack_genmsg_libexe [ 0%] Built target rosbuild_precompile make[2]: *** No rule to make target '../../../../lib/libORB_SLAM2.so', needed by '../Stereo'. Stop. CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/Stereo.dir/all' failed make[1]: *** [CMakeFiles/Stereo.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: *** No rule to make target '../../../../lib/libORB_SLAM2.so', needed by '../Mono'. Stop. CMakeFiles/Makefile2:718: recipe for target 'CMakeFiles/Mono.dir/all' failed make[1]: *** [CMakeFiles/Mono.dir/all] Error 2 make[2]: *** No rule to make target '../../../../lib/libORB_SLAM2.so', needed by '../RGBD'. Stop. CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/RGBD.dir/all' failed make[1]: *** [CMakeFiles/RGBD.dir/all] Error 2 make[2]: *** No rule to make target '../../../../lib/libORB_SLAM2.so', needed by '../MonoAR'. Stop. CMakeFiles/Makefile2:820: recipe for target 'CMakeFiles/MonoAR.dir/all' failed make[1]: *** [CMakeFiles/MonoAR.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2

How did you fix it eventually?

windflyxr avatar Dec 28 '20 21:12 windflyxr

I have the same problem.

make[2]: *** No rule to make target '../../../../lib/libORB_SLAM2.so', needed by '../Stereo'. Stop. CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/Stereo.dir/all' failed make[1]: *** [CMakeFiles/Stereo.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: *** No rule to make target '../../../../lib/libORB_SLAM2.so', needed by '../Mono'. Stop. CMakeFiles/Makefile2:718: recipe for target 'CMakeFiles/Mono.dir/all' failed make[1]: *** [CMakeFiles/Mono.dir/all] Error 2 make[2]: *** No rule to make target '../../../../lib/libORB_SLAM2.so', needed by '../RGBD'. Stop. CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/RGBD.dir/all' failed make[1]: *** [CMakeFiles/RGBD.dir/all] Error 2 make[2]: *** No rule to make target '../../../../lib/libORB_SLAM2.so', needed by '../MonoAR'. Stop. CMakeFiles/Makefile2:820: recipe for target 'CMakeFiles/MonoAR.dir/all' failed make[1]: *** [CMakeFiles/MonoAR.dir/all] Error 2 Makefile:127: recipe for target 'all' failed

I could not fix it for a long time.

lazy-codebear avatar Jun 04 '21 10:06 lazy-codebear

I have the same problem.

make[2]: *** No rule to make target '../../../../lib/libORB_SLAM2.so', needed by '../Stereo'. Stop. CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/Stereo.dir/all' failed make[1]: *** [CMakeFiles/Stereo.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: *** No rule to make target '../../../../lib/libORB_SLAM2.so', needed by '../Mono'. Stop. CMakeFiles/Makefile2:718: recipe for target 'CMakeFiles/Mono.dir/all' failed make[1]: *** [CMakeFiles/Mono.dir/all] Error 2 make[2]: *** No rule to make target '../../../../lib/libORB_SLAM2.so', needed by '../RGBD'. Stop. CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/RGBD.dir/all' failed make[1]: *** [CMakeFiles/RGBD.dir/all] Error 2 make[2]: *** No rule to make target '../../../../lib/libORB_SLAM2.so', needed by '../MonoAR'. Stop. CMakeFiles/Makefile2:820: recipe for target 'CMakeFiles/MonoAR.dir/all' failed make[1]: *** [CMakeFiles/MonoAR.dir/all] Error 2 Makefile:127: recipe for target 'all' failed

I could not fix it for a long time.

I fix this bug by run build.sh. After it compiles successfully, the libORB_SLAM2.so will generated in ORB_SLAM2/lib. Then running build_ros.sh will be successful.

I hope it will help you.

lazy-codebear avatar Jun 06 '21 08:06 lazy-codebear

In file included from /usr/local/include/pangolin/utils/signal_slot.h:3, from /usr/local/include/pangolin/windowing/window.h:35, from /usr/local/include/pangolin/display/display.h:34, from /usr/local/include/pangolin/pangolin.h:38, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/MapDrawer.h:27, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Viewer.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:28, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /usr/local/include/sigslot/signal.hpp:109:79: error: ‘decay_t’ is not a member of ‘std’; did you mean ‘decay’? 109 | _compatible_v = detail::is_weak_ptr_compatible<std::decay_t<P>>::value; | ^~~~~~~ | decay /usr/local/include/sigslot/signal.hpp:109:79: error: ‘decay_t’ is not a member of ‘std’; did you mean ‘decay’? 109 | _compatible_v = detail::is_weak_ptr_compatible<std::decay_t<P>>::value; | ^~~~~~~ | decay /usr/local/include/sigslot/signal.hpp:109:87: error: template argument 1 is invalid 109 | ble_v = detail::is_weak_ptr_compatible<std::decay_t<P>>::value; | ^

/usr/local/include/sigslot/signal.hpp:109:92: error: ‘::value’ has not been declared 109 | ble_v = detail::is_weak_ptr_compatible<std::decay_t<P>>::value; | ^~~~~

/usr/local/include/sigslot/signal.hpp:132:53: error: ‘remove_pointer_t’ is not a member of ‘std’; did you mean ‘remove_pointer’? 132 | std::remove_pointer_t<T>>::value; | ^~~~~~~~~~~~~~~~ | remove_pointer /usr/local/include/sigslot/signal.hpp:132:53: error: ‘remove_pointer_t’ is not a member of ‘std’; did you mean ‘remove_pointer’? 132 | std::remove_pointer_t<T>>::value; | ^~~~~~~~~~~~~~~~ | remove_pointer /usr/local/include/sigslot/signal.hpp:132:70: error: template argument 2 is invalid 132 | std::remove_pointer_t<T>>::value; | ^

/usr/local/include/sigslot/signal.hpp:132:75: error: ‘::value’ has not been declared 132 | std::remove_pointer_t<T>>::value; | ^~~~~

/usr/local/include/sigslot/signal.hpp:223:32: error: ‘enable_if_t’ is not a member of ‘std’ 223 | struct function_traits<T, std::enable_if_t<trait::is_func_v<T>>> { | ^~~~~~~~~~~ /usr/local/include/sigslot/signal.hpp:223:32: note: ‘std::enable_if_t’ is only available from C++14 onwards /usr/local/include/sigslot/signal.hpp:223:32: error: ‘enable_if_t’ is not a member of ‘std’ /usr/local/include/sigslot/signal.hpp:223:32: note: ‘std::enable_if_t’ is only available from C++14 onwards /usr/local/include/sigslot/signal.hpp:223:62: error: type/value mismatch at argument 2 in template parameter list for ‘template<class T, class> struct sigslot::detail::function_traits’ 223 | uct function_traits<T, std::enable_if_t<trait::is_func_v<T>>> { | ^~

/usr/local/include/sigslot/signal.hpp:223:62: note: expected a type, got ‘( < is_func_v<T>)’ /usr/local/include/sigslot/signal.hpp:223:64: error: expected unqualified-id before ‘>’ token 223 | uct function_traits<T, std::enable_if_t<trait::is_func_v<T>>> { | ^

/usr/local/include/sigslot/signal.hpp:233:33: error: ‘enable_if_t’ is not a member of ‘std’ 233 | struct function_traits<T*, std::enable_if_t<trait::is_func_v<T>>> { | ^~~~~~~~~~~ /usr/local/include/sigslot/signal.hpp:233:33: note: ‘std::enable_if_t’ is only available from C++14 onwards /usr/local/include/sigslot/signal.hpp:233:33: error: ‘enable_if_t’ is not a member of ‘std’ /usr/local/include/sigslot/signal.hpp:233:33: note: ‘std::enable_if_t’ is only available from C++14 onwards /usr/local/include/sigslot/signal.hpp:233:63: error: type/value mismatch at argument 2 in template parameter list for ‘template<class T, class> struct sigslot::detail::function_traits’ 233 | ct function_traits<T*, std::enable_if_t<trait::is_func_v<T>>> { | ^~

/usr/local/include/sigslot/signal.hpp:233:63: note: expected a type, got ‘( < is_func_v<T>)’ /usr/local/include/sigslot/signal.hpp:233:65: error: expected unqualified-id before ‘>’ token 233 | ct function_traits<T*, std::enable_if_t<trait::is_func_v<T>>> { | ^

/usr/local/include/sigslot/signal.hpp:243:32: error: ‘enable_if_t’ is not a member of ‘std’ 243 | struct function_traits<T, std::enable_if_t<trait::is_pmf_v<T>>> { | ^~~~~~~~~~~ /usr/local/include/sigslot/signal.hpp:243:32: note: ‘std::enable_if_t’ is only available from C++14 onwards /usr/local/include/sigslot/signal.hpp:243:32: error: ‘enable_if_t’ is not a member of ‘std’ /usr/local/include/sigslot/signal.hpp:243:32: note: ‘std::enable_if_t’ is only available from C++14 onwards /usr/local/include/sigslot/signal.hpp:243:61: error: type/value mismatch at argument 2 in template parameter list for ‘template<class T, class> struct sigslot::detail::function_traits’ 243 | ruct function_traits<T, std::enable_if_t<trait::is_pmf_v<T>>> { | ^~

/usr/local/include/sigslot/signal.hpp:243:61: note: expected a type, got ‘( < is_pmf_v<T>)’ /usr/local/include/sigslot/signal.hpp:243:63: error: expected unqualified-id before ‘>’ token 243 | ruct function_traits<T, std::enable_if_t<trait::is_pmf_v<T>>> { | ^

/usr/local/include/sigslot/signal.hpp:254:32: error: ‘enable_if_t’ is not a member of ‘std’ 254 | struct function_traits<T, std::enable_if_t<trait::has_call_operator_v<T>>> { | ^~~~~~~~~~~ /usr/local/include/sigslot/signal.hpp:254:32: note: ‘std::enable_if_t’ is only available from C++14 onwards /usr/local/include/sigslot/signal.hpp:254:32: error: ‘enable_if_t’ is not a member of ‘std’ /usr/local/include/sigslot/signal.hpp:254:32: note: ‘std::enable_if_t’ is only available from C++14 onwards /usr/local/include/sigslot/signal.hpp:254:72: error: type/value mismatch at argument 2 in template parameter list for ‘template<class T, class> struct sigslot::detail::function_traits’ 254 | on_traits<T, std::enable_if_t<trait::has_call_operator_v<T>>> { | ^~

/usr/local/include/sigslot/signal.hpp:254:72: note: expected a type, got ‘( < has_call_operator_v<T>)’ /usr/local/include/sigslot/signal.hpp:254:74: error: expected unqualified-id before ‘>’ token 254 | on_traits<T, std::enable_if_t<trait::has_call_operator_v<T>>> { | ^

/usr/local/include/sigslot/signal.hpp: In function ‘sigslot::detail::func_ptr sigslot::detail::get_function_ptr(const T&)’: /usr/local/include/sigslot/signal.hpp:269:26: error: ‘decay_t’ is not a member of ‘std’; did you mean ‘decay’? 269 | function_traits<std::decay_t<T>>::ptr(t, d); | ^~~~~~~ | decay /usr/local/include/sigslot/signal.hpp:269:26: error: ‘decay_t’ is not a member of ‘std’; did you mean ‘decay’? 269 | function_traits<std::decay_t<T>>::ptr(t, d); | ^~~~~~~ | decay /usr/local/include/sigslot/signal.hpp:269:34: error: template argument 1 is invalid 269 | function_traits<std::decay_t<T>>::ptr(t, d); | ^ /usr/local/include/sigslot/signal.hpp:269:35: error: expected unqualified-id before ‘>’ token 269 | function_traits<std::decay_t<T>>::ptr(t, d); | ^~ /usr/local/include/sigslot/signal.hpp: At global scope: /usr/local/include/sigslot/signal.hpp:291:32: error: ‘enable_if_t’ is not a member of ‘std’ 291 | struct object_pointer<T*, std::enable_if_t<trait::is_pointer_v<T*>>> { | ^~~~~~~~~~~ /usr/local/include/sigslot/signal.hpp:291:32: note: ‘std::enable_if_t’ is only available from C++14 onwards /usr/local/include/sigslot/signal.hpp:291:32: error: ‘enable_if_t’ is not a member of ‘std’ /usr/local/include/sigslot/signal.hpp:291:32: note: ‘std::enable_if_t’ is only available from C++14 onwards /usr/local/include/sigslot/signal.hpp:291:66: error: type/value mismatch at argument 2 in template parameter list for ‘template<class T, class> struct sigslot::detail::object_pointer’ 291 | object_pointer<T*, std::enable_if_t<trait::is_pointer_v<T*>>> { | ^~

/usr/local/include/sigslot/signal.hpp:291:66: note: expected a type, got ‘( < is_pointer_v<T*>)’ /usr/local/include/sigslot/signal.hpp:291:68: error: expected unqualified-id before ‘>’ token 291 | object_pointer<T*, std::enable_if_t<trait::is_pointer_v<T*>>> { | ^

/usr/local/include/sigslot/signal.hpp:298:31: error: ‘enable_if_t’ is not a member of ‘std’ 298 | struct object_pointer<T, std::enable_if_t<trait::is_weak_ptr_v<T>>> { | ^~~~~~~~~~~ /usr/local/include/sigslot/signal.hpp:298:31: note: ‘std::enable_if_t’ is only available from C++14 onwards /usr/local/include/sigslot/signal.hpp:298:31: error: ‘enable_if_t’ is not a member of ‘std’ /usr/local/include/sigslot/signal.hpp:298:31: note: ‘std::enable_if_t’ is only available from C++14 onwards /usr/local/include/sigslot/signal.hpp:298:65: error: type/value mismatch at argument 2 in template parameter list for ‘template<class T, class> struct sigslot::detail::object_pointer’ 298 | object_pointer<T, std::enable_if_t<trait::is_weak_ptr_v<T>>> { | ^~

/usr/local/include/sigslot/signal.hpp:298:65: note: expected a type, got ‘( < is_weak_ptr_v<T>)’ /usr/local/include/sigslot/signal.hpp:298:67: error: expected unqualified-id before ‘>’ token 298 | object_pointer<T, std::enable_if_t<trait::is_weak_ptr_v<T>>> { | ^

/usr/local/include/sigslot/signal.hpp:306:31: error: ‘enable_if_t’ is not a member of ‘std’ 306 | struct object_pointer<T, std::enable_if_t<!trait::is_pointer_v<T> && | ^~~~~~~~~~~ /usr/local/include/sigslot/signal.hpp:306:31: note: ‘std::enable_if_t’ is only available from C++14 onwards /usr/local/include/sigslot/signal.hpp:306:31: error: ‘enable_if_t’ is not a member of ‘std’ /usr/local/include/sigslot/signal.hpp:306:31: note: ‘std::enable_if_t’ is only available from C++14 onwards /usr/local/include/sigslot/signal.hpp:308:76: error: type/value mismatch at argument 2 in template parameter list for ‘template<class T, class> struct sigslot::detail::object_pointer’ 308 | trait::is_weak_ptr_compatible_v<T>>> | ^~

/usr/local/include/sigslot/signal.hpp:308:76: note: expected a type, got ‘((( < (! is_pointer_v<T>)) && (! is_weak_ptr_v<T>)) && is_weak_ptr_compatible_v<T>)’ /usr/local/include/sigslot/signal.hpp:308:78: error: expected unqualified-id before ‘>’ token 308 | trait::is_weak_ptr_compatible_v<T>>> | ^

/usr/local/include/sigslot/signal.hpp:398:41: error: ‘std::enable_if_t’ has not been declared 398 | explicit copy_on_write(U && x, std::enable_if_t<!std::is_same<std::decay_t<U>, | ^~~~~~~~~~~ /usr/local/include/sigslot/signal.hpp:398:52: error: expected ‘,’ or ‘...’ before ‘<’ token 398 | explicit copy_on_write(U && x, std::enable_if_t<!std::is_same<std::decay_t<U>, | ^ /usr/local/include/sigslot/signal.hpp:532:5: error: ‘index’ function uses ‘auto’ type specifier without trailing return type 532 | auto index() const { | ^~~~ /usr/local/include/sigslot/signal.hpp:532:5: note: deduced return type only available with ‘-std=c++14’ or ‘-std=gnu++14’ /usr/local/include/sigslot/signal.hpp:536:5: error: ‘index’ function uses ‘auto’ type specifier without trailing return type 536 | auto& index() { | ^~~~ /usr/local/include/sigslot/signal.hpp:536:5: note: deduced return type only available with ‘-std=c++14’ or ‘-std=gnu++14’ /usr/local/include/sigslot/signal.hpp:793:10: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type 793 | std::enable_if_t<function_traits<C>::must_check_object, bool> | ^~~~~~~~~~~ /usr/local/include/sigslot/signal.hpp:793:5: note: ‘std::enable_if_t’ is only available from C++14 onwards 793 | std::enable_if_t<function_traits<C>::must_check_object, bool> | ^~~ /usr/local/include/sigslot/signal.hpp:799:10: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type 799 | std::enable_if_t<!function_traits<C>::must_check_object, bool> | ^~~~~~~~~~~ /usr/local/include/sigslot/signal.hpp:799:5: note: ‘std::enable_if_t’ is only available from C++14 onwards 799 | std::enable_if_t<!function_traits<C>::must_check_object, bool> | ^~~ /usr/local/include/sigslot/signal.hpp:876:10: error: ‘decay_t’ in namespace ‘std’ does not name a template type; did you mean ‘decay’? 876 | std::decay_t<Func> func; | ^~~~~~~ | decay /usr/local/include/sigslot/signal.hpp: In constructor ‘constexpr sigslot::detail::slot<Func, Args>::slot(sigslot::detail::cleanable&, F&&, Gid)’: /usr/local/include/sigslot/signal.hpp:858:11: error: class ‘sigslot::detail::slot<Func, Args>’ does not have any field named ‘func’ 858 | , func{std::forward<F>(f)} {} | ^~~~ /usr/local/include/sigslot/signal.hpp: In member function ‘sigslot::detail::func_ptr sigslot::detail::slot<Func, Args>::get_callable() const’: /usr/local/include/sigslot/signal.hpp:866:33: error: ‘func’ was not declared in this scope; did you mean ‘Func’? 866 | return get_function_ptr(func); | ^~~~ | Func /usr/local/include/sigslot/signal.hpp: In member function ‘const std::type_info& sigslot::detail::slot<Func, Args>::get_callable_type() const’: /usr/local/include/sigslot/signal.hpp:871:23: error: ‘func’ was not declared in this scope; did you mean ‘Func’? 871 | return typeid(func); | ^~~~ | Func /usr/local/include/sigslot/signal.hpp: At global scope: /usr/local/include/sigslot/signal.hpp:908:10: error: ‘decay_t’ in namespace ‘std’ does not name a template type; did you mean ‘decay’? 908 | std::decay_t<Func> func; | ^~~~~~~ | decay /usr/local/include/sigslot/signal.hpp: In constructor ‘constexpr sigslot::detail::slot_extended<Func, Args>::slot_extended(sigslot::detail::cleanable&, F&&, sigslot::group_id)’: /usr/local/include/sigslot/signal.hpp:888:11: error: class ‘sigslot::detail::slot_extended<Func, Args>’ does not have any field named ‘func’ 888 | , func{std::forward<F>(f)} {} | ^~~~ /usr/local/include/sigslot/signal.hpp: In member function ‘sigslot::detail::func_ptr sigslot::detail::slot_extended<Func, Args>::get_callable() const’: /usr/local/include/sigslot/signal.hpp:898:33: error: ‘func’ was not declared in this scope; did you mean ‘Func’? 898 | return get_function_ptr(func); | ^~~~ | Func /usr/local/include/sigslot/signal.hpp: In member function ‘const std::type_info& sigslot::detail::slot_extended<Func, Args>::get_callable_type() const’: /usr/local/include/sigslot/signal.hpp:903:23: error: ‘func’ was not declared in this scope; did you mean ‘Func’? 903 | return typeid(func); | ^~~~ | Func /usr/local/include/sigslot/signal.hpp: At global scope: /usr/local/include/sigslot/signal.hpp:945:10: error: ‘decay_t’ in namespace ‘std’ does not name a template type; did you mean ‘decay’? 945 | std::decay_t<Pmf> pmf; | ^~~~~~~ | decay /usr/local/include/sigslot/signal.hpp:946:10: error: ‘decay_t’ in namespace ‘std’ does not name a template type; did you mean ‘decay’? 946 | std::decay_t<Ptr> ptr; | ^~~~~~~ | decay /usr/local/include/sigslot/signal.hpp: In constructor ‘constexpr sigslot::detail::slot_pmf<Pmf, Ptr, Args>::slot_pmf(sigslot::detail::cleanable&, F&&, P&&, sigslot::group_id)’: /usr/local/include/sigslot/signal.hpp:922:11: error: class ‘sigslot::detail::slot_pmf<Pmf, Ptr, Args>’ does not have any field named ‘pmf’ 922 | , pmf{std::forward<F>(f)} | ^~~ /usr/local/include/sigslot/signal.hpp:923:11: error: class ‘sigslot::detail::slot_pmf<Pmf, Ptr, Args>’ does not have any field named ‘ptr’ 923 | , ptr{std::forward<P>(p)} {} | ^~~ /usr/local/include/sigslot/signal.hpp: In member function ‘void sigslot::detail::slot_pmf<Pmf, Ptr, Args>::call_slot(Args ...)’: /usr/local/include/sigslot/signal.hpp:927:12: error: ‘ptr’ was not declared in this scope; did you mean ‘Ptr’? 927 | ((*ptr).*pmf)(args...); | ^~~ | Ptr /usr/local/include/sigslot/signal.hpp:927:18: error: ‘pmf’ was not declared in this scope; did you mean ‘Pmf’? 927 | ((*ptr).pmf)(args...); | ^~~ | Pmf /usr/local/include/sigslot/signal.hpp: In member function ‘sigslot::detail::func_ptr sigslot::detail::slot_pmf<Pmf, Ptr, Args>::get_callable() const’: /usr/local/include/sigslot/signal.hpp:931:33: error: ‘pmf’ was not declared in this scope; did you mean ‘Pmf’? 931 | return get_function_ptr(pmf); | ^~~ | Pmf /usr/local/include/sigslot/signal.hpp: In member function ‘const void sigslot::detail::slot_pmf<Pmf, Ptr, Args>::get_object() const’: /usr/local/include/sigslot/signal.hpp:935:31: error: ‘ptr’ was not declared in this scope; did you mean ‘Ptr’? 935 | return get_object_ptr(ptr); | ^~~ | Ptr /usr/local/include/sigslot/signal.hpp: In member function ‘const std::type_info& sigslot::detail::slot_pmf<Pmf, Ptr, Args>::get_callable_type() const’: /usr/local/include/sigslot/signal.hpp:940:23: error: ‘pmf’ was not declared in this scope; did you mean ‘Pmf’? 940 | return typeid(pmf); | ^~~ | Pmf /usr/local/include/sigslot/signal.hpp: At global scope: /usr/local/include/sigslot/signal.hpp:982:10: error: ‘decay_t’ in namespace ‘std’ does not name a template type; did you mean ‘decay’? 982 | std::decay_t<Pmf> pmf; | ^~~~~~~ | decay /usr/local/include/sigslot/signal.hpp:983:10: error: ‘decay_t’ in namespace ‘std’ does not name a template type; did you mean ‘decay’? 983 | std::decay_t<Ptr> ptr; | ^~~~~~~ | decay /usr/local/include/sigslot/signal.hpp: In constructor ‘constexpr sigslot::detail::slot_pmf_extended<Pmf, Ptr, Args>::slot_pmf_extended(sigslot::detail::cleanable&, F&&, P&&, sigslot::group_id)’: /usr/local/include/sigslot/signal.hpp:958:11: error: class ‘sigslot::detail::slot_pmf_extended<Pmf, Ptr, Args>’ does not have any field named ‘pmf’ 958 | , pmf{std::forward<F>(f)} | ^~~ /usr/local/include/sigslot/signal.hpp:959:11: error: class ‘sigslot::detail::slot_pmf_extended<Pmf, Ptr, Args>’ does not have any field named ‘ptr’ 959 | , ptr{std::forward<P>(p)} {} | ^~~ /usr/local/include/sigslot/signal.hpp: In member function ‘void sigslot::detail::slot_pmf_extended<Pmf, Ptr, Args>::call_slot(Args ...)’: /usr/local/include/sigslot/signal.hpp:965:12: error: ‘ptr’ was not declared in this scope; did you mean ‘Ptr’? 965 | ((*ptr).*pmf)(conn, args...); | ^~~ | Ptr /usr/local/include/sigslot/signal.hpp:965:18: error: ‘pmf’ was not declared in this scope; did you mean ‘Pmf’? 965 | ((ptr).pmf)(conn, args...); | ^~~ | Pmf /usr/local/include/sigslot/signal.hpp: In member function ‘sigslot::detail::func_ptr sigslot::detail::slot_pmf_extended<Pmf, Ptr, Args>::get_callable() const’: /usr/local/include/sigslot/signal.hpp:969:33: error: ‘pmf’ was not declared in this scope; did you mean ‘Pmf’? 969 | return get_function_ptr(pmf); | ^~~ | Pmf /usr/local/include/sigslot/signal.hpp: In member function ‘const void sigslot::detail::slot_pmf_extended<Pmf, Ptr, Args>::get_object() const’: /usr/local/include/sigslot/signal.hpp:972:31: error: ‘ptr’ was not declared in this scope; did you mean ‘Ptr’? 972 | return get_object_ptr(ptr); | ^~~ | Ptr /usr/local/include/sigslot/signal.hpp: In member function ‘const std::type_info& sigslot::detail::slot_pmf_extended<Pmf, Ptr, Args>::get_callable_type() const’: /usr/local/include/sigslot/signal.hpp:977:23: error: ‘pmf’ was not declared in this scope; did you mean ‘Pmf’? 977 | return typeid(pmf); | ^~~ | Pmf /usr/local/include/sigslot/signal.hpp: At global scope: /usr/local/include/sigslot/signal.hpp:1032:10: error: ‘decay_t’ in namespace ‘std’ does not name a template type; did you mean ‘decay’? 1032 | std::decay_t<Func> func; | ^~~~~~~ | decay /usr/local/include/sigslot/signal.hpp:1033:10: error: ‘decay_t’ in namespace ‘std’ does not name a template type; did you mean ‘decay’? 1033 | std::decay_t<WeakPtr> ptr; | ^~~~~~~ | decay /usr/local/include/sigslot/signal.hpp: In constructor ‘constexpr sigslot::detail::slot_tracked<Func, WeakPtr, Args>::slot_tracked(sigslot::detail::cleanable&, F&&, P&&, sigslot::group_id)’: /usr/local/include/sigslot/signal.hpp:997:11: error: class ‘sigslot::detail::slot_tracked<Func, WeakPtr, Args>’ does not have any field named ‘func’ 997 | , func{std::forward<F>(f)} | ^~~~ /usr/local/include/sigslot/signal.hpp:998:11: error: class ‘sigslot::detail::slot_tracked<Func, WeakPtr, Args>’ does not have any field named ‘ptr’ 998 | , ptr{std::forward<P>(p)} | ^~~ /usr/local/include/sigslot/signal.hpp: In member function ‘bool sigslot::detail::slot_tracked<Func, WeakPtr, Args>::connected() const’: /usr/local/include/sigslot/signal.hpp:1002:17: error: ‘ptr’ was not declared in this scope 1002 | return !ptr.expired() && slot_state::connected(); | ^~~ /usr/local/include/sigslot/signal.hpp: In member function ‘void sigslot::detail::slot_tracked<Func, WeakPtr, Args>::call_slot(Args ...)’: /usr/local/include/sigslot/signal.hpp:1007:19: error: ‘ptr’ was not declared in this scope 1007 | auto sp = ptr.lock(); | ^~~ /usr/local/include/sigslot/signal.hpp: In member function ‘sigslot::detail::func_ptr sigslot::detail::slot_tracked<Func, WeakPtr, Args>::get_callable() const’: /usr/local/include/sigslot/signal.hpp:1018:33: error: ‘func’ was not declared in this scope; did you mean ‘Func’? 1018 | return get_function_ptr(func); | ^~~~ | Func /usr/local/include/sigslot/signal.hpp: In member function ‘const void sigslot::detail::slot_tracked<Func, WeakPtr, Args>::get_object() const’: /usr/local/include/sigslot/signal.hpp:1022:31: error: ‘ptr’ was not declared in this scope 1022 | return get_object_ptr(ptr); | ^~~ /usr/local/include/sigslot/signal.hpp: In member function ‘const std::type_info& sigslot::detail::slot_tracked<Func, WeakPtr, Args>::get_callable_type() const’: /usr/local/include/sigslot/signal.hpp:1027:23: error: ‘func’ was not declared in this scope; did you mean ‘Func’? 1027 | return typeid(func); | ^~~~ | Func /usr/local/include/sigslot/signal.hpp: At global scope: /usr/local/include/sigslot/signal.hpp:1082:10: error: ‘decay_t’ in namespace ‘std’ does not name a template type; did you mean ‘decay’? 1082 | std::decay_t<Pmf> pmf; | ^~~~~~~ | decay /usr/local/include/sigslot/signal.hpp:1083:10: error: ‘decay_t’ in namespace ‘std’ does not name a template type; did you mean ‘decay’? 1083 | std::decay_t<WeakPtr> ptr; | ^~~~~~~ | decay /usr/local/include/sigslot/signal.hpp: In constructor ‘constexpr sigslot::detail::slot_pmf_tracked<Pmf, WeakPtr, Args>::slot_pmf_tracked(sigslot::detail::cleanable&, F&&, P&&, sigslot::group_id)’: /usr/local/include/sigslot/signal.hpp:1047:11: error: class ‘sigslot::detail::slot_pmf_tracked<Pmf, WeakPtr, Args>’ does not have any field named ‘pmf’ 1047 | , pmf{std::forward<F>(f)} | ^~~ /usr/local/include/sigslot/signal.hpp:1048:11: error: class ‘sigslot::detail::slot_pmf_tracked<Pmf, WeakPtr, Args>’ does not have any field named ‘ptr’ 1048 | , ptr{std::forward<P>(p)} | ^~~ /usr/local/include/sigslot/signal.hpp: In member function ‘bool sigslot::detail::slot_pmf_tracked<Pmf, WeakPtr, Args>::connected() const’: /usr/local/include/sigslot/signal.hpp:1052:17: error: ‘ptr’ was not declared in this scope 1052 | return !ptr.expired() && slot_state::connected(); | ^~~ /usr/local/include/sigslot/signal.hpp: In member function ‘void sigslot::detail::slot_pmf_tracked<Pmf, WeakPtr, Args>::call_slot(Args ...)’: /usr/local/include/sigslot/signal.hpp:1057:19: error: ‘ptr’ was not declared in this scope 1057 | auto sp = ptr.lock(); | ^~~ /usr/local/include/sigslot/signal.hpp:1063:21: error: ‘pmf’ was not declared in this scope; did you mean ‘Pmf’? 1063 | ((sp).pmf)(args...); | ^~~ | Pmf /usr/local/include/sigslot/signal.hpp: In member function ‘sigslot::detail::func_ptr sigslot::detail::slot_pmf_tracked<Pmf, WeakPtr, Args>::get_callable() const’: /usr/local/include/sigslot/signal.hpp:1068:33: error: ‘pmf’ was not declared in this scope; did you mean ‘Pmf’? 1068 | return get_function_ptr(pmf); | ^~~ | Pmf /usr/local/include/sigslot/signal.hpp: In member function ‘const void sigslot::detail::slot_pmf_tracked<Pmf, WeakPtr, Args>::get_object() const’: /usr/local/include/sigslot/signal.hpp:1072:31: error: ‘ptr’ was not declared in this scope 1072 | return get_object_ptr(ptr); | ^~~ /usr/local/include/sigslot/signal.hpp: In member function ‘const std::type_info& sigslot::detail::slot_pmf_tracked<Pmf, WeakPtr, Args>::get_callable_type() const’: /usr/local/include/sigslot/signal.hpp:1077:23: error: ‘pmf’ was not declared in this scope; did you mean ‘Pmf’? 1077 | return typeid(pmf); | ^~~ | Pmf /usr/local/include/sigslot/signal.hpp: At global scope: /usr/local/include/sigslot/signal.hpp:1115:27: error: ‘conditional_t’ in namespace ‘std’ does not name a template type; did you mean ‘conditional’? 1115 | using cow_type = std::conditional_t<is_thread_safe<L>::value, | ^~~~~~~~~~~~~ | conditional /usr/local/include/sigslot/signal.hpp:1119:32: error: ‘conditional_t’ in namespace ‘std’ does not name a template type; did you mean ‘conditional’? 1119 | using cow_copy_type = std::conditional_t<is_thread_safe<L>::value, | ^~~~~~~~~~~~~ | conditional /usr/local/include/sigslot/signal.hpp:1201:10: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type 1201 | std::enable_if_t<trait::is_callable_v<arg_list, Callable>, connection> | ^~~~~~~~~~~ /usr/local/include/sigslot/signal.hpp:1201:5: note: ‘std::enable_if_t’ is only available from C++14 onwards 1201 | std::enable_if_t<trait::is_callable_v<arg_list, Callable>, connection> | ^~~ /usr/local/include/sigslot/signal.hpp:1221:10: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type 1221 | std::enable_if_t<trait::is_callable_v<ext_arg_list, Callable>, connection> | ^~~~~~~~~~~ /usr/local/include/sigslot/signal.hpp:1221:5: note: ‘std::enable_if_t’ is only available from C++14 onwards 1221 | std::enable_if_t<trait::is_callable_v<ext_arg_list, Callable>, connection> | ^~~ /usr/local/include/sigslot/signal.hpp:1241:10: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type 1241 | std::enable_if_t<trait::is_callable_v<arg_list, Pmf, Ptr> && | ^~~~~~~~~~~ /usr/local/include/sigslot/signal.hpp:1241:5: note: ‘std::enable_if_t’ is only available from C++14 onwards 1241 | std::enable_if_t<trait::is_callable_v<arg_list, Pmf, Ptr> && | ^~~ /usr/local/include/sigslot/signal.hpp:1261:10: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type 1261 | std::enable_if_t<trait::is_callable_v<arg_list, Pmf, Ptr> && | ^~~~~~~~~~~ /usr/local/include/sigslot/signal.hpp:1261:5: note: ‘std::enable_if_t’ is only available from C++14 onwards 1261 | std::enable_if_t<trait::is_callable_v<arg_list, Pmf, Ptr> && | ^~~ /usr/local/include/sigslot/signal.hpp:1281:10: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type 1281 | std::enable_if_t<trait::is_callable_v<ext_arg_list, Pmf, Ptr> && | ^~~~~~~~~~~ /usr/local/include/sigslot/signal.hpp:1281:5: note: ‘std::enable_if_t’ is only available from C++14 onwards 1281 | std::enable_if_t<trait::is_callable_v<ext_arg_list, Pmf, Ptr> && | ^~~ /usr/local/include/sigslot/signal.hpp:1310:10: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type 1310 | std::enable_if_t<!trait::is_callable_v<arg_list, Pmf> && | ^~~~~~~~~~~ /usr/local/include/sigslot/signal.hpp:1310:5: note: ‘std::enable_if_t’ is only available from C++14 onwards 1310 | std::enable_if_t<!trait::is_callable_v<arg_list, Pmf> && | ^~~ /usr/local/include/sigslot/signal.hpp:1340:10: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type 1340 | std::enable_if_t<trait::is_callable_v<arg_list, Callable> && | ^~~~~~~~~~~ /usr/local/include/sigslot/signal.hpp:1340:5: note: ‘std::enable_if_t’ is only available from C++14 onwards 1340 | std::enable_if_t<trait::is_callable_v<arg_list, Callable> && | ^~~ /usr/local/include/sigslot/signal.hpp:1376:10: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type 1376 | std::enable_if_t<(trait::is_callable_v<arg_list, Callable> || | ^~~~~~~~~~~ /usr/local/include/sigslot/signal.hpp:1376:5: note: ‘std::enable_if_t’ is only available from C++14 onwards 1376 | std::enable_if_t<(trait::is_callable_v<arg_list, Callable> || | ^~~ /usr/local/include/sigslot/signal.hpp:1399:10: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type 1399 | std::enable_if_t<!trait::is_callable_v<arg_list, Obj> && | ^~~~~~~~~~~ /usr/local/include/sigslot/signal.hpp:1399:5: note: ‘std::enable_if_t’ is only available from C++14 onwards 1399 | std::enable_if_t<!trait::is_callable_v<arg_list, Obj> && | ^~~ /usr/local/include/sigslot/signal.hpp:1522:12: error: ‘cow_copy_type’ does not name a type 1522 | inline cow_copy_type<list_type, Lockable> slots_reference() { | ^~~~~~~~~~~~~ /usr/local/include/sigslot/signal.hpp:1529:12: error: ‘make_slot’ function uses ‘auto’ type specifier without trailing return type 1529 | inline auto make_slot(A && ...a) { | ^~~~ /usr/local/include/sigslot/signal.hpp:1529:12: note: deduced return type only available with ‘-std=c++14’ or ‘-std=gnu++14’ /usr/local/include/sigslot/signal.hpp:1589:5: error: ‘cow_type’ does not name a type; did you mean ‘lock_type’? 1589 | cow_type<list_type, Lockable> m_slots; | ^~~~~~~~ | lock_type /usr/local/include/sigslot/signal.hpp: In constructor ‘sigslot::signal_base< , >::signal_base(sigslot::signal_base< , >&&)’: /usr/local/include/sigslot/signal.hpp:1146:14: error: ‘m_slots’ was not declared in this scope 1146 | swap(m_slots, o.m_slots); | ^~~~~~~ /usr/local/include/sigslot/signal.hpp: In member function ‘sigslot::signal_base< , >& sigslot::signal_base< , >::operator=(sigslot::signal_base< , >&&)’: /usr/local/include/sigslot/signal.hpp:1155:14: error: ‘m_slots’ was not declared in this scope 1155 | swap(m_slots, o.m_slots); | ^~~~~~~ /usr/local/include/sigslot/signal.hpp: In member function ‘void sigslot::signal_base< , >::operator()(U&& ...)’: /usr/local/include/sigslot/signal.hpp:1180:9: error: ‘cow_copy_type’ was not declared in this scope 1180 | cow_copy_type<list_type, Lockable> ref = slots_reference(); | ^~~~~~~~~~~~~ /usr/local/include/sigslot/signal.hpp:1180:32: error: expected primary-expression before ‘,’ token 1180 | cow_copy_type<list_type, Lockable> ref = slots_reference(); | ^ /usr/local/include/sigslot/signal.hpp:1180:42: error: expected primary-expression before ‘>’ token 1180 | cow_copy_type<list_type, Lockable> ref = slots_reference(); | ^ /usr/local/include/sigslot/signal.hpp:1180:50: error: there are no arguments to ‘slots_reference’ that depend on a template parameter, so a declaration of ‘slots_reference’ must be available [-fpermissive] 1180 | cow_copy_type<list_type, Lockable> ref = slots_reference(); | ^~~~~~~~~~~~~~~ /usr/local/include/sigslot/signal.hpp:1180:50: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/local/include/sigslot/signal.hpp:1182:50: error: no matching function for call to ‘cow_read()’ 1182 | for (const auto &group : detail::cow_read(ref)) { | ~~~~~~~~~~~~~~~~^~~~~ /usr/local/include/sigslot/signal.hpp:463:10: note: candidate: ‘template<class T> const T& sigslot::detail::cow_read(const T&)’ 463 | const T& cow_read(const T &v) { | ^~~~~~~~ /usr/local/include/sigslot/signal.hpp:463:10: note: template argument deduction/substitution failed: /usr/local/include/sigslot/signal.hpp:1182:50: note: couldn’t deduce template parameter ‘T’ 1182 | for (const auto &group : detail::cow_read(ref)) { | ~~~~~~~~~~~~~~~~^~~~~ /usr/local/include/sigslot/signal.hpp:468:10: note: candidate: ‘template<class T> const T& sigslot::detail::cow_read(sigslot::detail::copy_on_write<T>&)’ 468 | const T& cow_read(copy_on_write<T> &v) { | ^~~~~~~~ /usr/local/include/sigslot/signal.hpp:468:10: note: template argument deduction/substitution failed: /usr/local/include/sigslot/signal.hpp:1182:50: note: couldn’t deduce template parameter ‘T’ 1182 | for (const auto &group : detail::cow_read(ref)) { | ~~~~~~~~~~~~~~~~^~~~~ /usr/local/include/sigslot/signal.hpp: In member function ‘size_t sigslot::signal_base< , >::disconnect(const Callable&, const Obj&)’: /usr/local/include/sigslot/signal.hpp:1423:41: error: use of ‘auto’ in lambda parameter declaration only available with ‘-std=c++14’ or ‘-std=gnu++14’ 1423 | return disconnect_if([&] (const auto &s) { | ^~~~ /usr/local/include/sigslot/signal.hpp: In lambda function: /usr/local/include/sigslot/signal.hpp:1424:21: error: base operand of ‘->’ is not a pointer 1424 | return s->has_object(obj) && s->has_callable(c); | ^~ /usr/local/include/sigslot/signal.hpp:1424:43: error: base operand of ‘->’ is not a pointer 1424 | return s->has_object(obj) && s->has_callable(c); | ^~ /usr/local/include/sigslot/signal.hpp: In member function ‘size_t sigslot::signal_base< , >::disconnect(sigslot::group_id)’: /usr/local/include/sigslot/signal.hpp:1439:46: error: ‘m_slots’ was not declared in this scope 1439 | for (auto &group : detail::cow_write(m_slots)) { | ^~~~~~~ /usr/local/include/sigslot/signal.hpp: In member function ‘size_t sigslot::signal_base< , >::slot_count()’: /usr/local/include/sigslot/signal.hpp:1486:9: error: ‘cow_copy_type’ was not declared in this scope 1486 | cow_copy_type<list_type, Lockable> ref = slots_reference(); | ^~~~~~~~~~~~~ /usr/local/include/sigslot/signal.hpp:1486:32: error: expected primary-expression before ‘,’ token 1486 | cow_copy_type<list_type, Lockable> ref = slots_reference(); | ^ /usr/local/include/sigslot/signal.hpp:1486:42: error: expected primary-expression before ‘>’ token 1486 | cow_copy_type<list_type, Lockable> ref = slots_reference(); | ^ /usr/local/include/sigslot/signal.hpp:1486:50: error: there are no arguments to ‘slots_reference’ that depend on a template parameter, so a declaration of ‘slots_reference’ must be available [-fpermissive] 1486 | cow_copy_type<list_type, Lockable> ref = slots_reference(); | ^~~~~~~~~~~~~~~ /usr/local/include/sigslot/signal.hpp:1488:46: error: no matching function for call to ‘cow_read()’ 1488 | for (const auto &g : detail::cow_read(ref)) { | ~~~~~~~~~~~~~~~~^~~~~ /usr/local/include/sigslot/signal.hpp:463:10: note: candidate: ‘template<class T> const T& sigslot::detail::cow_read(const T&)’ 463 | const T& cow_read(const T &v) { | ^~~~~~~~ /usr/local/include/sigslot/signal.hpp:463:10: note: template argument deduction/substitution failed: /usr/local/include/sigslot/signal.hpp:1488:46: note: couldn’t deduce template parameter ‘T’ 1488 | for (const auto &g : detail::cow_read(ref)) { | ~~~~~~~~~~~~~~~~^~~~~ /usr/local/include/sigslot/signal.hpp:468:10: note: candidate: ‘template<class T> const T& sigslot::detail::cow_read(sigslot::detail::copy_on_write<T>&)’ 468 | const T& cow_read(copy_on_write<T> &v) { | ^~~~~~~~ /usr/local/include/sigslot/signal.hpp:468:10: note: template argument deduction/substitution failed: /usr/local/include/sigslot/signal.hpp:1488:46: note: couldn’t deduce template parameter ‘T’ 1488 | for (const auto &g : detail::cow_read(ref)) { | ~~~~~~~~~~~~~~~~^~~~~ /usr/local/include/sigslot/signal.hpp: In member function ‘void sigslot::signal_base< , >::clean(sigslot::detail::slot_state)’: /usr/local/include/sigslot/signal.hpp:1504:46: error: ‘m_slots’ was not declared in this scope 1504 | for (auto &group : detail::cow_write(m_slots)) { | ^~~~~~~ /usr/local/include/sigslot/signal.hpp: In member function ‘void sigslot::signal_base< , >::add_slot(sigslot::signal_base< , >::slot_ptr&&)’: /usr/local/include/sigslot/signal.hpp:1538:42: error: ‘m_slots’ was not declared in this scope 1538 | auto &groups = detail::cow_write(m_slots); | ^~~~~~~ /usr/local/include/sigslot/signal.hpp: In member function ‘size_t sigslot::signal_base< , >::disconnect_if(Cond&&)’: /usr/local/include/sigslot/signal.hpp:1560:42: error: ‘m_slots’ was not declared in this scope 1560 | auto &groups = detail::cow_write(m_slots); | ^~~~~~~ /usr/local/include/sigslot/signal.hpp: In member function ‘void sigslot::signal_base< , >::clear()’: /usr/local/include/sigslot/signal.hpp:1584:27: error: ‘m_slots’ was not declared in this scope 1584 | detail::cow_write(m_slots).clear(); | ^~~~~~~ In file included from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_seven_dof_expmap.h:34, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LoopClosing.h:34, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LocalMapping.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:31, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_vertex.h: At global scope: /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_vertex.h:62:74: warning: ‘Eigen::AlignedBit’ is deprecated [-Wdeprecated-declarations] 62 | p<Matrix<double, D, D>, Matrix<double,D,D>::Flags & AlignedBit ? Aligned : Unaligned > HessianBlockType; | ^~~~~~~~~~

In file included from /usr/include/eigen3/Eigen/Core:161, from /usr/local/include/pangolin/gl/opengl_render_state.h:40, from /usr/local/include/pangolin/handler/handler.h:30, from /usr/local/include/pangolin/display/widgets.h:32, from /usr/local/include/pangolin/pangolin.h:40, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/MapDrawer.h:27, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Viewer.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:28, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /usr/include/eigen3/Eigen/src/Core/util/Constants.h:167:37: note: declared here 167 | EIGEN_DEPRECATED const unsigned int AlignedBit = 0x80; | ^~~~~~~~~~ In file included from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_seven_dof_expmap.h:35, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LoopClosing.h:34, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LocalMapping.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:31, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_binary_edge.h:59:82: warning: ‘Eigen::AlignedBit’ is deprecated [-Wdeprecated-declarations] 59 | ix<double, Di, Dj>, Matrix<double, Di, Dj>::Flags & AlignedBit ? Aligned : Unaligned > HessianBlockType; | ^~~~~~~~~~

In file included from /usr/include/eigen3/Eigen/Core:161, from /usr/local/include/pangolin/gl/opengl_render_state.h:40, from /usr/local/include/pangolin/handler/handler.h:30, from /usr/local/include/pangolin/display/widgets.h:32, from /usr/local/include/pangolin/pangolin.h:40, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/MapDrawer.h:27, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Viewer.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:28, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /usr/include/eigen3/Eigen/src/Core/util/Constants.h:167:37: note: declared here 167 | EIGEN_DEPRECATED const unsigned int AlignedBit = 0x80; | ^~~~~~~~~~ In file included from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_seven_dof_expmap.h:35, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LoopClosing.h:34, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LocalMapping.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:31, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_binary_edge.h:60:82: warning: ‘Eigen::AlignedBit’ is deprecated [-Wdeprecated-declarations] 60 | ix<double, Dj, Di>, Matrix<double, Dj, Di>::Flags & AlignedBit ? Aligned : Unaligned > HessianBlockTransposedType; | ^~~~~~~~~~

In file included from /usr/include/eigen3/Eigen/Core:161, from /usr/local/include/pangolin/gl/opengl_render_state.h:40, from /usr/local/include/pangolin/handler/handler.h:30, from /usr/local/include/pangolin/display/widgets.h:32, from /usr/local/include/pangolin/pangolin.h:40, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/MapDrawer.h:27, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Viewer.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:28, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /usr/include/eigen3/Eigen/src/Core/util/Constants.h:167:37: note: declared here 167 | EIGEN_DEPRECATED const unsigned int AlignedBit = 0x80; | ^~~~~~~~~~ In file included from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_seven_dof_expmap.h:34, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LoopClosing.h:34, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LocalMapping.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:31, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_vertex.h: In instantiation of ‘class g2o::BaseVertex<3, Eigen::Matrix<double, 3, 1> >’: /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_sba.h:40:35: required from here /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_vertex.h:62:72: warning: ‘Eigen::AlignedBit’ is deprecated [-Wdeprecated-declarations] 62 | Map<Matrix<double, D, D>, Matrix<double,D,D>::Flags & AlignedBit ? Aligned : Unaligned > HessianBlockType; | ~~~~~~^~~~~~~~~~~~

In file included from /usr/include/eigen3/Eigen/Core:161, from /usr/local/include/pangolin/gl/opengl_render_state.h:40, from /usr/local/include/pangolin/handler/handler.h:30, from /usr/local/include/pangolin/display/widgets.h:32, from /usr/local/include/pangolin/pangolin.h:40, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/MapDrawer.h:27, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Viewer.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:28, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /usr/include/eigen3/Eigen/src/Core/util/Constants.h:167:37: note: declared here 167 | EIGEN_DEPRECATED const unsigned int AlignedBit = 0x80; | ^~~~~~~~~~ In file included from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_seven_dof_expmap.h:34, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LoopClosing.h:34, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LocalMapping.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:31, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_vertex.h: In instantiation of ‘class g2o::BaseVertex<6, g2o::SE3Quat>’: /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_six_dof_expmap.h:59:33: required from here /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_vertex.h:62:72: warning: ‘Eigen::AlignedBit’ is deprecated [-Wdeprecated-declarations] 62 | Map<Matrix<double, D, D>, Matrix<double,D,D>::Flags & AlignedBit ? Aligned : Unaligned > HessianBlockType; | ~~~~~~^~~~~~~~~~~~

In file included from /usr/include/eigen3/Eigen/Core:161, from /usr/local/include/pangolin/gl/opengl_render_state.h:40, from /usr/local/include/pangolin/handler/handler.h:30, from /usr/local/include/pangolin/display/widgets.h:32, from /usr/local/include/pangolin/pangolin.h:40, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/MapDrawer.h:27, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Viewer.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:28, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /usr/include/eigen3/Eigen/src/Core/util/Constants.h:167:37: note: declared here 167 | EIGEN_DEPRECATED const unsigned int AlignedBit = 0x80; | ^~~~~~~~~~ In file included from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_seven_dof_expmap.h:35, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LoopClosing.h:34, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LocalMapping.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:31, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_binary_edge.h: In instantiation of ‘class g2o::BaseBinaryEdge<2, Eigen::Matrix<double, 2, 1>, g2o::VertexSBAPointXYZ, g2o::VertexSE3Expmap>’: /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_six_dof_expmap.h:80:35: required from here /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_binary_edge.h:59:80: warning: ‘Eigen::AlignedBit’ is deprecated [-Wdeprecated-declarations] 59 | trix<double, Di, Dj>, Matrix<double, Di, Dj>::Flags & AlignedBit ? Aligned : Unaligned > HessianBlockType; | ~~~~~~^~~~~~~~~~~~

In file included from /usr/include/eigen3/Eigen/Core:161, from /usr/local/include/pangolin/gl/opengl_render_state.h:40, from /usr/local/include/pangolin/handler/handler.h:30, from /usr/local/include/pangolin/display/widgets.h:32, from /usr/local/include/pangolin/pangolin.h:40, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/MapDrawer.h:27, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Viewer.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:28, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /usr/include/eigen3/Eigen/src/Core/util/Constants.h:167:37: note: declared here 167 | EIGEN_DEPRECATED const unsigned int AlignedBit = 0x80; | ^~~~~~~~~~ In file included from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_seven_dof_expmap.h:35, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LoopClosing.h:34, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LocalMapping.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:31, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_binary_edge.h:60:80: warning: ‘Eigen::AlignedBit’ is deprecated [-Wdeprecated-declarations] 60 | trix<double, Dj, Di>, Matrix<double, Dj, Di>::Flags & AlignedBit ? Aligned : Unaligned > HessianBlockTransposedType; | ~~~~~~^~~~~~~~~~~~

In file included from /usr/include/eigen3/Eigen/Core:161, from /usr/local/include/pangolin/gl/opengl_render_state.h:40, from /usr/local/include/pangolin/handler/handler.h:30, from /usr/local/include/pangolin/display/widgets.h:32, from /usr/local/include/pangolin/pangolin.h:40, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/MapDrawer.h:27, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Viewer.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:28, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /usr/include/eigen3/Eigen/src/Core/util/Constants.h:167:37: note: declared here 167 | EIGEN_DEPRECATED const unsigned int AlignedBit = 0x80; | ^~~~~~~~~~ In file included from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_seven_dof_expmap.h:35, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LoopClosing.h:34, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LocalMapping.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:31, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_binary_edge.h: In instantiation of ‘class g2o::BaseBinaryEdge<3, Eigen::Matrix<double, 3, 1>, g2o::VertexSBAPointXYZ, g2o::VertexSE3Expmap>’: /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_six_dof_expmap.h:112:41: required from here /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_binary_edge.h:59:80: warning: ‘Eigen::AlignedBit’ is deprecated [-Wdeprecated-declarations] 59 | trix<double, Di, Dj>, Matrix<double, Di, Dj>::Flags & AlignedBit ? Aligned : Unaligned > HessianBlockType; | ~~~~~~^~~~~~~~~~~~

In file included from /usr/include/eigen3/Eigen/Core:161, from /usr/local/include/pangolin/gl/opengl_render_state.h:40, from /usr/local/include/pangolin/handler/handler.h:30, from /usr/local/include/pangolin/display/widgets.h:32, from /usr/local/include/pangolin/pangolin.h:40, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/MapDrawer.h:27, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Viewer.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:28, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /usr/include/eigen3/Eigen/src/Core/util/Constants.h:167:37: note: declared here 167 | EIGEN_DEPRECATED const unsigned int AlignedBit = 0x80; | ^~~~~~~~~~ In file included from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_seven_dof_expmap.h:35, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LoopClosing.h:34, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LocalMapping.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:31, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_binary_edge.h:60:80: warning: ‘Eigen::AlignedBit’ is deprecated [-Wdeprecated-declarations] 60 | trix<double, Dj, Di>, Matrix<double, Dj, Di>::Flags & AlignedBit ? Aligned : Unaligned > HessianBlockTransposedType; | ~~~~~~^~~~~~~~~~~~

In file included from /usr/include/eigen3/Eigen/Core:161, from /usr/local/include/pangolin/gl/opengl_render_state.h:40, from /usr/local/include/pangolin/handler/handler.h:30, from /usr/local/include/pangolin/display/widgets.h:32, from /usr/local/include/pangolin/pangolin.h:40, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/MapDrawer.h:27, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Viewer.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:28, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /usr/include/eigen3/Eigen/src/Core/util/Constants.h:167:37: note: declared here 167 | EIGEN_DEPRECATED const unsigned int AlignedBit = 0x80; | ^~~~~~~~~~ In file included from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_seven_dof_expmap.h:34, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LoopClosing.h:34, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LocalMapping.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:31, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_vertex.h: In instantiation of ‘class g2o::BaseVertex<7, g2o::Sim3>’: /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_seven_dof_expmap.h:48:35: required from here /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_vertex.h:62:72: warning: ‘Eigen::AlignedBit’ is deprecated [-Wdeprecated-declarations] 62 | Map<Matrix<double, D, D>, Matrix<double,D,D>::Flags & AlignedBit ? Aligned : Unaligned > HessianBlockType; | ~~~~~~^~~~~~~~~~~~

In file included from /usr/include/eigen3/Eigen/Core:161, from /usr/local/include/pangolin/gl/opengl_render_state.h:40, from /usr/local/include/pangolin/handler/handler.h:30, from /usr/local/include/pangolin/display/widgets.h:32, from /usr/local/include/pangolin/pangolin.h:40, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/MapDrawer.h:27, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Viewer.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:28, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /usr/include/eigen3/Eigen/src/Core/util/Constants.h:167:37: note: declared here 167 | EIGEN_DEPRECATED const unsigned int AlignedBit = 0x80; | ^~~~~~~~~~ In file included from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_seven_dof_expmap.h:35, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LoopClosing.h:34, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LocalMapping.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:31, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_binary_edge.h: In instantiation of ‘class g2o::BaseBinaryEdge<7, g2o::Sim3, g2o::VertexSim3Expmap, g2o::VertexSim3Expmap>’: /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_seven_dof_expmap.h:99:27: required from here /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_binary_edge.h:59:80: warning: ‘Eigen::AlignedBit’ is deprecated [-Wdeprecated-declarations] 59 | trix<double, Di, Dj>, Matrix<double, Di, Dj>::Flags & AlignedBit ? Aligned : Unaligned > HessianBlockType; | ~~~~~~^~~~~~~~~~~~

In file included from /usr/include/eigen3/Eigen/Core:161, from /usr/local/include/pangolin/gl/opengl_render_state.h:40, from /usr/local/include/pangolin/handler/handler.h:30, from /usr/local/include/pangolin/display/widgets.h:32, from /usr/local/include/pangolin/pangolin.h:40, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/MapDrawer.h:27, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Viewer.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:28, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /usr/include/eigen3/Eigen/src/Core/util/Constants.h:167:37: note: declared here 167 | EIGEN_DEPRECATED const unsigned int AlignedBit = 0x80; | ^~~~~~~~~~ In file included from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_seven_dof_expmap.h:35, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LoopClosing.h:34, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LocalMapping.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:31, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_binary_edge.h:60:80: warning: ‘Eigen::AlignedBit’ is deprecated [-Wdeprecated-declarations] 60 | trix<double, Dj, Di>, Matrix<double, Dj, Di>::Flags & AlignedBit ? Aligned : Unaligned > HessianBlockTransposedType; | ~~~~~~^~~~~~~~~~~~

In file included from /usr/include/eigen3/Eigen/Core:161, from /usr/local/include/pangolin/gl/opengl_render_state.h:40, from /usr/local/include/pangolin/handler/handler.h:30, from /usr/local/include/pangolin/display/widgets.h:32, from /usr/local/include/pangolin/pangolin.h:40, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/MapDrawer.h:27, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Viewer.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:28, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /usr/include/eigen3/Eigen/src/Core/util/Constants.h:167:37: note: declared here 167 | EIGEN_DEPRECATED const unsigned int AlignedBit = 0x80; | ^~~~~~~~~~ In file included from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_seven_dof_expmap.h:35, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LoopClosing.h:34, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LocalMapping.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:31, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_binary_edge.h: In instantiation of ‘class g2o::BaseBinaryEdge<2, Eigen::Matrix<double, 2, 1>, g2o::VertexSBAPointXYZ, g2o::VertexSim3Expmap>’: /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_seven_dof_expmap.h:130:36: required from here /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_binary_edge.h:59:80: warning: ‘Eigen::AlignedBit’ is deprecated [-Wdeprecated-declarations] 59 | trix<double, Di, Dj>, Matrix<double, Di, Dj>::Flags & AlignedBit ? Aligned : Unaligned > HessianBlockType; | ~~~~~~^~~~~~~~~~~~

In file included from /usr/include/eigen3/Eigen/Core:161, from /usr/local/include/pangolin/gl/opengl_render_state.h:40, from /usr/local/include/pangolin/handler/handler.h:30, from /usr/local/include/pangolin/display/widgets.h:32, from /usr/local/include/pangolin/pangolin.h:40, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/MapDrawer.h:27, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Viewer.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:28, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /usr/include/eigen3/Eigen/src/Core/util/Constants.h:167:37: note: declared here 167 | EIGEN_DEPRECATED const unsigned int AlignedBit = 0x80; | ^~~~~~~~~~ In file included from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_seven_dof_expmap.h:35, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LoopClosing.h:34, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/LocalMapping.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:31, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_binary_edge.h:60:80: warning: ‘Eigen::AlignedBit’ is deprecated [-Wdeprecated-declarations] 60 | trix<double, Dj, Di>, Matrix<double, Dj, Di>::Flags & AlignedBit ? Aligned : Unaligned > HessianBlockTransposedType; | ~~~~~~^~~~~~~~~~~~

In file included from /usr/include/eigen3/Eigen/Core:161, from /usr/local/include/pangolin/gl/opengl_render_state.h:40, from /usr/local/include/pangolin/handler/handler.h:30, from /usr/local/include/pangolin/display/widgets.h:32, from /usr/local/include/pangolin/pangolin.h:40, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/MapDrawer.h:27, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Viewer.h:26, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/Tracking.h:28, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/include/System.h:29, from /home/muneeb-hoda/testingTelloWorkspace/ORB_SLAM2/src/System.cc:23: /usr/include/eigen3/Eigen/src/Core/util/Constants.h:167:37: note: declared here 167 | EIGEN_DEPRECATED const unsigned int AlignedBit = 0x80; | ^~~~~~~~~~ make[2]: *** [CMakeFiles/ORB_SLAM2.dir/build.make:76: CMakeFiles/ORB_SLAM2.dir/src/System.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/ORB_SLAM2.dir/all] Error 2 make: *** [Makefile:91: all] Error 2 muneeb-hoda@muneebhoda-HP-Pavilion-x360-Convert

I am facing a huge list of error, when I try to call the "make" command inside my build of ORB_SLAM2. Please help me.

MuneebHoda avatar Nov 02 '23 07:11 MuneebHoda