Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. error while adding catkin package
QtWS25 Last Chance

error while adding catkin package

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
3 Posts 2 Posters 1.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Developer01
    wrote on last edited by SGaist
    #1

    I'm trying to develope a desktop application using qt quick and catking for a ros based robot controller which will be cross plateform latter. My problem is when i add this line:

    find_package(catking REQUIRED)
    

    inside the cmakelists.txt file it shows error inside the qt ide:

    /home/dinesh/ros_controller/CMakeLists.txt:28: error: By not providing "Findcatkin.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "catkin", but CMake did not find one. Could not find a package configuration file provided by "catkin" with any of the following names: catkinConfig.cmake catkin-config.cmake Add the installation prefix of "catkin" to CMAKE_PREFIX_PATH or set "catkin_DIR" to a directory containing one of the above files.  If "catkin" provides a separate development package or SDK, be sure it has been installed.
    

    But when i run the build command from the terminal it shows no error: i.e when i run the command

    cmake --build . --target all
    

    it succesfully builds without any error.
    Here what i have done till now is added the catking in find package command inside the cmakelistst.txt file.
    added extra package.xml file outside the build directory of the qt project so that ros packages i.e catking can be used. and the app also runs from the terminal as i checked.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Where is the findcatkin.cmake script located ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • D Offline
        D Offline
        Developer01
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved