Giter Site home page Giter Site logo

Comments (3)

FDwuyun avatar FDwuyun commented on June 27, 2024

在slambook2/3rdparty/Sophus的CMakeLists.txt中加入下面的命令:
set(CMAKE_CXX_FLAGS "-Wno-error=deprecated-copy")
我是加在第14行,可以屏蔽报错。

这个编译错误涉及到 C++ 中的“拷贝构造函数已弃用”(deprecated-copy)警告。在新的 C++ 版本中,编译器会发出此类警告,提示使用了已弃用的拷贝构造函数。

from slambook2.

FDwuyun avatar FDwuyun commented on June 27, 2024

set(CMAKE_CXX_FLAGS "-Wno-error=deprecated-copy -Wno-deprecated-copy")
又加了一个,这次连警告都可以屏蔽掉。

from slambook2.

FDwuyun avatar FDwuyun commented on June 27, 2024

这样就可以成功执行了
mkdir build && cd build
cmake .. && make
我试了下,这个库不像第三章那个Pangolin需要sudo make install
如此,再去编译构建ch4就可以成功了。

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.