본문 바로가기

평생공부/ROS-Gazebo

[ROS-Gazebo 101] Catkin_make를 다시 build/make 하기

 

 

ROS/Tutorials/CreatingPackage - ROS Wiki

Using roscreate Before we create a package, let's see how the roscreate-pkg command-line tool works. This creates a new ROS package. All ROS packages consist of the many similar files : manifests, CMakeLists.txt, mainpage.dox, and Makefiles. roscreate-pkg

wiki.ros.org

위의 튜토리얼에서 catkin workspace에 package를 만드는 과정에서

한 번 catkin_make를 한 이후에 다시 명령을 내리는 경우 아래와 같은 메시지를 받습니다.

여러 튜토리얼을 따라 하다 catkin_make를 반복하다 보면

The build space at '/home/jessicay/catkin_ws/build' was previously built by 'catkin build'. Please remove the build space or pick a different build space.

를 볼 수 있는데요.

 

다시 catkin_make를 하려면

catkin clean -y //catkin_workspace 비우기 (build파일, devel파일 삭제)
catkin_make //다시 build하기 - catkin_make 보다 catkin build가 troubleshooting에 용이

원본:

 

Error with catkin build with ds4_driver - ROS Answers: Open Source Q&A Forum

Error with catkin build with ds4_driver edit Can anyone please help me solve the following error I get when running catkin build? Error: Attempting to build a catkin workspace using build space: "/home/bdelspi/catkin_ws2/build" but that build space's most

answers.ros.org

 

'평생공부 > ROS-Gazebo' 카테고리의 다른 글

[ROS-Gazebo 101] ROS-Gazebo 101을 시작하며...  (0) 2021.03.23