vscode中添加eigen3库
1.先查看eigen3库的位置
sudo updatedb
locate eigen3
2.打开vscode的配置文件
#按Ctrl+Shift+P输入configuration在c_cpp_propertoes.json中
includePath字段中添加待添加的SDK或者库的头文件路径,例如:"/usr/local/xx/include"
3.比如添加eigen3库
但是在程序中需要引入<eigen3/Eigen/Core>,加上eigen3