dart: CMake Error in FindBullet
If you’re not reporting a bug, please use the forum to ask questions.
Bug Report
Please answer the following questions for yourself before reporting a bug.
- I checked the documentation and the forum but found no answer.
- I checked to make sure that this issue has not already been filed.
Environment
Select the following information.
- DART version: master and 6.9.2
- OS name and version name(or number): Arch
- Compiler name and version number: GCC 9
Expected Behavior
CMake config succeeds
Current Behavior
Findings in gazebosim source code:
find_package(DART ${GAZEBO_DART_MIN_REQUIRED_VERSION} REQUIRED CONFIG)
- No custom
FindDART.cmake
However, the find_package(DART)
results in the following error:
CMake Error at catkin_ws/install/share/dart/cmake/DARTFindBullet.cmake:15 (if):
if given arguments:
"WIN32" "AND" "optimized" "IN_LIST" "BULLET_LIBRARIES" "AND" "debug" "IN_LIST" "BULLET_LIBRARIES"
Unknown arguments specified
Call Stack (most recent call first):
catkin_ws/install/share/dart/cmake/dart_collision-bulletComponent.cmake:6 (include)
catkin_ws/install/share/dart/cmake/DARTConfig.cmake:63 (include)
catkin_ws/install/share/dart/cmake/DARTConfig.cmake:123 (dart_traverse_components)
catkin_ws/install/share/dart/cmake/DARTConfig.cmake:171 (dart_package_init)
cmake/SearchForStuff.cmake:165 (find_package)
CMakeLists.txt:147 (include)
This happens for master, NOT 6.9.2 (in AUR). The change is clearly introduced in 6b023c2994294d6eb1b95e2242e39ba7e9f02427.
Steps to Reproduce
Steps for reproducing the issue. 0. Install DART
- Clone Gazebo (head) and compile
- Failure!!!
I’m sorry I can’t create a smaller CMakeLists.txt only Min Rep Example
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 1
- Comments: 24 (19 by maintainers)
I believe this issue should be resolved by #1434. Please reopen if the problem is still persistent.