ORB_SLAM2 icon indicating copy to clipboard operation
ORB_SLAM2 copied to clipboard

Pangolin could not be found because dependency Eigen3 could not be found

Open JonathanLJH opened this issue 2 years ago • 22 comments

找不到 pangolin eigen How can I solve this problem?Thank you

JonathanLJH avatar Aug 30 '21 14:08 JonathanLJH

i have the same error,do you fixed it?

liushuangliuliu avatar Sep 01 '21 03:09 liushuangliuliu

我有同样的错误,你解决了吗?

没有呢

JonathanLJH avatar Sep 01 '21 06:09 JonathanLJH

have the same problem. did it just comes recently? never confronted with it before! I was going to build it on jetson xavier.

shaoxh avatar Sep 03 '21 05:09 shaoxh

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.

shaoxh avatar Sep 03 '21 14:09 shaoxh

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

mgsteinkamp avatar Sep 06 '21 07:09 mgsteinkamp

It is indeed caused by using a higher version of Pangolin, it can be solved by replacing it with a lower version of Pangolin

tsrobcvai avatar Sep 12 '21 11:09 tsrobcvai

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.

太牛了兄弟

hl-yang96 avatar Sep 24 '21 09:09 hl-yang96

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!

Jason-xy avatar Oct 13 '21 12:10 Jason-xy

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!

Guo-hk avatar Nov 06 '21 02:11 Guo-hk

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! 老哥牛逼

Roger-Sh avatar Nov 08 '21 09:11 Roger-Sh

稳啊

githubwys avatar Nov 14 '21 11:11 githubwys

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.

Li-Jesse-Jiaze avatar Nov 17 '21 04:11 Li-Jesse-Jiaze

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.

shuaikangma avatar Mar 30 '22 16:03 shuaikangma

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?

aseslamian avatar Apr 06 '22 19:04 aseslamian

You can find it in Pangolin's release tag page.

Jason-xy avatar Apr 07 '22 00:04 Jason-xy

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 a bit. I love you!

ngdyes avatar Apr 19 '22 11:04 ngdyes

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.

imjrl avatar Jun 30 '22 04:06 imjrl

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

TheSeanParker avatar Nov 27 '22 15:11 TheSeanParker

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 a bit.

this works. may be this is the real reason?

fseasy avatar Dec 29 '22 10:12 fseasy

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 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.

mgrallos avatar Mar 05 '23 07:03 mgrallos

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)

LuoXubo avatar Aug 25 '23 15:08 LuoXubo

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)

Worked for me, thanks bro!!

jeremy7703 avatar Dec 10 '23 02:12 jeremy7703