Closed traversaro closed 2 months ago
build
directory, cd inside it and configure the project with cmake -GNinja -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX ../
ccmake ../
set to ON
the options ROBOTOLOGY_ENABLE_DYNAMICS
, ROBOTOLOGY_ENABLE_DYNAMICS_FUL
and ROBOTOLOGY_USES_GZ
and to OFF
ROBOTOLOGY_USES_GAZEBO
ninja
Then I had the necessity to use a different fork for bipedal-locomotion-framework
and walking-controllers
, so I cd into the corresponding repo sources (inside src
directory of the superbuild), added the remote I needed and checkout to the needed commit.
Now, returning in the build
directory if I run ninja
again I got ninja: no work to do.
and it didn't recompile.
The only way I found to force the recompilation is cd inside the <rob-sub-root>/build/src/repository-to-recompile
and do ninja
and ninja install
there.
Here's also the build.ninja
content:
build.ninja.txt
Were you able to reproduce this by following the reported step?
Were you able to reproduce this by following the reported step?
I just cloned the superbuild and created a new conda environment from scratch, then i followed the steps above and reproduced it.
Great, can you provide me the exact commands you used to produce the conda environment? https://github.com/robotology/robotology-superbuild?tab=readme-ov-file#linux-macos-or-windows-from-source-with-dependencies-provided-by-conda-forge contains a lot of commands depending on the options enabled.
Great, can you provide me the exact commands you used to produce the conda environment? https://github.com/robotology/robotology-superbuild?tab=readme-ov-file#linux-macos-or-windows-from-source-with-dependencies-provided-by-conda-forge contains a lot of commands depending on the options enabled.
Sure, here it is:
conda create -n debug_robsub
conda activate debug_robsub
conda install -c conda-forge ace asio assimp boost cli11 eigen freetype glew glfw glm graphviz gsl ipopt irrlicht libjpeg-turbo libmatio libode libxml2 nlohmann_json qhull "pcl>=1.11.1" "libopencv>=4.10.0" opencv portaudio qt-main sdl sdl2 sqlite tinyxml tinyxml2 spdlog lua soxr qhull cmake compilers make ninja pkg-config tomlplusplus libzlib "ffmpeg==6.*" onnxruntime-cpp bash-completion freeglut libdc1394 libi2c libselinux-cos7-x86_64 xorg-libxau libxcb xorg-libxdamage xorg-libxext xorg-libxfixes xorg-libxxf86vm xorg-libxrandr mesa-libgl-cos7-x86_64 mesa-libgl-devel-cos7-x86_64 libxshmfence-cos7-x86_64 libxshmfence-devel-cos7-x86_64 gz-sim8
I reproduced and fixed the issue in https://github.com/robotology/ycm-cmake-modules/pull/462 . To be honest, I have no idea how this ever worked at all.
@xela-95 can you test after https://github.com/robotology/ycm-cmake-modules/pull/462 ? Thanks!
Fixed by https://github.com/robotology/ycm-cmake-modules/pull/462 (according to my tests), please re-open if that is not the case.
This is something that happened once with @LoreMoretti , but we were not able to reproduce.