Comments (4)
没链接opencv,是否改过cmakelist?
from slambook2.
没链接opencv,是否改过cmakelist?
改过。在安装opencv之前,make OpenCV的时候,到8%左右的时候,出了错误,显示一个.hpp文件里eigen/core文件找不到,我就在opencv的build文件夹里面的cmakelists.txt里添加了Eigen3的库的路径。
然后才能够编译、安装好opencv。
还有就是,之前在设置opencv的依赖项的时候,有两个软件包,我电脑里的好像比需要安装的更新,且和其他的软件有联系,没办法进行环境配置,所以我就更改了下书中安装依赖项的命令。把libtiff4-dev改成了libtiff5-dev,把libvtk5-dev改成了libvtk7-dev。
不知道这个操作是不是影响了opencv的编译安装。
那我现在是需要删除build文件夹、卸载opencv和依赖项,重新配置、编译安装吗?
from slambook2.
没链接opencv,是否改过cmakelist?
我重新安装了一下,上次是opencv3.4.7,这次我换成了opencv3.4.6,然后编译过程没有再出现问题,并且程序也运行出来了。谢谢了。不过我有一点疑问就是,高博你的程序文件夹里面为啥每一层都会有一个cmakelists.txt文件?是把子文件夹都🔗起来的意思么?但实际上我每次运行,都会出问题,只能改子文件夹里的cmakelists,然后在子文件夹里面运行。
from slambook2.
cmake本身就可以嵌套,你可以在任何地方放cmakelist然后包括进来。
不过ch7只有一个cmakelist吧,你指的是怎么改子文件夹?
from slambook2.
Related Issues (20)
- ch9 BA_g2o 用新库无法通过编译
- CMakeFiles/test_triangulation.dir/test_triangulation.cpp.o: In function `Sophus::SO3Base<Sophus::SO3<double, 0> >::normalize() [clone .part.1600]': test_triangulation.cpp:(.text.unlikely+0x141): undefined reference to `fmt::print(fmt::BasicCStringRef<char>, fmt::ArgList)' test_triangulation.cpp:(.text.unlikely+0x15a): undefined reference to `fmt::print(fmt::BasicCStringRef<char>, fmt::ArgList)' HOT 1
- 请问Ubuntu版本有没有要求 HOT 2
- 我是小白,请问为什么我把这里的代码拷贝到虚拟机里以后,3rdparty的各个子目录都是空的啊? HOT 5
- [ch12] 在单目稠密估计的示例代码中,关于坐标转化的疑问 HOT 1
- Two questions on ceres BA in CH9
- ch4 make Sophus库的时候报错 HOT 3
- ch3 visualizeGeometry.cpp Display Issue HOT 1
- ch8 optical_flow.cpp bias, jacobian calculate issue HOT 1
- ch7 安装g2o 编译时报错 HOT 1
- Wrong Rodrigues’ formula
- ch5中opencv版本和书中代码项目要求版本不一致,代码无法运行
- ch3 / examples / plotTrajectory.cpp : vector subscript out of range
- ch7 pose_estimation_2d2d
- Why divide the camera intrinsics by 2? [ 为什么将相机内参除以 2] HOT 4
- CH12 点云建图 voxel filter报错
- 在使用VScode编译plotTrajectory.cpp时,出现报错 HOT 4
- ch3中执行./plotTrajectory报错 报错信息为: cannot find trajectory file at ./examples/trajectory.txt
- ch3 3.6.2实际的坐标变换例子 是否有错误
- Ch3 plotTrajectory Cmake can't find epoxy::epoxy build error HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slambook2.