Giter VIP home page Giter VIP logo

Comments (1)

zondafeng avatar zondafeng commented on May 28, 2024

之前只顾着看后面的“Makefile:198: recipe for target 'px4_sitl_default' failed'"了。应该再往上翻一下,上面会提示
CMake Error at CMakeLists.txt:42 (find_package):
By not providing “Findgazebo.cmake” in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by “gazebo”, but
CMake did not find one.

网上搜了一下,解决办法是执行“sudo apt-get install libgazebo7-dev”,但是这个会提示你没有这个软件包,后来仔细看了下,他这里是“libgazebo7-dev”,而我按照语雀教程安装的是“gazebo9”,所以我把里面的“7”换成了“9”,执行命令“sudo apt-get install libgazebo9-dev”就可以了,之后再执行“make px4_sitl_default gazebo”就可以编译了。但这里第一次编译的话,弹出gazebo窗口之后,软件会一直在初始化,建议关了软件,再执行一次“make px4_sitl_default gazebo”,就可以看到小飞机了。

from xtdrone.

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.