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

make error: Eigen 'Vector' template error #551

Closed
iamnambiar opened this issue Mar 18, 2024 · 2 comments
Closed

make error: Eigen 'Vector' template error #551

iamnambiar opened this issue Mar 18, 2024 · 2 comments

Comments

@iamnambiar
Copy link

Hi. I am trying to build the repository for a project, but I am facing an issue when running make command.

/home/projects/hpp-fcl/test/normal_and_nearest_points.cpp:244:8: error: Vector’ in namespace ‘Eigen’ does not name a template type; did you mean ‘VectorXd’?
  244 | Eigen::Vector<FCL_REAL, VecSize> generateRandomVector(FCL_REAL min,
      |        ^~~~~~
      |        VectorXd

The Eigen version I am using is 3.3.7.

Can someone please advice me a solution for this. Thanks.

@lmontaut
Copy link
Contributor

Hi @iamnambiar,
It's my bad, I am using eigen 3.4 (Eigen::Vector is not available on 3.3.7).
I will do a PR to change that.
Thanks for reporting the issue!

@iamnambiar
Copy link
Author

iamnambiar commented Mar 18, 2024

Thank you @lmontaut

I fixed the error by changing it to Eigen::Matrix<FCL_REAL, VecSize, 1>. Anyway, I am closing this issue as it has been addressed. Thanks.

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