
그래서 이 ROS를 사용할 수 있도록 WSL 우분투 앱을 사용해보려고 했는데, 제가 뭘 잘못하고 있었는지 정확히 이해가 되지 않습니다. 나는 다음 명령줄을 사용하려고 했습니다.
$ catkin_make
하지만 그런 다음에는 일종의 중요한 오류가 있다고 말할 것입니다. 신의 사랑으로 인해 해결 방법에 대해 조금이라도 알 수 없습니다.
Base path: /home/thickmelon/catkin_ws
Source space: /home/thickmelon/catkin_ws/src
Build space: /home/thickmelon/catkin_ws/build
Devel space: /home/thickmelon/catkin_ws/devel
Install space: /home/thickmelon/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/thickmelon/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/thickmelon/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/melodic
-- This workspace overlays: /opt/ros/melodic
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.6.8", minimum required is "2")
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/thickmelon/catkin_ws/build/test_results
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Found PythonInterp: /usr/bin/python3 (found version "3.6.8")
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
ImportError: "from catkin_pkg.package import parse_package" failed: No module named 'catkin_pkg'
Make sure that you have installed "catkin_pkg", it is up to date and on the PYTHONPATH.
CMake Error at /opt/ros/melodic/share/catkin/cmake/safe_execute_process.cmake:11 (message):
execute_process(/usr/bin/python3
"/opt/ros/melodic/share/catkin/cmake/parse_package_xml.py"
"/opt/ros/melodic/share/catkin/cmake/../package.xml"
"/home/thickmelon/catkin_ws/build/catkin/catkin_generated/version/package.cmake")
returned error code 1
Call Stack (most recent call first):
/opt/ros/melodic/share/catkin/cmake/catkin_package_xml.cmake:74 (safe_execute_process)
/opt/ros/melodic/share/catkin/cmake/all.cmake:167 (_catkin_package_xml)
/opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:20 (include)
CMakeLists.txt:56 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/thickmelon/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/thickmelon/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:320: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
다음 명령줄을 입력합니다.
$ cd ~/catkin_ws/src
다음과 같은 결과가 나옵니다.
bash: cd: /root/catkin_ws/src: No such file or directory
내 컴퓨터의 어떤 폴더에서도 소위 "디렉토리"라는 디렉터리를 찾을 수 없었는데, 이는 나에게 너무나 당혹스러웠습니다.
다른 것을 설치해야 합니까? 아니면 프롬프트가 계속해서 언급되는 이 디렉터리에 src라는 새 폴더를 만들어야 합니까?