microsoft / vscode-makefile-tools

MAKE integration in Visual Studio Code
Other
195 stars 60 forks source link

Include - fatal error - no such file or directory (Eigen/Dense) #657

Open krzysz28tof opened 1 month ago

krzysz28tof commented 1 month ago

Setup

Problem

Error message

main.cpp:2:10: fatal error: Eigen/Dense: No such file or directory 2 | #include <Eigen/Dense>

Yingzi1234 commented 1 month ago

@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.

krzysz28tof commented 1 month ago

Steps

Problem description

krzysz28tof commented 1 month ago

Screencast From 2024-09-30 11-00-40.webm

Yingzi1234 commented 1 month ago

@krzysz28tof Thanks for the reply, sorry I wanted to ask please do you have a dense folder under your Eigen folder?

krzysz28tof commented 1 month ago

@Yingzi1234 Yes

Yingzi1234 commented 1 month ago

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: VSCode: 1.94.2 Makefile tools: 0.12.8(pre-release) C/C++: 1.22.9

Repro steps:

  1. Install Eigen c++ library
  2. Download and open this folder Test2.zip with VSCode
  3. Click F1 and run command "Makefile: configure"
  4. Open terminal window and run g++ -o main main.cpp

Actual result: The error will be displayed:

main.cpp:2:10: fatal error: Eigen/Dense: No such file or directory
2 | #include <Eigen/Dense>

Image