ORB_SLAM2
ORB_SLAM2 copied to clipboard
Pangolin could not be found because dependency Eigen3 could not be found
How can I solve this problem?Thank you
i have the same error,do you fixed it?
我有同样的错误,你解决了吗?
没有呢
have the same problem. did it just comes recently? never confronted with it before! I was going to build it on jetson xavier.
I solve it. I found Pangolin has a upgrade to version 0.6 and the author make it to comply with c++ 17 or something. but orbslam2 reconment to c++ 11. a higher version Pangolin is not suitble even it is installed. 1st, check the /usr/local/include. is there a signals derectory? if yes, delete it. 2ed, remove Pangolin files and clone 0.5 version codes. 3rd, rebuild it and install it. to end, build orbslam2 (I was using build.sh). hope it can help.
Any idea what the last working commit was?
I tried 680fd76747e919d84cdaa7a18fb855f40c87dd38 (Dec 2020) and it doesn't work, so it must require something older than that
It is indeed caused by using a higher version of Pangolin, it can be solved by replacing it with a lower version of Pangolin
I solve it. I found Pangolin has a upgrade to version 0.6 and the author make it to comply with c++ 17 or something. but orbslam2 reconment to c++ 11. a higher version Pangolin is not suitble even it is installed. 1st, check the /usr/local/include. is there a signals derectory? if yes, delete it. 2ed, remove Pangolin files and clone 0.5 version codes. 3rd, rebuild it and install it. to end, build orbslam2 (I was using build.sh). hope it can help.
太牛了兄弟
I solve it. I found Pangolin has a upgrade to version 0.6 and the author make it to comply with c++ 17 or something. but orbslam2 reconment to c++ 11. a higher version Pangolin is not suitble even it is installed. 1st, check the /usr/local/include. is there a signals derectory? if yes, delete it. 2ed, remove Pangolin files and clone 0.5 version codes. 3rd, rebuild it and install it. to end, build orbslam2 (I was using build.sh). hope it can help.
Great! Solved the problem!
I solve it. I found Pangolin has a upgrade to version 0.6 and the author make it to comply with c++ 17 or something. but orbslam2 reconment to c++ 11. a higher version Pangolin is not suitble even it is installed. 1st, check the /usr/local/include. is there a signals derectory? if yes, delete it. 2ed, remove Pangolin files and clone 0.5 version codes. 3rd, rebuild it and install it. to end, build orbslam2 (I was using build.sh). hope it can help.
Great! Solved!
I solve it. I found Pangolin has a upgrade to version 0.6 and the author make it to comply with c++ 17 or something. but orbslam2 reconment to c++ 11. a higher version Pangolin is not suitble even it is installed. 1st, check the /usr/local/include. is there a signals derectory? if yes, delete it. 2ed, remove Pangolin files and clone 0.5 version codes. 3rd, rebuild it and install it. to end, build orbslam2 (I was using build.sh). hope it can help.
Great Job! 老哥牛逼
稳啊
I found that changing find_package(Eigen3 3.1.0 REQUIRED)
to find_package(Eigen3 3.1.0 REQUIRED NO_MODULE)
in CmakeLists.txt
on my mac solves the problem.
Because Pangolin 0.5 has problems compiling on my laptop, I can only use 0.6. If you use version 0.6 like I do, this might help.
I solve it. I found Pangolin has a upgrade to version 0.6 and the author make it to comply with c++ 17 or something. but orbslam2 reconment to c++ 11. a higher version Pangolin is not suitble even it is installed. 1st, check the /usr/local/include. is there a signals derectory? if yes, delete it. 2ed, remove Pangolin files and clone 0.5 version codes. 3rd, rebuild it and install it. to end, build orbslam2 (I was using build.sh). hope it can help.
Thanks, it's worked for me.
I solve it. I found Pangolin has a upgrade to version 0.6 and the author make it to comply with c++ 17 or something. but orbslam2 reconment to c++ 11. a higher version Pangolin is not suitble even it is installed. 1st, check the /usr/local/include. is there a signals derectory? if yes, delete it. 2ed, remove Pangolin files and clone 0.5 version codes. 3rd, rebuild it and install it. to end, build orbslam2 (I was using build.sh). hope it can help.
How can I find Pangolin version 0.5?
You can find it in Pangolin's release tag page.
I found that changing
find_package(Eigen3 3.1.0 REQUIRED)
tofind_package(Eigen3 3.1.0 REQUIRED NO_MODULE)
inCmakeLists.txt
on my mac solves the problem. Because Pangolin 0.5 has problems compiling on my laptop, I can only use 0.6. If you use version 0.6 like I do, this might help a bit. I love you!
met the same problem on Ubuntu 20.04(WSL), ros neotic.
changing
find_package(Eigen3 3.1.0 REQUIRED)
to
find_package(Eigen3 3.1.0 REQUIRED NO_MODULE)
in CMakeLists.txt could solve this problem.
I solve it. I found Pangolin has a upgrade to version 0.6 and the author make it to comply with c++ 17 or something. but orbslam2 reconment to c++ 11. a higher version Pangolin is not suitble even it is installed. 1st, check the /usr/local/include. is there a signals derectory? if yes, delete it. 2ed, remove Pangolin files and clone 0.5 version codes. 3rd, rebuild it and install it. to end, build orbslam2 (I was using build.sh). hope it can help.
I test ,it is good solution for this quenstion
I found that changing
find_package(Eigen3 3.1.0 REQUIRED)
tofind_package(Eigen3 3.1.0 REQUIRED NO_MODULE)
inCmakeLists.txt
on my mac solves the problem. Because Pangolin 0.5 has problems compiling on my laptop, I can only use 0.6. If you use version 0.6 like I do, this might help a bit.
this works. may be this is the real reason?
I found that changing
find_package(Eigen3 3.1.0 REQUIRED)
tofind_package(Eigen3 3.1.0 REQUIRED NO_MODULE)
inCmakeLists.txt
on my mac solves the problem. Because Pangolin 0.5 has problems compiling on my laptop, I can only use 0.6. If you use version 0.6 like I do, this might help a bit.this works. may be this is the real reason?
I have the same problem but got this error after I added NO MODULE
CMake Error in CMakeLists.txt: Imported target "pango_display" includes non-existent path
"/usr/local/include/eigen3"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
-
The path was deleted, renamed, or moved to another location.
-
An install or uninstall procedure did not complete successfully.
-
The installation package was faulty and references files it does not provide.
If you do not want to change your Pangolin version, you can try to modify the
find_package(Eigen3 REQUIRED)
to
find_package(Eigen3 REQUIRED NO_MODULE)
If you do not want to change your Pangolin version, you can try to modify the
find_package(Eigen3 REQUIRED)
tofind_package(Eigen3 REQUIRED NO_MODULE)
Worked for me, thanks bro!!