![]() ![]() # * If MSG_DEP_SET isn't empty the following dependencies might have been # * add a build_depend and a run_depend tag for each package in MSG_DEP_SET # * Let MSG_DEP_SET be the set of packages whose message types you use in # To declare and build messages, services or actions from within this # Declare ROS messages, services and actions # # modules and global scripts declared therein get installed # Uncomment this if the package has a setup.py. # find_package(Boost REQUIRED COMPONENTS system) # System dependencies are found with CMake's conventions # is used, also find other catkin packages # if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz) On my ROS Ubuntu setup I can build the package successfully (with regular catkin_make though).ĬMakeLists.txt: cmake_minimum_required(VERSION 2.8.3) cd /home/px4/ros_catkin_ws/build_isolated/package_name & /opt/ros/indigo/env.sh cmake /home/px4/ros_catkin_ws/src/package_name -DCATKIN_DEVEL_PREFIX=/home/px4/ros_catkin_ws/devel_isolated/package_name -DCMAKE_INSTALL_PREFIX=/opt/ros/indigo -DCMAKE_BUILD_TYPE=Release -G Unix Makefiles Configuring incomplete, errors occurred! Unknown CMake command "catkin_python_setup". ![]() This worked nicely, until I added a setup.py to my package and the catkin_python_setup() routine in CMakeLists.txt, now I get this error: CMake Error at CMakeLists.txt:21 (catkin_python_setup): src/catkin/bin/catkin_make_isolated -install -DCMAKE_BUILD_TYPE=Release -install-space /opt/ros/indigo -pkg package_name To build the package I use the following command inside the catkin workspace: sudo. ROS was installed from source, more or less according to the following guide: I'm trying to build a ROS python package on an Intel Edison with Ubilinux. ![]()
0 Comments
Leave a Reply. |