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

Eigen3 Dependancy error #4

Open
subashg-nicn opened this issue Jul 2, 2023 · 2 comments
Open

Eigen3 Dependancy error #4

subashg-nicn opened this issue Jul 2, 2023 · 2 comments

Comments

@subashg-nicn
Copy link

Can you share how did you manage to solve the "Eigen3" dependency error for "fcl"?

System Information:

  • CPU: Ryzen 5000 Series, AMD64
  • OS: Ubuntu 20.04
  • ROS Version: noetic

I go the error as follows:
image

@akmandor
Copy link
Contributor

akmandor commented Jul 3, 2023

It seems that either the "Eigen" or "fcl" library is not installed properly on your machine. Please make sure that you are following all steps in MANUAL_INSTALLATION, especially installing dependencies using rosdep tools:
rosdep install --from-paths src --ignore-src -r -y

Other than that you can:

  • make sure that there is no instances of fcl, eigen in your /usr/local/ subfolders, since these libraries should be installed from source, not locally!
  • install (and check) manually these libraries such as:
    -- sudo apt-get update -y
    -- sudo apt install libeigen3-dev
    -- sudo apt-get install -y libfcl-dev
  • consider reinstalling ROS.

@subashg-nicn
Copy link
Author

Thanks for you instructions, but none seem to work.

Instead I was able to run it by building the latest version of fcl (https://github.com/flexible-collision-library/fcl) library from source. It gave me the problem with the linking of -lnlopt as in the following line from CMakeLists.txt.

target_link_libraries(map_utility_server ${PCL_LIBRARIES} ${catkin_LIBRARIES} ${CHOLMOD_LIBRARY} nlopt ${TF_LIBRARIES} map_utility ${FCL_LIBRARIES})

I just removed "nlopt" and build with catkin. With that i was able to at least run the test launch successfully.

target_link_libraries(map_utility_server ${PCL_LIBRARIES} ${catkin_LIBRARIES} ${CHOLMOD_LIBRARY} ${TF_LIBRARIES} map_utility ${FCL_LIBRARIES})

I don't know what it will result when running other mode.

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

2 participants