Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 670

Can't creake a package on fuerte

$
0
0
I want to run this [example](http://wiki.ros.org/rviz/Tutorials/Markers%3A%20Basic%20Shapes). To do, I should create a package. But I can't create the package on ros-fuerte. There are two ways package build type named catkin and rosbuild. Which one I should? I tried both of them. My fuerte workspace is under home folder. Using catkin; fuerte_workspace$ catkin_create_pkg using_markers roscpp visualization_msgs Created file using_markers/CMakeLists.txt Created file using_markers/package.xml Created folder using_markers/include/using_markers Created folder using_markers/src Successfully created files in /home/user/fuerte_workspace/using_markers. Please adjust the values in package.xml. Next step is : You should be able to build the code with: $ cd %TOP_DIR_YOUR_CATKIN_WORKSPACE% $ catkin_make I don't have any catkin workspace(or I can't find it). So, I tried to create a workspace using this [guide].(http://wiki.ros.org/catkin/Tutorials/create_a_workspace). But `catkin_init_workspace` doesn't work. Error message is `fuerte_workspace$ catkin_init_workspace command not found` . How can I create a package on fuerte? **EDIT** I tried rosbuild+fuerte. The guide says that Before getting started, let's create a scratch package to called using_markers, somewhere in your package path: roscreate-pkg using_markers roscpp visualization_msgs I tried `roscreate-pkg using_markers roscpp visualization_msgs` command, and I got an error. Error mesaage is below : fuerte_workspace$ roscreate-pkg using_markers roscpp visualization_msgs Traceback (most recent call last): File "/opt/ros/fuerte/bin/roscreate-pkg", line 34, in import roscreate File "/opt/ros/fuerte/lib/python2.7/dist-packages/roscreate/__init__.py", line 36, in import roscreate.core File "/opt/ros/fuerte/lib/python2.7/dist-packages/roscreate/core.py", line 40, in import pkg_resources ImportError: No module named pkg_resources

Viewing all articles
Browse latest Browse all 670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>