linux系统IDE找不到Eigen
2015-09-03 17:44
676 查看
编译过程中遇到
/usr/local/include/vikit/math_utils.h:12:22: fatal error: Eigen/Core: No such file or directory
但是,我是确定安装了eigen的,这是怎么回事呢~
使用pkg-config 检测我的安装
pkg-config --cflags eigen
Package eigen was not found in the pkg-config search path.
Perhaps you should add the directory containing `eigen.pc'
to the PKG_CONFIG_PATH environment variable
No package 'eigen' found
再次检测
pkg-config --cflags eigen3
-I/usr/local/include/eigen3
于是
sean@fight:/usr/local/include$ sudo ln -s ./eigen3/Eigen/ ./Eigen
再次使用IDE编译,通过~
但pkg-config --cflags eigen 还是没有检测到。
/usr/local/include/vikit/math_utils.h:12:22: fatal error: Eigen/Core: No such file or directory
但是,我是确定安装了eigen的,这是怎么回事呢~
使用pkg-config 检测我的安装
pkg-config --cflags eigen
Package eigen was not found in the pkg-config search path.
Perhaps you should add the directory containing `eigen.pc'
to the PKG_CONFIG_PATH environment variable
No package 'eigen' found
再次检测
pkg-config --cflags eigen3
-I/usr/local/include/eigen3
于是
sean@fight:/usr/local/include$ sudo ln -s ./eigen3/Eigen/ ./Eigen
再次使用IDE编译,通过~
但pkg-config --cflags eigen 还是没有检测到。
相关文章推荐
- 文件查找及find命令详解
- Redhat/CentOS安装vsftp软件
- 升级chrome出现SELinux问题的解决方法
- Linux C语言程序设计(十五)——进程、线程与信号
- 历史Linux镜像的问题修复方案
- 如何借助Motion操控Linux监控摄像头
- Linux系统管理-(7)-压缩与归档
- Linux系统中valgrind检查内存泄露
- linux内核之内核与ring3的通信
- linux之用户管理
- Linux I/O 进阶
- Linux mii-tool命令
- centOS同步时间
- Linux ethtool命令
- 查看和修改MySql6.0数据库编码(Linux版本)
- Linux常用命令记录
- 双系统,win7重装后,找回linux
- linux 搭建hexo博客
- Linux中FTP常见命令及问题
- centos7 和centos6 服务操作命令对比