fcl icon indicating copy to clipboard operation
fcl copied to clipboard

CMake 3.16.4 configure error

Open Mikez2015 opened this issue 5 years ago • 3 comments

Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.17763.
Set RPATH explicitly to 'C:/Program Files (x86)/fcl/lib'
CMake Error at C:/1/libccd-master/ccd-config.cmake:11 (message):
  File or directory C://include referenced by variable CCD_INCLUDE_DIRS does
  not exist !
Call Stack (most recent call first):
  C:/1/libccd-master/ccd-config.cmake:24 (set_and_check)
  CMakeLists.txt:165 (find_package)


Configuring incomplete, errors occurred!
See also "C:/1/fcl-master/CMakeFiles/CMakeOutput.log".

Mikez2015 avatar Feb 17 '20 07:02 Mikez2015

That seems to be a malformed PATH present in the ccd-config.cmake configuration file installed by ccd rather then a problem in the fcl build system. How did you installed ccd ?

traversaro avatar Feb 17 '20 08:02 traversaro

That seems to be a malformed PATH present in the ccd-config.cmake configuration file installed by ccd rather then a problem in the fcl build system. How did you installed ccd ?

ccd I installed also with CMake 3.16.4, but did not get any errors.

Mikez2015 avatar Feb 17 '20 08:02 Mikez2015

That seems to be a malformed PATH present in the ccd-config.cmake configuration file installed by ccd rather then a problem in the fcl build system. How did you installed ccd ?

ccd I installed also with CMake 3.16.4, but did not get any errors.

Unfortunately CMake by defaults does not validate the filepaths used in installed exported targets, so it is perfectly possible that those are corrupted but duriing the installation you do not get any error.

However, it is not clear from your message how you installed ccd, i.e. from which version, with which commands, how do you make fcl find ccd (defining ccd_DIR, CMAKE_PREFIX_PATH, etc etc). In particular, from https://github.com/danfis/libccd/blob/63d3a911f016465a2ecf169d0c8bff8b601f1715/CMakeLists.txt#L64 it seems that the ccd-config.cmake should be installed in <prefix>/lib/ccd, but from your message it seems that it is found in C:/1/libccd-master/ccd-config.cmake , and it is not clear how that file was placed there.

traversaro avatar Feb 17 '20 08:02 traversaro