fatal error: Eigen/Dense: No such file or directory

前端 未结 6 1656
说谎
说谎 2020-12-13 19:18

I have installed libeigen3-dev in order to compile programs using Eigen 3. when I include a file, such as Eigen/Dense I get this error when I try t

6条回答
  •  天命终不由人
    2020-12-13 20:02

    If you follow the getting started instructions at the main Eigen site then you can't go far wrong.

    To surmise, download then extract the Eigen source code into a directory of choice. Next copy the "Eigen" directory into /usr/local/include/. NOTE this is the directory named "Eigen" WITHIN the directory structure extracted, NOT the entire directory structure itself. It worked for me on an Ubuntu 14.04 virtual machine.

提交回复
热议问题