When i want to create workspace it give me an error [closed]
Hi everyone!
I try to set up my workspace for ROS Lunar, but when i run the comand rosws set ~/fuerte_workspace/sandbox
it give me this error: ERROR in config: Command requires a target workspace.
I followed the steps in the tutorial on ROS.ORG site.
After that I tried Catkin
instead of rosbuild
.
The comands i entered are in this order:
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/
catkin_make
After this point i get the next error:
####
#### Running command: "cmake /home/ovidiu/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/ovidiu/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/ovidiu/catkin_ws/install -G Unix Makefiles" in "/home/ovidiu/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/ovidiu/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/lunar
-- This workspace overlays: /opt/ros/lunar
-- Using PYTHON_EXECUTABLE: /home/ovidiu/anaconda3/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/ovidiu/catkin_ws/build/test_results
-- Found gmock sources under '/usr/src/gmock': gmock will be built
-- Found gtest sources under '/usr/src/gmock': gtests will be built
-- Using Python nosetests: /home/ovidiu/anaconda3/bin/nosetests
CMake Error at /opt/ros/lunar/share/catkin/cmake/safe_execute_process.cmake:11 (message):
execute_process(/home/ovidiu/anaconda3/bin/python
"/opt/ros/lunar/share/catkin/cmake/parse_package_xml.py"
"/opt/ros/lunar/share/catkin/cmake/../package.xml"
"/home/ovidiu/catkin_ws/build/catkin/catkin_generated/version/package.cmake")
returned error code No such file or directory
Call Stack (most recent call first):
/opt/ros/lunar/share/catkin/cmake/catkin_package_xml.cmake:74 (safe_execute_process)
/opt/ros/lunar/share/catkin/cmake/all.cmake:163 (_catkin_package_xml)
/opt/ros/lunar/share/catkin/cmake/catkinConfig.cmake:20 (include)
CMakeLists.txt:52 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/ovidiu/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/ovidiu/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
I also want to mention that i had anaconda3 installed but I uninstalled it.
If someone could help me i would be grateful.
Thanks!
can you clarify why you call your workspace
fuerte_sandbox
in that case and try to userosws
? Since Groovy we typically use Catkin workspaces androsws
is rarely used.I followed the instruction on the link I mentioned. At point 3 i stuck. I will try with Catkin.
The
rosbuild
option is deprecated and only there for historical/archival reasons. The default is Catkin.please update your original question with the error. Comments are too small for that.
Include all commands that you enter that lead up to the error.
Use the
edit
button/link and append the new information to your current text.Do not post a new question.
Ok. I edited it.