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

前端 未结 6 1660
说谎
说谎 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:07

    Should use the following:

    #if defined __GNUC__ || defined __APPLE__
    #include 
    #else
    #include 
    #endif
    

提交回复
热议问题