autowarefoundation/autoware 'CMake Warning' issue
조회 수: 4 (최근 30일)
이전 댓글 표시
autowarefoundation/autoware 'CMake Warning' issue
--- stderr: polar_grid
CMake Warning (dev) at CMakeLists.txt:7 (find_package):
Ignoring EXACT since no version is requested.
This warning is for project developers. Use -Wno-dev to suppress it.
The above warning appears multiple times, how to solve this issue? Thank you so much for your help!
댓글 수: 0
답변 (1개)
Leepakshi
2025년 5월 2일
Hi Harvey,
The warning appears because the ‘find_package’ command in the ‘CMakeLists.txt’ file, uses the ‘EXACT’ keyword without specifying a version number.
To fix this, either remove ‘EXACT’ if you don’t need a specific version, or add the required version number. For example, use ‘find_package(some_package REQUIRED)’ or, if you need a certain version, ‘find_package(some_package 1.2.3 EXACT REQUIRED)’. To supress the warning, you can add ‘-Wno-dev’ to your CMake command line.
Hope this helps!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Generating Code에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!