Code Monkey home page Code Monkey logo

Comments (4)

gaoxiang12 avatar gaoxiang12 commented on June 30, 2024

没链接opencv,是否改过cmakelist?

from slambook2.

weiwanhui avatar weiwanhui commented on June 30, 2024

没链接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.

weiwanhui avatar weiwanhui commented on June 30, 2024

没链接opencv,是否改过cmakelist?

我重新安装了一下,上次是opencv3.4.7,这次我换成了opencv3.4.6,然后编译过程没有再出现问题,并且程序也运行出来了。谢谢了。不过我有一点疑问就是,高博你的程序文件夹里面为啥每一层都会有一个cmakelists.txt文件?是把子文件夹都🔗起来的意思么?但实际上我每次运行,都会出问题,只能改子文件夹里的cmakelists,然后在子文件夹里面运行。

from slambook2.

gaoxiang12 avatar gaoxiang12 commented on June 30, 2024

cmake本身就可以嵌套,你可以在任何地方放cmakelist然后包括进来。
不过ch7只有一个cmakelist吧,你指的是怎么改子文件夹?

from slambook2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.