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

Benefit of using Eigen in FCL + using in VS #615

Open
AdmiralPellaeon opened this issue Apr 23, 2024 · 2 comments
Open

Benefit of using Eigen in FCL + using in VS #615

AdmiralPellaeon opened this issue Apr 23, 2024 · 2 comments

Comments

@AdmiralPellaeon
Copy link

Hi,

what is the benefit of using Eigen in FCL? Is there a performance advantage?

And an issue: I tried to create a Visual studio solution with CMAKE including Eigen. I downloaded the latest Eigenversion, unpacked the file and provided the path in cmake. But every time I hit the configure button, the Eigen path seems wrong and it goes back to unknown directory. What does the FCL cmake project expect so that creating a solution with Eigen works?
Or is it possible to add the Eigen support afterwards by setting a constant or similar?

Best regards

@traversaro
Copy link
Contributor

what is the benefit of using Eigen in FCL? Is there a performance advantage?

The issue in which FCL switched to Eigen is #96 , you can find some discussion there.

And an issue: I tried to create a Visual studio solution with CMAKE including Eigen. I downloaded the latest Eigenversion, unpacked the file and provided the path in cmake. But every time I hit the configure button, the Eigen path seems wrong and it goes back to unknown directory. What does the FCL cmake project expect so that creating a solution with Eigen works?
Or is it possible to add the Eigen support afterwards by setting a constant or similar?

I think you need to install Eigen, and then add to the CMAKE_PREFIX_PATH variable to the location where you installed Eigen.

As a generic comment, did you considered using a package manager like vcpkg or conda with conda-forge to manage dependencies? Manually dealing with C++ dependencies tend to be difficult.

@AdmiralPellaeon
Copy link
Author

@traversaro Thank you very much for the link to the discussion. Seems that the cmake generated solution is referencing Eigen but in an unsual way. It's not under the include paths but in the additional compiler options.

As a generic comment, did you considered using a package manager like vcpkg or conda with conda-forge to manage dependencies? Manually dealing with C++ dependencies tend to be difficult.

I sometimes use VCPKG. But the safety regulations on my working PC partly are in conflict with the tool. So I prefer building the projects by hand.

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