Build Error with Pangolin
Hi, I met many errors related with Pangolin (version 0.6) as below. Any one knows what is going on? Thank you. My working environment is ubuntu 18.04.
[ 59%] Building CXX object CMakeFiles/ORB_SLAM3.dir/src/ORBmatcher.cc.o
[ 60%] Building CXX object CMakeFiles/ORB_SLAM3.dir/src/LoopClosing.cc.o
In file included from /home/guliang/slam/Pangolin/components/pango_core/include/pangolin/utils/signal_slot.h:3:0,
from /home/guliang/slam/Pangolin/components/pango_windowing/include/pangolin/windowing/window.h:34,
from /home/guliang/slam/Pangolin/components/pango_display/include/pangolin/display/display.h:34,
from /home/guliang/slam/Pangolin/components/pango_core/include/pangolin/pangolin.h:38,
from /home/guliang/ORB_SLAM3/include/Map.h:27,
from /home/guliang/ORB_SLAM3/include/KeyFrameDatabase.h:30,
from /home/guliang/ORB_SLAM3/include/KeyFrame.h:29,
from /home/guliang/ORB_SLAM3/include/MapPoint.h:23,
from /home/guliang/ORB_SLAM3/src/MapPoint.cc:19:
/home/slam/Pangolin/components/pango_core/include/signals/signals.hpp:257:17: error: ‘auto’ parameter not permitted in this context
template<auto PMF, class C>
^~~
/home/slam/Pangolin/components/pango_core/include/signals/signals.hpp:269:17: error: ‘auto’ parameter not permitted in this context
template
Me too, ubuntu18.04, I gauss orbslam3 use old version pangolin
I also see this error in both 18.04 and 20.04, if the authors could provide a last working commit for Pangolin we could use that.
When cloning pangolin run git checkout v0.5(before building) to use v0.5 and the build works for me.
I also met this use pangolin-0.6 will fix this
@Chris0919
I built pangolin 0.6 from this repo https://github.com/stevenlovegrove/Pangolin/tree/v0.6
but it didn't solve the problem.
Can you link me to the source from where you built? thanks
@Chris0919
I built pangolin 0.6 from this repo https://github.com/stevenlovegrove/Pangolin/tree/v0.6
but it didn't solve the problem.
Can you link me to the source from where you built? thanks Hello, have you solved this problem? How did you solve the problem? Thank you so much !
I use the pangolin 0.6 and solve the error sucessfully
change your CMakeLists.txt c++11 -> c++14
This worked for me on Ubuntu 22.04:
git checkout v0.6- Change
set (CMAKE_CXX_STANDARD 14)toset (CMAKE_CXX_STANDARD 17)in CMakeLists.txt