sbgisen / vesc

VESC Interface for ROS
Apache License 2.0
44 stars 33 forks source link

Catkin Error #27

Closed Rylan-Meilutis closed 3 years ago

Rylan-Meilutis commented 3 years ago

Hola again, ran it with catkin and got this error, I am struggling and would appreciate any help y'all can provide.

CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by "vesc_msgs" with
  any of the following names:

    vesc_msgsConfig.cmake
    vesc_msgs-config.cmake

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

-- Configuring incomplete, errors occurred!
See also "/home/chassis/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/chassis/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
chassis@chassis:~/catkin_ws$ CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
-bash: syntax error near unexpected token `('

    vesc_msgsConfig.cmake
    vesc_msgs-config.cmake

  Add the installation prefix of "vesc_msgs" to CMAKE_PREFIX_PATH or set
Rylan-Meilutis commented 3 years ago

The file structure was wrong

Rylan-Meilutis commented 3 years ago

when downloaded the stuff needs to be put into a folder called src then it can be built using catkin_make