micro-ROS / micro-ROS/micro_ros_setup
Problems with include path of libraries in microros
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Shell
- Star
- 509
- Fork
- 183
- Merge trung bình
- 22 giờ 26 phút
- Pull request đã merge (30 ngày)
- 7
Mô tả
## Issue template
- Hardware description: STM
- RTOS: freeRTOS
- Installation type: microros_setup
- Version or commit hash: iron
#### Steps to reproduce the issue
I have compiled Microros as a static lib and added it using the compile flags. I have also added the folder libmicroros/include as an include path. However, the code does not find any of the headers because the folders are organized in the following way:
library_name/library_name/header_file.h. That's because the includes are /library_name/headear_file.h. In other words, I am forced to add each folder path as an include path. Is there a way to make it simpler? In the previous version of Microros, the folder organization was /library_name/headear_file.h, and the new version's code still follows that standard.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng việc kiểm tra đầu ra của microros_setup tạo ra libmicroros/include và các cờ biên dịch được sử dụng cho thư viện tĩnh. Công việc được hoàn tất khi các header đã tạo có thể được include bằng một đường dẫn include duy nhất, không cần thêm riêng từng thư mục thư viện, đồng thời khớp với bố cục include được mã sử dụng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Lĩnh vực
- build-system, embedded-iot
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100