이전에 catkin을 사용하던 노트북에서 새 경로로 catkin init 을 실행하니 아래와 같은 에러가 떴다.
catkin [source] space does not yet exist
예전에도 학생들 교육해주다가 마주쳐서 아주 곤란했던 적이 있는데,
찾다보면 옵션을 써서 catkin config를 바꾸라고 한다.
ex> https://stackoverflow.com/questions/48055218/catkin-workspace-is-not-on-the-current-folder
ex> https://catkin-tools.readthedocs.io/en/latest/verbs/catkin_init.html
나에겐 아무짝에 쓸모없었다.
그냥 ~에서 ls -a를 하면 숨겨진 .catkin_tools 파일이 있는데, 이 파일이 catkin 설정 파일?이니 지워주도록 하자.
1. cd ~
2. sudo rm .catkin_tools
그리고 다시 catkin_ws(또는 워크스페이스)에 들어가서 catkin init -> catkin build를 하면 된다.
3. cd catkin_ws
4. catkin init
'OS > Linux (Ubuntu)' 카테고리의 다른 글
[Ubuntu 20.04] 우분투 repository 제거, 삭제 (feat. 스티커 메모) (0) | 2022.06.16 |
---|---|
[install error] E: The package zoom needs to be reinstalled, but I can't find an archive for it. (0) | 2022.06.04 |
[Ubuntu] 우분투 .bashrc 초기화 및 복구 (.bashrc 삭제했을때) (0) | 2021.08.03 |
[Ubuntu 18.04] 기본 터미널 변경하기 (0) | 2021.07.27 |
[멀티부팅] Windows10 에 Ubuntu 18.04 설치, 듀얼부팅 (0) | 2021.07.17 |