robotology-legacy / codyco-superbuild

Software repository for FP7 project CoDyCo - Whole-body Compliant Dynamical Contacts in Cognitive Humanoids - http://www.codyco.eu
13 stars 17 forks source link

codyco-isir repository added to the codyco-superbuild #17

Closed traversaro closed 9 years ago

traversaro commented 10 years ago

@mingxing-liu @rlober @darwinlau I have added the codyco-isir repository https://github.com/robotology-playground/codyco-isir to the codyco-superbuild. It should be downloaded by default, and you can disable compilation of software that depend on Eigen 3.2.0 setting to off the CODYCO_USES_EIGEN_320 cmake variable, as explained in the installation guide. Let me know if you are able to get the superbuild working. You have write access to both the codyco-superbuild and (obviously) to the codyco-isir repository, feel free to fix any issue or bugs that you find.

traversaro commented 10 years ago

@darwinlau apparently the Travis test (the test that we are using for continuous integration of the codyco-superbuild) are failing for the bug that we fixed on your machine ( https://travis-ci.org/robotology/codyco-superbuild/builds/30539325 ). Could you push your changes to the codyco-isir repository so we fix this problem? Thanks!

traversaro commented 10 years ago

@mingxing-liu @rlober @darwinlau I'll think I'll disable the CODYCO_BUILD_ISIR_MODULES variable by default, because the ISIR modules have dependencies that are not available for usual users, and so the build would fail by default, as it happens in the Travis tests ( https://travis-ci.org/robotology/codyco-superbuild/builds/30648772 ). It is still possible to enable the compilation of the codyco-isir modules by activating the CODYCO_BUILD_ISIR_MODULES with the ccmake command.

azadm commented 9 years ago

I haven't managed to install codyco-isir with codyco-superbuild:

Here is the error that I get:

-- checking for module 'eigen_lgsm'
--   package 'eigen_lgsm' not found
CMake Error at /Users/azadm/Documents/codyco-superbuild/build/install/share/YCM/cmake-next/Modules/FindPkgConfig.cmake:340 (message):
  A required package was not found
Call Stack (most recent call first):
  /Users/azadm/Documents/codyco-superbuild/build/install/share/YCM/cmake-next/Modules/FindPkgConfig.cmake:501 (_pkg_check_modules_internal)
  modules/ISIRWholeBodyController/CMakeLists.txt:23 (PKG_CHECK_MODULES)

-- Configuring incomplete, errors occurred!
See also "/Users/azadm/Documents/codyco-superbuild/build/main/codyco-isir/CMakeFiles/CMakeOutput.log".
make: *** [/Users/azadm/Documents/codyco-superbuild/build/main/codyco-isir/CMakeFiles/YCMStamp/Release/codyco-isir-configure] Error 1
Command /bin/sh failed with exit code 2

** BUILD FAILED **

The following build commands failed:
    PhaseScriptExecution CMake\ Rules build/codyco-superbuild.build/Release/codyco-isir.build/Script-AE8CC7E89F914AF48769B9D3.sh
(1 failure)

I turn on the flag CODYCO_BUILD_ISIR_MODULES while making codyco-superbuild project. Is it how it should be installed?

traversaro commented 9 years ago

cc @rlober

rlober commented 9 years ago

@azadm @traversaro

You will have to wait a day or two or four before you can build codyco-isir. We are working on getting the necessary source code for the lib dependencies on github. I still need to migrate codyco-isir to use this new build but this will take a couple of days. For now set the superbuild cmake options: build codyco-isir to NO and uses eigen 320 to YES.

I will let everyone know when the repo is ready and we will update codyco-superbuild accordingly.

I know this isn't the best of responses but bear with me for a couple of days and you will be able to experience the full glory of the codyco-isir controller!!!!!!