Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JonathanLJH opened this issue Aug 30, 2021 · 22 comments
Open

Comments

@JonathanLJH
Copy link

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

@liushuangliuliu
Copy link

i have the same error,do you fixed it?

@JonathanLJH
Copy link
Author

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

没有呢

@shaoxh
Copy link

shaoxh commented Sep 3, 2021

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

@shaoxh
Copy link

shaoxh commented Sep 3, 2021

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.

@mgsteinkamp
Copy link

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

@tsrobcvai
Copy link

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

@hl-yang96
Copy link

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.

太牛了兄弟

@Jason-xy
Copy link

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!

@Guo-hk
Copy link

Guo-hk commented Nov 6, 2021

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!

@Roger-Sh
Copy link

Roger-Sh commented Nov 8, 2021

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

@githubwys
Copy link

稳啊

@Li-Jesse-Jiaze
Copy link

Li-Jesse-Jiaze commented Nov 17, 2021

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.

@shuaikangma
Copy link

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.

@aseslamian
Copy link

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?

@Jason-xy
Copy link

Jason-xy commented Apr 7, 2022

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

@ngdyes
Copy link

ngdyes commented Apr 19, 2022

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!

@imjrl
Copy link

imjrl commented Jun 30, 2022

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.

@TheSeanParker
Copy link

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

@fseasy
Copy link

fseasy commented Dec 29, 2022

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?

@mgrallos
Copy link

mgrallos commented Mar 5, 2023

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.

@LuoXubo
Copy link

LuoXubo commented Aug 25, 2023

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)

@jeremy7703
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests