Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- 오늘도 우라라
- mysql
- 우분투
- JungOl
- 오늘도 우라라 펫 공략
- mariaDB
- 반복문
- 등차수열
- while
- MSG
- ubuntu
- 마리아 DB
- 그랑사가
- install opencv-4.4.0 on ubuntu 22.04
- 토픽
- C언어
- publish
- Linux
- ros
- LeetCode
- 데이터 베이스
- 기초
- topic
- 프로그래밍
- C++
- 오늘도 우라라 공략
- Subscribe
- 리눅스
- 오늘도 우라라 펫
- 환경설정
Archives
- Today
- Total
하루의 쉼터
[VisualCode] #include errors detected. Please update your includePath. Squiggles are disabled for this translation unit 본문
프로그래밍/ROS
[VisualCode] #include errors detected. Please update your includePath. Squiggles are disabled for this translation unit
Changun An 2023. 4. 6. 14:06반응형
Ros1,2를 개발하는 경우 VisualCode를 이용하여 ssh접속으로 개발하는 경우가 발생한다.
이때 아래와 같은 오류가 뜨는데
오류 내용은 아래와 같다.
#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit
cannot open source file "rclcpp/rclcpp.hpp"C/C++(1696)
내용을 읽어보면 소스 파일을 열 수 없다는 소리인데 즉, 헤더파일이 어딨는지 모른다는 것이다.
* ctrl+shift+p 입력 후 C/C++ Configurations를 입력
위 증상을 해결 하기 위해서 C/C++ Configurations 설정을 열어보면 아래와 같이 나올텐데
여기에 ros에서 사용되는 include 파일을 넣어주면 된다.
* 그냥 엔터 치고 기입하면된다.
필자는 foxy환경에서 사용하였으므로 아래와 같이 기입하여줬다.
${workspaceFolder}/../**
/opt/ros/foxy/include/**
설정 후 확인해보면 정상적으로 작동할 것이다.
반응형
'프로그래밍 > ROS' 카테고리의 다른 글
[Windows] ubuntu20.04 설치 에러 0x800701bc (2) | 2023.04.06 |
---|---|
[ROS] CMakeList.txt 파일에 관하여 (1) | 2022.02.15 |
[ROS] 노드 종료 rosnode kill (0) | 2021.11.01 |
[ROS] 패키지 단위 컴파일 (0) | 2021.05.03 |
[ERROR] invalid message type: (0) | 2021.03.08 |
Comments