8000 setting up dartpy with conda environment · Issue #1525 · dartsim/dart · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
setting up dartpy with conda environment #1525
Open
@dgtim

Description

@dgtim

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugIndicates an unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0