-
Notifications
You must be signed in to change notification settings - Fork 61
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
Include - fatal error - no such file or directory (Eigen/Dense) #657
Comments
@krzysz28tof Thank you for your github issue! To better reproduce your problem, could you provide us with a video of your reproduction project and reproduction steps? This will help us greatly in our investigation of your problem. |
Steps
Problem description
|
Screencast.From.2024-09-30.11-00-40.webm |
@krzysz28tof Thanks for the reply, sorry I wanted to ask please do you have a dense folder under your Eigen folder? |
@Yingzi1234 Yes |
Hi @krzysz28tof @gcampbell-msft We can reproduce this issue, you can get the details below. This issue can be reproduced on Windows, Linux, Mac platforms. Thank you! ENV: Repro steps:
Actual result:
|
@krzysz28tof @Yingzi1234 Apologies for the delay, we've added this to our backlog, thanks! |
@Yingzi1234 @krzysz28tof I just downloaded the repro and I was able to get it to work on my machine. One thing that I had to do was once I got the include directory correct such that it worked on the command-line, I had to run Also, my include directory after installing with Do any of these suggestions make your case work, like it did on my machine? |
@krzysz28tof Pinging this since it's been a couple of weeks. Does the above comment fix your issue? |
@gcampbell-msft Hey, thank you very much for answering and I apologize for the late response. I tried it out:
|
@krzysz28tof Ah, sorry about that. What does your makefile look like? Is it possible to make a zip of the project and send it in the comments here? This would help me investigate. I'm wondering if you either aren't including the eigen directory in your makefile, or maybe something is going on with the symbolic links? (you could try to use the direct location rather than the symbolic links to see if that works) Thanks! |
@gcampbell-msft Thank you for the quick response, I've attached the zip file and I'll try a few things out. eigenExapmle.zip |
@krzysz28tof Looking at the zip file you uploaded (thank you so much), it looks to me like there is nothing in your project that adds the Eigen directories as include directories for the project. I suspect that this is the issue. |
Setup
/usr/include/eigen3/Eigen
(location of Eigen library)ln -s /usr/include/eigen3/Eigen Eigen
(made a symbolic link in /usr/include folder)Problem
Error message
main.cpp:2:10: fatal error: Eigen/Dense: No such file or directory
2 | #include <Eigen/Dense>
The text was updated successfully, but these errors were encountered: