Giter Site home page Giter Site logo

Cannot Compile about swarm-formation HOT 2 CLOSED

zju-fast-lab avatar zju-fast-lab commented on May 21, 2024
Cannot Compile

from swarm-formation.

Comments (2)

SamuraiChamploo avatar SamuraiChamploo commented on May 21, 2024

You can run the below command before compile
sudo apt-get install ros-XXX-pcl-conversions
where XXX is the version of your ROS

from swarm-formation.

sushmithabhagya avatar sushmithabhagya commented on May 21, 2024

Thankyou for your response, the above error is now solved. But cannot compile though, below is the new error with the riviz package.

-- Could NOT find rviz (missing: rviz_DIR)
-- Could not find the required component 'rviz'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by "rviz" with any of
  the following names:

    rvizConfig.cmake
    rviz-config.cmake

  Add the installation prefix of "rviz" to CMAKE_PREFIX_PATH or set
  "rviz_DIR" to a directory containing one of the above files.  If "rviz"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  Utils/rviz_plugins/CMakeLists.txt:6 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/fruc_docker/catkin_ws/src/Swarm-Formation/build/CMakeFiles/CMakeOutput.log".
See also "/home/fruc_docker/catkin_ws/src/Swarm-Formation/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed

I tried with sudo apt-get install ros-noetic-rviz, but it says

Err:1 http://packages.ros.org/ros/ubuntu focal/main amd64 ros-noetic-rviz amd64 1.14.14-1focal.20220212.160156
  404  Not Found [IP: 64.50.233.100 80]
E: Failed to fetch http://packages.ros.org/ros/ubuntu/pool/main/r/ros-noetic-rviz/ros-noetic-rviz_1.14.14-1focal.20220212.160156_amd64.deb  404  Not Found [IP: 64.50.233.100 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Issue has been resolved, thankyou so much

from swarm-formation.

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.