omplapp icon indicating copy to clipboard operation
omplapp copied to clipboard

Document ccd dependency

Open Ryanf55 opened this issue 1 year ago • 2 comments

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?

Ryanf55 avatar Sep 06 '24 03:09 Ryanf55

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 avatar Sep 06 '24 19:09 mamoll

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.

mamoll avatar Sep 08 '24 00:09 mamoll