ompl / omplapp

The Open Motion Planning Library (OMPL), GUI + FCL/Assimp integration
https://ompl.kavrakilab.org
Other
156 stars 80 forks source link

Document ccd dependency #12

Open Ryanf55 opened 2 months ago

Ryanf55 commented 2 months ago

ccd was not installed when I built ompl,but it's required for the app.

-- Checking for module 'ccd>=2.0'
--   No package 'ccd' found
CMake Error at /usr/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find ccd (missing: CCD_LIBRARIES CCD_INCLUDE_DIRS)
Call Stack (most recent call first):
  /usr/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  CMakeModules/Findccd.cmake:9 (find_package_handle_standard_args)
  CMakeLists.txt:131 (find_package)

Maybe we only need version 2.0?

mamoll commented 2 months ago

libccd is a dependency for FCL. We don't use libccd directly in omplapp. The top-level CMakeLists.txt should probably be updated to check for FCL before checking for libccd. FCL didn't used to have cmake config files, so we needed the libccd check to collect the right compile/link flags. We can actually probably remove the libccd references in the CMakeLists.txt altogether.

mamoll commented 2 months ago

PR my my alternative approach is here: https://github.com/ompl/omplapp/pull/13

This should also fix the issue you are seeing. Please confirm.