Open
Description
Hi, while trying to set up / build the dartpy on the computational cluster in my own work folder with no root privileges or alike. Here is the issue:
Building my own conda environment first:
module load miniconda
conda create -n mydartpyenv
conda activate mydartpyenv
module load cmake
conda install -c omnia eigen3
conda install -c conda-forge libccd fcl assimp urdfdom openscenegraph pybind11
Then building the dartpy:
git clone git://github.com/dartsim/dart.git
cd dart
git checkout tags/v6.9.0
mkdir build
cd build
cmake .. -DDART_BUILD_DARTPY=ON -DCMAKE_INSTALL_PREFIX=$WRKDIR/dartpy -DCMAKE_BUILD_TYPE=Release
make -j4 dartpy
make install
that should work in theory, but in practice the last cmake gets stuck with the missing fcl package while it is there.
(mydartpyenv) [build]$ cmake .. -DDART_BUILD_DARTPY=ON -DCMAKE_INSTALL_PREFIX=$WRKDIR/dartpy -DCMAKE_BUILD_TYPE=Release
...
CMake Error at /share/apps/spack/envs/fgci-centos7-generic/software/cmake/3.15.3/qvh6hn6/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find fcl (missing: FCL_INCLUDE_DIRS FCL_LIBRARIES) (Required is
at least version "0.3.2")
Call Stack (most recent call first):
/share/apps/spack/envs/fgci-centos7-generic/software/cmake/3.15.3/qvh6hn6/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
cmake/Findfcl.cmake:60 (find_package_handle_standard_args)
cmake/DARTFindfcl.cmake:9 (find_package)
cmake/DARTMacros.cmake:81 (include)
cmake/DARTFindDependencies.cmake:21 (dart_find_package)
CMakeLists.txt:148 (include)
setting both vars manually did not help:
export FCL_LIBRARIES=$HOME/.conda/envs/mydartpyenv/lib
export FCL_INCLUDE_DIRS=$HOME/.conda/envs/mydartpyenv/include/fcl
Could be something easy to fix with the DARTFindfcl.cmake or Findfcl.cmake, or is it?
3BEA
No one assignedNo typeNo projectsNo milestoneNone yetNo branches or pull requests