robotology / yarp

YARP - Yet Another Robot Platform
http://www.yarp.it
Other
521 stars 195 forks source link

conda-forge based robotology-superbuild is not running icub simulator #3087

Closed 16239014 closed 6 months ago

16239014 commented 6 months ago

I am facing error while configuring icub simulator:

(robsub) sohail@sohail-Lenovo-V14-G3-IAP:~/tutorial_joint-interface$ cmake -S . -B build CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

CMake Error at CMakeLists.txt:8 (find_package): By not providing "FindYARP.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "YARP", but CMake did not find one.

Could not find a package configuration file provided by "YARP" (requested version 3.5.1) with any of the following names:

YARPConfig.cmake
yarp-config.cmake

Add the installation prefix of "YARP" to CMAKE_PREFIX_PATH or set "YARP_DIR" to a directory containing one of the above files. If "YARP" provides a separate development package or SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred!

traversaro commented 6 months ago

Hello @16239014 , can you please describe how you installed the robotology-superbuild? Did you remember to source the setup.sh of the superbuild before running the tutorial?

16239014 commented 6 months ago

Hello @16239014 , can you please describe how you installed the robotology-superbuild? Did you remember to source the setup.sh of the superbuild before running the tutorial?

I am unable to understand your question but i installed the robotology-superbuild with conda on ubuntu. https://github.com/robotology/robotology-superbuild/blob/master/doc/conda-forge.md

Yes i did source the setup.sh then i run yarpserver after that i run a tutorial. https://icub-tech-iit.github.io/documentation/sw_installation/check_your_installation/

traversaro commented 6 months ago

Can you report the output of the env command in the terminal where you are running cmake?

16239014 commented 6 months ago

Can you report the output of the env command in the terminal where you are running cmake?

(robsub) sohail@sohail-Lenovo-V14-G3-IAP:~/tutorial_joint-interface$ yarpserver --write

 ==========================
| __  __ ___  ____   ____  |
| \ \/ //   ||  _ \ |  _ \ |
|  \  // /| || |/ / | |/ / |
|  / // ___ ||  _ \ |  _/  |
| /_//_/  |_||_| \_\|_|    |
|                          |
 ==========================

Call with --help for information on available options Using port database: :memory: Using subscription database: :memory: IP address: default Port number: 10000 Overriding non-local address for name server [INFO] |yarp.os.Port|/root| Port /root active at tcp://192.168.100.26:10000/ Registering name server with itself

configuring is done! robsub) sohail@sohail-Lenovo-V14-G3-IAP:~/tutorial_joint-interface$ cmake -S . -B build CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- Found YCM: /home/sohail/robotology-superbuild/build/install/share/cmake/YCM (found version "0.16.2.3-20240214.3+gitadccba6") -- Found YARP: /home/sohail/robotology-superbuild/build/install/lib/cmake/YARP (found version "3.9.0+7-20240123.1+gitee0524166") -- Found YARP: /home/sohail/robotology-superbuild/build/install/lib/cmake/YARP (found version "3.9.0+7-20240123.1+gitee0524166") -- Libraries are placed in /home/sohail/tutorial_joint-interface/build/lib -- Executables are placed in /home/sohail/tutorial_joint-interface/build/bin CMake Warning at /home/sohail/robotology-superbuild/build/install/share/ICUBcontrib/cmake/ICUBcontribHelpers.cmake:16 (message): Installation prefix is different from the ICUBcontrib one, which is /home/sohail/robotology-superbuild/build/install. Call Stack (most recent call first): CMakeLists.txt:19 (icubcontrib_set_default_prefix)

-- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /home/sohail/tutorial_joint-interface/build

here output for cmake build

(robsub) sohail@sohail-Lenovo-V14-G3-IAP:~/tutorial_joint-interface$ cmake --build build --target install [ 16%] Building CXX object CMakeFiles/tutorial_joint-interface-position.dir/src/position.cpp.o [ 33%] Linking CXX executable bin/tutorial_joint-interface-position [ 33%] Built target tutorial_joint-interface-position [ 50%] Building CXX object CMakeFiles/tutorial_joint-interface-positiondirect.dir/src/positiondirect.cpp.o [ 66%] Linking CXX executable bin/tutorial_joint-interface-positiondirect [ 66%] Built target tutorial_joint-interface-positiondirect [ 83%] Building CXX object CMakeFiles/tutorial_joint-interface-velocity.dir/src/velocity.cpp.o [100%] Linking CXX executable bin/tutorial_joint-interface-velocity [100%] Built target tutorial_joint-interface-velocity Install the project... -- Install configuration: "Release" -- Installing: /usr/local/bin/tutorial_joint-interface-position CMake Error at cmake_install.cmake:52 (file): file INSTALL cannot copy file "/home/sohail/tutorial_joint-interface/build/bin/tutorial_joint-interface-position" to "/usr/local/bin/tutorial_joint-interface-position": Permission denied.

make: *** [Makefile:100: install] Error 1

16239014 commented 6 months ago

Can you report the output of the env command in the terminal where you are running cmake?

(robsub) sohail@sohail-Lenovo-V14-G3-IAP:~/tutorial_joint-interface$ env SHELL=/bin/bash DEBUG_FFLAGS=-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/sohail/anaconda3/envs/robsub/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-all -fno-plt -Og -g -Wall -Wextra -fcheck=all -fbacktrace -fimplicit-none -fvar-tracking-assignments -ffunction-sections -pipe SESSION_MANAGER=local/sohail-Lenovo-V14-G3-IAP:@/tmp/.ICE-unix/2135,unix/sohail-Lenovo-V14-G3-IAP:/tmp/.ICE-unix/2135 GAZEBO_MASTER_URI=http://localhost:11345 QT_ACCESSIBILITY=1 COLORTERM=truecolor GCC_RANLIB=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-gcc-ranlib XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg XDG_MENU_PREFIX=gnome- GNOME_DESKTOP_SESSION_ID=this-is-deprecated CONDA_EXE=/home/sohail/anaconda3/bin/conda _CE_M= ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX=/home/sohail/robotology-superbuild/build/install build_alias=x86_64-conda-linux-gnu CMAKE_ARGS=-DCMAKE_AR=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-ar -DCMAKE_CXX_COMPILER_AR=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-gcc-ar -DCMAKE_C_COMPILER_AR=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-gcc-ar -DCMAKE_RANLIB=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-ranlib -DCMAKE_CXX_COMPILER_RANLIB=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-gcc-ranlib -DCMAKE_C_COMPILER_RANLIB=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-gcc-ranlib -DCMAKE_LINKER=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-ld -DCMAKE_STRIP=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-strip -DCMAKE_BUILD_TYPE=Release GPROF=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-gprof CONDA_TOOLCHAIN_BUILD=x86_64-conda-linux-gnu GNOME_SHELL_SESSION_MODE=ubuntu _CONDA_PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_x86_64_conda_cos6_linux_gnu SSH_AUTH_SOCK=/run/user/1000/keyring/ssh STRINGS=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-strings CPP=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-cpp XMODIFIERS=@im=ibus DESKTOP_SESSION=ubuntu SSH_AGENT_PID=2087 ROS_PACKAGE_PATH=/home/sohail/robotology-superbuild/build/install/share XML_CATALOG_FILES=file:///home/sohail/anaconda3/envs/robsub/etc/xml/catalog file:///etc/xml/catalog FFLAGS=-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/sohail/anaconda3/envs/robsub/include GTK_MODULES=gail:atk-bridge PWD=/home/sohail/tutorial_joint-interface GSETTINGS_SCHEMA_DIR=/home/sohail/anaconda3/envs/robsub/share/glib-2.0/schemas LOGNAME=sohail XDG_SESSION_DESKTOP=ubuntu XDG_SESSION_TYPE=x11 CONDA_PREFIX=/home/sohail/anaconda3/envs/robsub GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GSETTINGS_SCHEMA_DIR_CONDA_BACKUP= CXX=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-c++ CXXFLAGS=-fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/sohail/anaconda3/envs/robsub/include XAUTHORITY=/run/user/1000/gdm/Xauthority CONDA_TOOLCHAIN_HOST=x86_64-conda-linux-gnu DEBUG_CXXFLAGS=-fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-all -fno-plt -Og -g -Wall -Wextra -fvar-tracking-assignments -ffunction-sections -pipe -isystem /home/sohail/anaconda3/envs/robsub/include GJS_DEBUG_TOPICS=JS ERROR;JS LOG WINDOWPATH=2 LDFLAGS=-Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,--allow-shlib-undefined -Wl,-rpath,/home/sohail/anaconda3/envs/robsub/lib -Wl,-rpath-link,/home/sohail/anaconda3/envs/robsub/lib -L/home/sohail/anaconda3/envs/robsub/lib HOME=/home/sohail USERNAME=sohail IM_CONFIG_PHASE=1 GAZEBO_PLUGIN_PATH=/home/sohail/anaconda3/envs/robsub/lib/gazebo-11/plugins::/home/sohail/robotology-superbuild/build/install/lib LANG=en_US.UTF-8 MESON_ARGS=--buildtype release GAZEBO_MODEL_DATABASE_URI=http://models.gazebosim.org DEBUG_CFLAGS=-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-all -fno-plt -Og -g -Wall -Wextra -fvar-tracking-assignments -ffunction-sections -pipe -isystem /home/sohail/anaconda3/envs/robsub/include XDG_CURRENT_DESKTOP=ubuntu:GNOME VTE_VERSION=6003 CXX_FOR_BUILD=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-c++ ELFEDIT=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-elfedit CONDA_PROMPT_MODIFIER=(robsub) AMENT_PREFIX_PATH=/home/sohail/robotology-superbuild/build/install CMAKE_PREFIX_PATH=/home/sohail/anaconda3/envs/robsub:/home/sohail/anaconda3/envs/robsub/x86_64-conda-linux-gnu/sysroot/usr:/home/sohail/robotology-superbuild/build/install GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/22794167_3301_4258_bef2_3424ba248d90 CPPFLAGS=-DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/sohail/anaconda3/envs/robsub/include CPL_ZIP_ENCODING=UTF-8 GAZEBO_RESOURCE_PATH=/home/sohail/anaconda3/envs/robsub/share/gazebo-11::/home/sohail/robotology-superbuild/build/install/share/gazebo/worlds LD=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-ld INVOCATION_ID=40615cb8cd02422eac67e2561bfefe19 MANAGERPID=1900 READELF=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-readelf GXX=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-g++ GJS_DEBUG_OUTPUT=stderr FC_FOR_BUILD=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-gfortran ROBOTOLOGY_SUPERBUILD_SOURCE_DIR=/home/sohail/robotology-superbuild GCC_AR=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-gcc-ar GEM_HOME=/home/sohail/anaconda3/envs/robsub/share/rubygems/ ADDR2LINE=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-addr2line XDG_SESSION_CLASS=user TERM=xterm-256color _CE_CONDA= GCC_NM=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-gcc-nm SIZE=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-size F77=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-gfortran HOST=x86_64-conda-linux-gnu CC_FOR_BUILD=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-cc USER=sohail GNOME_TERMINAL_SERVICE=:1.179 CONDA_SHLVL=2 AR=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-ar AS=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-as DEBUG_CPPFLAGS=-D_DEBUG -D_FORTIFY_SOURCE=2 -Og -isystem /home/sohail/anaconda3/envs/robsub/include F95=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-f95 F90=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-gfortran host_alias=x86_64-conda-linux-gnu DISPLAY=:0 SHLVL=1 NM=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-nm GCC=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-gcc GDAL_DRIVER_PATH=/home/sohail/anaconda3/envs/robsub/lib/gdalplugins DEBUG_FORTRANFLAGS=-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/sohail/anaconda3/envs/robsub/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-all -fno-plt -Og -g -Wall -Wextra -fcheck=all -fbacktrace -fimplicit-none -fvar-tracking-assignments -ffunction-sections -pipe FORTRANFLAGS=-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/sohail/anaconda3/envs/robsub/include QT_IM_MODULE=ibus BLOCKFACTORY_PLUGIN_PATH=/home/sohail/robotology-superbuild/build/install/lib/blockfactory PROJ_DATA=/home/sohail/anaconda3/envs/robsub/share/proj LD_GOLD=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-ld.gold CONDA_PYTHON_EXE=/home/sohail/anaconda3/bin/python LD_LIBRARY_PATH=:/home/sohail/anaconda3/envs/robsub/lib/gazebo-11/plugins::/home/sohail/robotology-superbuild/build/install/lib XDG_RUNTIME_DIR=/run/user/1000 GFORTRAN=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-gfortran CONDA_DEFAULT_ENV=robsub OBJCOPY=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-objcopy FC=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-gfortran STRIP=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-strip GAZEBO_MODEL_PATH=/home/sohail/anaconda3/envs/robsub/share/gazebo-11/models::/home/sohail/robotology-superbuild/build/install/share/gazebo/models:/home/sohail/robotology-superbuild/build/install/share/iCub/robots:/home/sohail/robotology-superbuild/build/install/share:/home/sohail/robotology-superbuild/build/install/share/ergoCub/robots JOURNAL_STREAM=8:54616 XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop:/home/sohail/robotology-superbuild/build/install/share YARP_DATA_DIRS=/home/sohail/robotology-superbuild/build/install/share/yarp:/home/sohail/robotology-superbuild/build/install/share/iCub:/home/sohail/robotology-superbuild/build/install/share/ICUBcontrib:/home/sohail/robotology-superbuild/build/install/share/ergoCub GDAL_DATA=/home/sohail/anaconda3/envs/robsub/share/gdal OBJDUMP=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-objdump PATH=/home/sohail/anaconda3/envs/robsub/share/rubygems/bin:/home/sohail/anaconda3/envs/robsub/bin:/home/sohail/anaconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/sohail/robotology-superbuild/build/install/bin CC=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-cc GDMSESSION=ubuntu CFLAGS=-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/sohail/anaconda3/envs/robsub/include CXXFILT=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-c++filt DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus BUILD=x86_64-conda-linux-gnu CONDA_PREFIX_1=/home/sohail/anaconda3 RANLIB=/home/sohail/anaconda3/envs/robsub/bin/x86_64-conda-linux-gnu-ranlib CONDA_BUILD_SYSROOT=/home/sohail/anaconda3/envs/robsub/x86_64-conda-linux-gnu/sysroot PROJ_NETWORK=ON OGRE_RESOURCEPATH=/home/sohail/anaconda3/envs/robsub/lib/OGRE OLDPWD=/home/sohail =/usr/bin/env

traversaro commented 6 months ago

Can you try on a clean build? I guess something is going wrong in the install prefix set by the icubcontrib package. Alternatively, you can just set yourself a CMAKE_INSTALL_PREFIX different from /usr/local .

16239014 commented 6 months ago

Can you try on a clean build? I guess something is going wrong in the install prefix set by the icubcontrib package. Alternatively, you can just set yourself a CMAKE_INSTALL_PREFIX different from /usr/local .

yes i have tried clean build. how to do this ???(you can just set yourself a CMAKE_INSTALL_PREFIX different from /usr/local)

traversaro commented 6 months ago

how to do this ???(you can just set yourself a CMAKE_INSTALL_PREFIX different from /usr/local)

Just pass -DCMAKE_INSTALL_PREFIX=/home/sohail/robotology-superbuild/build/install to the cmake -S . -B build command.

16239014 commented 6 months ago

-DCMAKE_INSTALL_PREFIX=/home/sohail/robotology-superbuild/build/install

(robsub) sohail@sohail-Lenovo-V14-G3-IAP:~/tutorial_joint-interface$ -DCMAKE_INSTALL_PREFIX=/home/sohail/robotology-superbuild/build/install bash: -DCMAKE_INSTALL_PREFIX=/home/sohail/robotology-superbuild/build/install: No such file or directory

traversaro commented 6 months ago

-DCMAKE_INSTALL_PREFIX=/home/sohail/robotology-superbuild/build/install is an option, not a command on its own. You need to call:

cmake -S . -B build -DCMAKE_INSTALL_PREFIX=/home/sohail/robotology-superbuild/build/install
16239014 commented 6 months ago

yes it worked. Thanks!

16239014 commented 6 months ago

-DCMAKE_INSTALL_PREFIX=/home/sohail/robotology-superbuild/build/install is an option, not a command on its own. You need to call:

cmake -S . -B build -DCMAKE_INSTALL_PREFIX=/home/sohail/robotology-superbuild/build/install

so whenever i want to run any project i must have run this command first??

16239014 commented 6 months ago

i am installing again that example and error occur at installation

(robsub) sohail@sohail-Lenovo-V14-G3-IAP:~/tutorial_joint-interface$ cmake -S . -B build -DCMAKE_INSTALL_PREFIX=/home/sohail/robotology-superbuild/build/install CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- The C compiler identification is GNU 9.4.0 -- The CXX compiler identification is GNU 9.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found YCM: /home/sohail/robotology-superbuild/build/install/share/cmake/YCM (found version "0.16.2.3-20240214.3+gitadccba6") -- Found YARP: /home/sohail/robotology-superbuild/build/install/lib/cmake/YARP (found version "3.9.0+7-20240123.1+gitee0524166") -- Found YARP: /home/sohail/robotology-superbuild/build/install/lib/cmake/YARP (found version "3.9.0+7-20240123.1+gitee0524166") -- Libraries are placed in /home/sohail/tutorial_joint-interface/build/lib -- Executables are placed in /home/sohail/tutorial_joint-interface/build/bin -- Configuring done (0.7s) -- Generating done (0.0s) -- Build files have been written to: /home/sohail/tutorial_joint-interface/build

after that when i enter:cmake --build build --target install

collect2: error: ld returned 1 exit status make[2]: [CMakeFiles/tutorial_joint-interface-position.dir/build.make:102: bin/tutorial_joint-interface-position] Error 1 make[1]: [CMakeFiles/Makefile2:105: CMakeFiles/tutorial_joint-interface-position.dir/all] Error 2 make: *** [Makefile:136: all] Error 2 (robsub) sohail@sohail-Lenovo-V14-G3-IAP:~/tutorial_joint-interface$

when i reinstall the [](https://icub-tech-iit.github.io/documentation/sw_installation/check_your_installation/#check-yarp) again there are errors

traversaro commented 6 months ago

Please provide the complete error log, not just the last lines.

16239014 commented 6 months ago

Please provide the complete error log, not just the last lines.

(robsub) sohail@sohail-Lenovo-V14-G3-IAP:~/tutorial_joint-interface$ cmake --build build --target install [ 16%] Linking CXX executable bin/tutorial_joint-interface-position /home/sohail/anaconda3/envs/robsub/bin/ld: warning: libz.so.1, needed by /home/sohail/robotology-superbuild/build/install/lib/libYARP_dev.so.3.9.0, not found (try using -rpath or -rpath-link) /home/sohail/anaconda3/envs/robsub/bin/ld: warning: libACE.so.7.1.3, needed by /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0, not found (try using -rpath or -rpath-link) /home/sohail/anaconda3/envs/robsub/bin/ld: warning: libedit.so.0, needed by /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0, not found (try using -rpath or -rpath-link) /home/sohail/anaconda3/envs/robsub/bin/ld: warning: libjpeg.so.8, needed by /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0, not found (try using -rpath or -rpath-link) /home/sohail/anaconda3/envs/robsub/bin/ld: warning: libsoxr.so.0, needed by /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0, not found (try using -rpath or -rpath-link) /home/sohail/anaconda3/envs/robsub/bin/ld: warning: libpng16.so.16, needed by /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0, not found (try using -rpath or -rpath-link) /home/sohail/anaconda3/envs/robsub/bin/ld: warning: libavcodec.so.60, needed by /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0, not found (try using -rpath or -rpath-link) /home/sohail/anaconda3/envs/robsub/bin/ld: warning: libavutil.so.58, needed by /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0, not found (try using -rpath or -rpath-link) /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to av_frame_make_writable@LIBAVUTIL_58' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference toavcodec_send_frame@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_create_read_struct@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_DLL::close()' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_INET_Addr::get_ip_address() const' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference tovtable for ACE_Time_Value' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to av_frame_get_buffer@LIBAVUTIL_58' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference tojpeg_std_error@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_DLL::~ACE_DLL()' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_dev.so.3.9.0: undefined reference tocompress' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to avcodec_free_context@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_Stack_Trace::c_str() const' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to av_get_sample_fmt_name@LIBAVUTIL_58' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference topng_write_image@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_SOCK_Acceptor::ACE_SOCK_Acceptor()' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference toavcodec_alloc_context3@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE::send_n_i(int, void const*, unsigned long, ACE_Time_Value const*, unsigned long*)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_SOCK::close()' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to jpeg_read_header@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_dev.so.3.9.0: undefined reference touncompress' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to jpeg_set_defaults@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference topng_set_gray_to_rgb@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to jpeg_start_compress@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_Addr::sap_any' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_INET_Addr::get_host_addr() const' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference toav_packet_alloc@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_SOCK_Dgram::open(ACE_Addr const&, int, int, int, int)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_INET_Addr::set(unsigned short, char const, int, int)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to avcodec_find_decoder@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference topng_create_write_struct@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to jpeg_set_quality@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference tojpeg_stdio_dest@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_get_color_type@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference tojpeg_finish_compress@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to jpeg_CreateDecompress@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_INET_Addr::ACE_INET_Addr(unsigned short, char const, int)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_SOCK_Dgram_Mcast::join(ACE_INET_Addr const&, int, char const*)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference tojpeg_finish_decompress@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE::recv(int, void*, unsigned long, ACE_Time_Value const*)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference toav_frame_alloc@LIBAVUTIL_58' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to jpeg_CreateCompress@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference toavcodec_open2@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_OS::strsncpy(char*, char const*, unsigned long)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_SOCK::ACE_SOCK()' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to avcodec_receive_packet@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_SOCK::get_local_addr(ACE_Addr&) const' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_write_info@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_DLL::symbol(char const, int)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_set_palette_to_rgb@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_dev.so.3.9.0: undefined reference tocompressBound@ZLIB_1.2.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_destroy_read_struct@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference topng_read_update_info@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to `ACE::send_n_i(int, void const, unsigned long, unsigned long)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to avcodec_find_encoder@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference toav_parser_init@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to `ACE_SOCK_Dgram_Mcast::open(ACE_INET_Addr const&, char const, int)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_Stack_Trace::ACE_Stack_Trace(long, unsigned long)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toreadline' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_INET_Addr::~ACE_INET_Addr()' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference topng_get_rowbytes@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to av_packet_unref@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_SOCK_Acceptor::accept(ACE_SOCK_Stream&, ACE_Addr, ACE_Time_Value, bool, bool) const' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_get_bit_depth@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_SOCK_Connector::connect(ACE_SOCK_Stream&, ACE_Addr const&, ACE_Time_Value const, ACE_Addr const&, int, int, int, int)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to `ACE::recv_n_i(int, void, unsigned long, ACE_Time_Value const, unsigned long)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to av_parser_close@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference topng_set_IHDR@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_INET_Addr::get_addr() const' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE::recv_n_i(int, void, unsigned long, unsigned long)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_destroy_write_struct@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference topng_set_expand_gray_1_2_4_to_8@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to jpeg_read_scanlines@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_DLL::open(char const, int, bool)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_get_valid@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference topng_set_longjmp_fn@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_create_info_struct@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_INET_Addr::ACE_INET_Addr()' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to std::condition_variable::wait(std::unique_lock<std::mutex>&)@GLIBCXX_3.4.30' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toadd_history' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_get_image_width@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_INET_Addr::ACE_INET_Addr(unsigned short, unsigned int)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE::fini()' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference topng_get_image_height@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to `ACE_INET_Addr::get_host_addr(char, int) const' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to jpeg_start_decompress@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_SOCK_Acceptor::close()' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_SOCK_Acceptor::open(ACE_Addr const&, int, int, int, int, int)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference topng_set_tRNS_to_alpha@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to av_frame_free@LIBAVUTIL_58' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference tojpeg_destroy_compress@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_dev.so.3.9.0: undefined reference to std::__throw_bad_array_new_length()@GLIBCXX_3.4.29' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference toavcodec_receive_frame@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to av_packet_free@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference topng_set_strip_16@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_SOCK_Stream::close()' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference toavcodec_send_packet@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE::init()' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference toav_get_channel_layout_nb_channels@LIBAVUTIL_58' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_OS::uname(utsname*)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference tosoxr_oneshot' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to jpeg_destroy_decompress@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference tojpeg_stdio_src@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_write_end@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE::get_ip_interfaces(unsigned long&, ACE_INET_Addr*&)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_read_info@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference toav_get_bytes_per_sample@LIBAVUTIL_58' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_read_image@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference topng_set_filler@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_INET_Addr::operator=(ACE_INET_Addr const&)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_SOCK::get_remote_addr(ACE_Addr&) const' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_SOCK_Dgram_Mcast::ACE_SOCK_Dgram_Mcast(ACE_SOCK_Dgram_Mcast::options)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference tojpeg_write_scanlines@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/anaconda3/envs/robsub/bin/../x86_64-conda-linux-gnu/sysroot/lib64/libpthread.so.0: undefined reference to __libc_dl_error_tsd@GLIBC_PRIVATE' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_DLL::ACE_DLL(bool)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_init_io@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_DLL::error() const' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to `av_parser_parse2@LIBAVCODEC_60' collect2: error: ld returned 1 exit status make[2]: [CMakeFiles/tutorial_joint-interface-position.dir/build.make:102: bin/tutorial_joint-interface-position] Error 1 make[1]: [CMakeFiles/Makefile2:105: CMakeFiles/tutorial_joint-interface-position.dir/all] Error 2 make: *** [Makefile:136: all] Error 2

16239014 commented 6 months ago

Please provide the complete error log, not just the last lines. full error log is (robsub) sohail@sohail-Lenovo-V14-G3-IAP:~/tutorial_joint-interface$ cmake --build build --target install [ 16%] Linking CXX executable bin/tutorial_joint-interface-position /home/sohail/anaconda3/envs/robsub/bin/ld: warning: libz.so.1, needed by /home/sohail/robotology-superbuild/build/install/lib/libYARP_dev.so.3.9.0, not found (try using -rpath or -rpath-link) /home/sohail/anaconda3/envs/robsub/bin/ld: warning: libACE.so.7.1.3, needed by /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0, not found (try using -rpath or -rpath-link) /home/sohail/anaconda3/envs/robsub/bin/ld: warning: libedit.so.0, needed by /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0, not found (try using -rpath or -rpath-link) /home/sohail/anaconda3/envs/robsub/bin/ld: warning: libjpeg.so.8, needed by /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0, not found (try using -rpath or -rpath-link) /home/sohail/anaconda3/envs/robsub/bin/ld: warning: libsoxr.so.0, needed by /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0, not found (try using -rpath or -rpath-link) /home/sohail/anaconda3/envs/robsub/bin/ld: warning: libpng16.so.16, needed by /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0, not found (try using -rpath or -rpath-link) /home/sohail/anaconda3/envs/robsub/bin/ld: warning: libavcodec.so.60, needed by /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0, not found (try using -rpath or -rpath-link) /home/sohail/anaconda3/envs/robsub/bin/ld: warning: libavutil.so.58, needed by /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0, not found (try using -rpath or -rpath-link) /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to av_frame_make_writable@LIBAVUTIL_58' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference toavcodec_send_frame@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_create_read_struct@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_DLL::close()' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_INET_Addr::get_ip_address() const' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference tovtable for ACE_Time_Value' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to av_frame_get_buffer@LIBAVUTIL_58' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference tojpeg_std_error@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_DLL::~ACE_DLL()' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_dev.so.3.9.0: undefined reference tocompress' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to avcodec_free_context@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_Stack_Trace::c_str() const' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to av_get_sample_fmt_name@LIBAVUTIL_58' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference topng_write_image@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_SOCK_Acceptor::ACE_SOCK_Acceptor()' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference toavcodec_alloc_context3@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE::send_n_i(int, void const*, unsigned long, ACE_Time_Value const*, unsigned long*)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_SOCK::close()' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to jpeg_read_header@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_dev.so.3.9.0: undefined reference touncompress' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to jpeg_set_defaults@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference topng_set_gray_to_rgb@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to jpeg_start_compress@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_Addr::sap_any' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_INET_Addr::get_host_addr() const' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference toav_packet_alloc@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_SOCK_Dgram::open(ACE_Addr const&, int, int, int, int)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_INET_Addr::set(unsigned short, char const, int, int)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to avcodec_find_decoder@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference topng_create_write_struct@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to jpeg_set_quality@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference tojpeg_stdio_dest@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_get_color_type@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference tojpeg_finish_compress@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to jpeg_CreateDecompress@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_INET_Addr::ACE_INET_Addr(unsigned short, char const, int)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_SOCK_Dgram_Mcast::join(ACE_INET_Addr const&, int, char const*)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference tojpeg_finish_decompress@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE::recv(int, void*, unsigned long, ACE_Time_Value const*)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference toav_frame_alloc@LIBAVUTIL_58' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to jpeg_CreateCompress@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference toavcodec_open2@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_OS::strsncpy(char*, char const*, unsigned long)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_SOCK::ACE_SOCK()' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to avcodec_receive_packet@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_SOCK::get_local_addr(ACE_Addr&) const' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_write_info@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_DLL::symbol(char const, int)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_set_palette_to_rgb@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_dev.so.3.9.0: undefined reference tocompressBound@ZLIB_1.2.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_destroy_read_struct@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference topng_read_update_info@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to `ACE::send_n_i(int, void const, unsigned long, unsigned long)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to avcodec_find_encoder@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference toav_parser_init@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to `ACE_SOCK_Dgram_Mcast::open(ACE_INET_Addr const&, char const, int)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_Stack_Trace::ACE_Stack_Trace(long, unsigned long)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toreadline' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_INET_Addr::~ACE_INET_Addr()' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference topng_get_rowbytes@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to av_packet_unref@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_SOCK_Acceptor::accept(ACE_SOCK_Stream&, ACE_Addr, ACE_Time_Value, bool, bool) const' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_get_bit_depth@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_SOCK_Connector::connect(ACE_SOCK_Stream&, ACE_Addr const&, ACE_Time_Value const, ACE_Addr const&, int, int, int, int)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to `ACE::recv_n_i(int, void, unsigned long, ACE_Time_Value const, unsigned long)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to av_parser_close@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference topng_set_IHDR@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_INET_Addr::get_addr() const' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE::recv_n_i(int, void, unsigned long, unsigned long)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_destroy_write_struct@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference topng_set_expand_gray_1_2_4_to_8@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to jpeg_read_scanlines@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_DLL::open(char const, int, bool)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_get_valid@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference topng_set_longjmp_fn@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_create_info_struct@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_INET_Addr::ACE_INET_Addr()' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to std::condition_variable::wait(std::unique_lock<std::mutex>&)@GLIBCXX_3.4.30' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toadd_history' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_get_image_width@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_INET_Addr::ACE_INET_Addr(unsigned short, unsigned int)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE::fini()' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference topng_get_image_height@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to `ACE_INET_Addr::get_host_addr(char, int) const' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to jpeg_start_decompress@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_SOCK_Acceptor::close()' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_SOCK_Acceptor::open(ACE_Addr const&, int, int, int, int, int)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference topng_set_tRNS_to_alpha@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to av_frame_free@LIBAVUTIL_58' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference tojpeg_destroy_compress@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_dev.so.3.9.0: undefined reference to std::__throw_bad_array_new_length()@GLIBCXX_3.4.29' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference toavcodec_receive_frame@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to av_packet_free@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference topng_set_strip_16@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_SOCK_Stream::close()' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference toavcodec_send_packet@LIBAVCODEC_60' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE::init()' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference toav_get_channel_layout_nb_channels@LIBAVUTIL_58' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_OS::uname(utsname*)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference tosoxr_oneshot' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to jpeg_destroy_decompress@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference tojpeg_stdio_src@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_write_end@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE::get_ip_interfaces(unsigned long&, ACE_INET_Addr*&)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_read_info@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference toav_get_bytes_per_sample@LIBAVUTIL_58' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_read_image@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference topng_set_filler@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_INET_Addr::operator=(ACE_INET_Addr const&)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_SOCK::get_remote_addr(ACE_Addr&) const' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference to ACE_SOCK_Dgram_Mcast::ACE_SOCK_Dgram_Mcast(ACE_SOCK_Dgram_Mcast::options)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference tojpeg_write_scanlines@LIBJPEG_8.0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/anaconda3/envs/robsub/bin/../x86_64-conda-linux-gnu/sysroot/lib64/libpthread.so.0: undefined reference to __libc_dl_error_tsd@GLIBC_PRIVATE' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_DLL::ACE_DLL(bool)' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to png_init_io@PNG16_0' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_os.so.3.9.0: undefined reference toACE_DLL::error() const' /home/sohail/anaconda3/envs/robsub/bin/ld: /home/sohail/robotology-superbuild/build/install/lib/libYARP_sig.so.3.9.0: undefined reference to `av_parser_parse2@LIBAVCODEC_60' collect2: error: ld returned 1 exit status make[2]: [CMakeFiles/tutorial_joint-interface-position.dir/build.make:102: bin/tutorial_joint-interface-position] Error 1 make[1]: [CMakeFiles/Makefile2:105: CMakeFiles/tutorial_joint-interface-position.dir/all] Error 2 make: *** [Makefile:136: all] Error 2

traversaro commented 6 months ago
(robsub) sohail@sohail-Lenovo-V14-G3-IAP:~/tutorial_joint-interface$ cmake --build build --target install
[ 16%] Linking CXX executable bin/tutorial_joint-interface-position
/home/sohail/anaconda3/envs/robsub/bin/ld: warning: libz.so.1, needed by /home/sohail/robotology-superbuild/build/install/lib/libYARP_dev.so.3.9.0, not found (try using -rpath or -rpath-link)

This error is quite strange, it is like the libraries required by YARP are not anymore there. Can you report the output of mamba list?

16239014 commented 6 months ago
(robsub) sohail@sohail-Lenovo-V14-G3-IAP:~/tutorial_joint-interface$ cmake --build build --target install
[ 16%] Linking CXX executable bin/tutorial_joint-interface-position
/home/sohail/anaconda3/envs/robsub/bin/ld: warning: libz.so.1, needed by /home/sohail/robotology-superbuild/build/install/lib/libYARP_dev.so.3.9.0, not found (try using -rpath or -rpath-link)

This error is quite strange, it is like the libraries required by YARP are not anymore there. Can you report the output of mamba list?

(robsub) sohail@sohail-Lenovo-V14-G3-IAP:~/tutorial_joint-interface$ conda list

packages in environment at /home/sohail/anaconda3/envs/robsub:

#

Name Version Build Channel

_libgcc_mutex 0.1 conda_forge conda-forge _openmp_mutex 4.5 2_gnu conda-forge _sysroot_linux-64_curr_repodata_hack 3 h69a702a_14 conda-forge ace 7.1.3 h59595ed_2 conda-forge aiohttp 3.9.3 py312h98912ed_0 conda-forge aiosignal 1.3.1 pyhd8ed1ab_0 conda-forge alsa-lib 1.2.10 hd590300_0 conda-forge ampl-mp 3.1.0 h2cc385e_1006 conda-forge aom 3.7.1 h59595ed_0 conda-forge asio 1.29.0 h59595ed_0 conda-forge assimp 5.3.1 hfb0e8fe_2 conda-forge asttokens 2.4.1 pyhd8ed1ab_0 conda-forge atk-1.0 2.38.0 hd4edc92_1 conda-forge attr 2.5.1 h166bdaf_1 conda-forge attrs 23.2.0 pyh71513ae_0 conda-forge azure-core-cpp 1.10.3 h91d86a7_1 conda-forge azure-storage-blobs-cpp 12.10.0 h00ab1b0_0 conda-forge azure-storage-common-cpp 12.5.0 hb858b4b_2 conda-forge bash-completion 2.11 ha770c72_1 conda-forge binutils 2.40 hdd6e379_0 conda-forge binutils_impl_linux-64 2.40 hf600244_0 conda-forge binutils_linux-64 2.40 hbdbef99_2 conda-forge blosc 1.21.5 h0f2a231_0 conda-forge boost 1.82.0 h8da182e_6 conda-forge boost-cpp 1.82.0 h44aadfe_6 conda-forge brotli 1.1.0 hd590300_1 conda-forge brotli-bin 1.1.0 hd590300_1 conda-forge bullet-cpp 3.25 hfb8ada1_2 conda-forge bzip2 1.0.8 hd590300_5 conda-forge c-ares 1.26.0 hd590300_0 conda-forge c-compiler 1.7.0 hd590300_0 conda-forge ca-certificates 2024.2.2 hbcca054_0 conda-forge cached-property 1.5.2 hd8ed1ab_1 conda-forge cached_property 1.5.2 pyha770c72_1 conda-forge cairo 1.18.0 h3faef2a_0 conda-forge certifi 2024.2.2 pyhd8ed1ab_0 conda-forge cfitsio 4.3.0 hbdc6101_0 conda-forge cmake 3.28.3 hcfe8598_0 conda-forge compilers 1.7.0 ha770c72_0 conda-forge console_bridge 1.0.2 h924138e_1 conda-forge contourpy 1.2.0 py312h8572e83_0 conda-forge cppzmq 4.10.0 h2e2a08d_1 conda-forge cxx-compiler 1.7.0 h00ab1b0_0 conda-forge cycler 0.12.1 pyhd8ed1ab_0 conda-forge dartsim 6.13.1 h7abe67e_0 conda-forge dav1d 1.2.1 hd590300_0 conda-forge dbus 1.13.6 h5008d03_3 conda-forge decorator 5.1.1 pyhd8ed1ab_0 conda-forge double-conversion 3.3.0 h59595ed_0 conda-forge eigen 3.4.0 h00ab1b0_0 conda-forge exceptiongroup 1.2.0 pyhd8ed1ab_2 conda-forge executing 2.0.1 pyhd8ed1ab_0 conda-forge expat 2.5.0 hcb278e6_1 conda-forge expat-cos7-x86_64 2.1.0 h9b0a68f_1105 conda-forge fcl 0.7.0 hadc09e8_4 conda-forge ffmpeg 6.1.1 gpl_h186bccc_100 conda-forge flann 1.9.2 h2b5ea80_0 conda-forge fmt 10.2.1 h00ab1b0_0 conda-forge font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge font-ttf-inconsolata 3.000 h77eed37_0 conda-forge font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge font-ttf-ubuntu 0.83 h77eed37_1 conda-forge fontconfig 2.14.2 h14ed4e7_0 conda-forge fonts-conda-ecosystem 1 0 conda-forge fonts-conda-forge 1 0 conda-forge fonttools 4.49.0 py312h98912ed_0 conda-forge fortran-compiler 1.7.0 heb67821_0 conda-forge freeglut 3.2.2 hac7e632_2 conda-forge freeimage 3.18.0 h7ff9cae_18 conda-forge freetype 2.12.1 h267a509_2 conda-forge freexl 2.0.0 h743c826_0 conda-forge fribidi 1.0.10 h36c2ea0_0 conda-forge frozenlist 1.4.1 py312h98912ed_0 conda-forge gazebo 11.14.0 h4154485_3 conda-forge gcc 12.3.0 h8d2909c_2 conda-forge gcc_impl_linux-64 12.3.0 he2b93b0_5 conda-forge gcc_linux-64 12.3.0 h76fc315_2 conda-forge gdbm 1.18 h0a1914f_2 conda-forge gdk-pixbuf 2.42.10 h829c605_4 conda-forge geos 3.12.0 h59595ed_0 conda-forge geotiff 1.7.1 hf074850_14 conda-forge gettext 0.21.1 h27087fc_0 conda-forge gfortran 12.3.0 h499e0f7_2 conda-forge gfortran_impl_linux-64 12.3.0 hfcedea8_5 conda-forge gfortran_linux-64 12.3.0 h7fe76b4_2 conda-forge giflib 5.2.1 h0b41bf4_3 conda-forge gl2ps 1.4.2 h0708190_0 conda-forge glew 2.1.0 h9c3ff4c_2 conda-forge glfw 3.3.9 hd590300_0 conda-forge glib 2.78.1 hfc55251_0 conda-forge glib-networking 2.78.0 h8eaaec1_0 conda-forge glib-tools 2.78.1 hfc55251_0 conda-forge glm 0.9.9.8 h00ab1b0_0 conda-forge gmp 6.3.0 h59595ed_0 conda-forge gnutls 3.7.9 hb077bed_0 conda-forge graphite2 1.3.13 h58526e2_1001 conda-forge graphviz 8.1.0 h28d9a01_0 conda-forge gsl 2.7 he838d99_0 conda-forge gst-plugins-bad 1.22.6 h06bf7ac_0 conda-forge gst-plugins-base 1.22.7 h8e1006c_0 conda-forge gst-plugins-good 1.22.7 h16e77d8_0 conda-forge gstreamer 1.22.7 h98fc4e7_0 conda-forge gtk2 2.24.33 h90689f9_2 conda-forge gts 0.7.6 h977cf35_4 conda-forge gxx 12.3.0 h8d2909c_2 conda-forge gxx_impl_linux-64 12.3.0 he2b93b0_5 conda-forge gxx_linux-64 12.3.0 h8a814eb_2 conda-forge h5py 3.10.0 nompi_py312h1b477d7_101 conda-forge harfbuzz 8.3.0 h3d44ed6_0 conda-forge hdf4 4.2.15 h2a13503_7 conda-forge hdf5 1.14.3 nompi_h4f84152_100 conda-forge icu 73.2 h59595ed_0 conda-forge idna 3.6 pyhd8ed1ab_0 conda-forge imath 3.1.9 hfc55251_0 conda-forge ipopt 3.14.14 h04b96a2_1 conda-forge ipython 8.21.0 pyh707e725_0 conda-forge irrlicht 1.8.5 h2a6caf8_4 conda-forge jack 1.9.22 h7c63dc7_2 conda-forge jasper 4.2.1 he6dfbbe_0 conda-forge jedi 0.19.1 pyhd8ed1ab_0 conda-forge json-c 0.17 h7ab15ed_0 conda-forge jsoncpp 1.9.5 h4bd325d_1 conda-forge jxrlib 1.1 hd590300_3 conda-forge kealib 1.5.3 h2f55d51_0 conda-forge kernel-headers_linux-64 3.10.0 h57e8cba_10
keyutils 1.6.1 h166bdaf_0 conda-forge kiwisolver 1.4.5 py312h8572e83_1 conda-forge krb5 1.21.2 h659d440_0 conda-forge lame 3.100 h166bdaf_1003 conda-forge lcms2 2.16 hb7c19ff_0 conda-forge ld_impl_linux-64 2.40 h41732ed_0 conda-forge lerc 4.0.0 h27087fc_0 conda-forge libabseil 20230802.1 cxx17_h59595ed_0 conda-forge libaec 1.1.2 h59595ed_1 conda-forge libarchive 3.7.2 h2aa1ff5_1 conda-forge libass 0.17.1 h8fe9dca_1 conda-forge libblas 3.9.0 21_linux64_openblas conda-forge libboost 1.82.0 h6fcfa73_6 conda-forge libboost-devel 1.82.0 h00ab1b0_6 conda-forge libboost-headers 1.82.0 ha770c72_6 conda-forge libboost-python 1.82.0 py312hfb10629_6 conda-forge libboost-python-devel 1.82.0 py312h8da182e_6 conda-forge libbrotlicommon 1.1.0 hd590300_1 conda-forge libbrotlidec 1.1.0 hd590300_1 conda-forge libbrotlienc 1.1.0 hd590300_1 conda-forge libcap 2.69 h0f662aa_0 conda-forge libcblas 3.9.0 21_linux64_openblas conda-forge libccd-double 2.1 h59595ed_3 conda-forge libclang 15.0.7 default_hb11cfb5_4 conda-forge libclang13 15.0.7 default_ha2b6cf4_4 conda-forge libcrc32c 1.1.2 h9c3ff4c_0 conda-forge libcups 2.3.3 h4637d8d_4 conda-forge libcurl 8.5.0 hca28451_0 conda-forge libdb 6.2.32 h9c3ff4c_0 conda-forge libdc1394 2.2.7 h59595ed_1 conda-forge libdeflate 1.19 hd590300_0 conda-forge libdrm 2.4.120 hd590300_0 conda-forge libdrm-cos7-x86_64 2.4.97 h9b0a68f_1105 conda-forge libedit 3.1.20191231 he28a2e2_2 conda-forge libev 4.33 hd590300_2 conda-forge libevent 2.1.12 hf998b51_1 conda-forge libexpat 2.5.0 hcb278e6_1 conda-forge libffi 3.4.2 h7f98852_5 conda-forge libflac 1.4.3 h59595ed_0 conda-forge libgcc-devel_linux-64 12.3.0 h8bca6fd_105 conda-forge libgcc-ng 13.2.0 h807b86a_5 conda-forge libgcrypt 1.10.3 hd590300_0 conda-forge libgd 2.3.3 h119a65a_9 conda-forge libgdal 3.8.0 h0a992f2_2 conda-forge libgfortran-ng 13.2.0 h69a702a_5 conda-forge libgfortran5 13.2.0 ha4646dd_5 conda-forge libglib 2.78.1 hebfc3b9_0 conda-forge libglu 9.0.0 hac7e632_1003 conda-forge libglvnd-cos7-x86_64 1.0.1 h9b0a68f_1105 conda-forge libglvnd-glx-cos7-x86_64 1.0.1 h9b0a68f_1105 conda-forge libgomp 13.2.0 h807b86a_5 conda-forge libgoogle-cloud 2.12.0 h5206363_4 conda-forge libgpg-error 1.47 h71f35ed_0 conda-forge libgrpc 1.59.3 hd6c4280_0 conda-forge libhwloc 2.9.3 default_h554bfaf_1009 conda-forge libi2c 4.3 hcb278e6_2 conda-forge libiconv 1.17 hd590300_2 conda-forge libidn2 2.3.7 hd590300_0 conda-forge libignition-cmake2 2.16.0 hcb278e6_1 conda-forge libignition-common3 3.15.1 h1f55927_2 conda-forge libignition-fuel-tools4 4.6.0 h5a9a538_5 conda-forge libignition-math6 6.15.1 py312h365505f_1 conda-forge libignition-msgs5 5.11.0 h9d4af1c_4 conda-forge libignition-tools1 1.5.0 h1caa08d_3 conda-forge libignition-transport8 8.4.0 h1412f4e_7 conda-forge libjpeg-turbo 3.0.0 hd590300_1 conda-forge libkml 1.3.0 h01aab08_1018 conda-forge liblapack 3.9.0 21_linux64_openblas conda-forge liblapacke 3.9.0 21_linux64_openblas conda-forge libllvm15 15.0.7 hb3ce162_4 conda-forge libmatio 1.5.26 h31675a7_0 conda-forge libnetcdf 4.9.2 nompi_h9612171_113 conda-forge libnghttp2 1.58.0 h47da74e_1 conda-forge libnsl 2.0.1 hd590300_0 conda-forge libode 0.16.2 h30efb56_12 conda-forge libogg 1.3.4 h7f98852_1 conda-forge libopenblas 0.3.26 pthreads_h413a1c8_0 conda-forge libopencv 4.8.1 py312hed1d938_5 conda-forge libopenvino 2023.1.0 h59595ed_2 conda-forge libopenvino-auto-batch-plugin 2023.1.0 h59595ed_2 conda-forge libopenvino-auto-plugin 2023.1.0 h59595ed_2 conda-forge libopenvino-hetero-plugin 2023.1.0 h59595ed_2 conda-forge libopenvino-intel-cpu-plugin 2023.1.0 h59595ed_2 conda-forge libopenvino-intel-gpu-plugin 2023.1.0 h59595ed_2 conda-forge libopenvino-ir-frontend 2023.1.0 h59595ed_2 conda-forge libopenvino-onnx-frontend 2023.1.0 h59595ed_2 conda-forge libopenvino-paddle-frontend 2023.1.0 h59595ed_2 conda-forge libopenvino-pytorch-frontend 2023.1.0 h59595ed_2 conda-forge libopenvino-tensorflow-frontend 2023.1.0 h59595ed_2 conda-forge libopenvino-tensorflow-lite-frontend 2023.1.0 h59595ed_2 conda-forge libopus 1.3.1 h7f98852_1 conda-forge libpciaccess 0.18 hd590300_0 conda-forge libpng 1.6.42 h2797004_0 conda-forge libpq 16.2 h33b98f1_0 conda-forge libprotobuf 4.24.4 hf27288f_0 conda-forge libpsl 0.21.2 h3253dac_2 conda-forge libraw 0.21.1 h2a13503_2 conda-forge libre2-11 2023.06.02 h7a70373_0 conda-forge librsvg 2.56.3 he3f83f7_1 conda-forge librttopo 1.1.0 hb58d41b_14 conda-forge libsanitizer 12.3.0 h0f45ef3_5 conda-forge libscotch 7.0.4 h91e35bf_1 conda-forge libsdformat 9.8.0 h5809292_5 conda-forge libselinux-cos7-x86_64 2.5 h9b0a68f_1105 conda-forge libsepol-cos7-x86_64 2.5 h9b0a68f_1105 conda-forge libsndfile 1.2.2 hc60ed4a_1 conda-forge libsodium 1.0.18 h36c2ea0_1 conda-forge libsoup 3.4.4 hb337396_0 conda-forge libspatialite 5.1.0 h090f1da_1 conda-forge libspral 2023.09.07 h6aa6db2_2 conda-forge libsqlite 3.45.1 h2797004_0 conda-forge libssh2 1.11.0 h0841786_0 conda-forge libstdcxx-devel_linux-64 12.3.0 h8bca6fd_105 conda-forge libstdcxx-ng 13.2.0 h7e041cc_5 conda-forge libsystemd0 255 h3516f8a_0 conda-forge libtar 1.2.20 h7f98852_1004 conda-forge libtasn1 4.19.0 h166bdaf_0 conda-forge libtheora 1.1.1 h7f98852_1005 conda-forge libtiff 4.6.0 ha9c0a0a_2 conda-forge libtool 2.4.7 h27087fc_0 conda-forge libudev1 255 h3f72095_0 conda-forge libunistring 0.9.10 h7f98852_0 conda-forge libusb 1.0.27 h520f47e_100 conda-forge libuuid 2.38.1 h0b41bf4_0 conda-forge libuv 1.47.0 hd590300_0 conda-forge libva 2.20.0 hd590300_0 conda-forge libvorbis 1.3.7 h9c3ff4c_0 conda-forge libvpx 1.13.1 h59595ed_0 conda-forge libwebp 1.3.2 h658648e_1 conda-forge libwebp-base 1.3.2 hd590300_0 conda-forge libx11-common-cos7-x86_64 1.6.7 h9b0a68f_1105 conda-forge libx11-cos7-x86_64 1.6.7 h9b0a68f_1105 conda-forge libxau-cos7-x86_64 1.0.8 h9b0a68f_1105 conda-forge libxcb 1.15 h0b41bf4_0 conda-forge libxcb-cos7-x86_64 1.13 h9b0a68f_1105 conda-forge libxcrypt 4.4.36 hd590300_1 conda-forge libxdamage-cos7-x86_64 1.1.4 h9b0a68f_1105 conda-forge libxext-cos7-x86_64 1.3.3 h9b0a68f_1105 conda-forge libxfixes-cos7-x86_64 5.0.3 h9b0a68f_1105 conda-forge libxkbcommon 1.6.0 hd429924_1 conda-forge libxml2 2.12.5 h232c23b_0 conda-forge libxshmfence-cos7-x86_64 1.2 h9b0a68f_1105 conda-forge libxshmfence-devel-cos7-x86_64 1.2 h9b0a68f_1105 conda-forge libxxf86vm-cos7-x86_64 1.1.4 h9b0a68f_1105 conda-forge libzip 1.10.1 h2629f0a_3 conda-forge libzlib 1.2.13 hd590300_5 conda-forge loguru 0.7.2 py312h7900ff3_1 conda-forge lua 5.4.6 h9627803_0 conda-forge lz4-c 1.9.4 hcb278e6_0 conda-forge lzo 2.10 h516909a_1000 conda-forge make 4.3 hd18ef5c_1 conda-forge matplotlib 3.8.3 py312h7900ff3_0 conda-forge matplotlib-base 3.8.3 py312he5832f3_0 conda-forge matplotlib-inline 0.1.6 pyhd8ed1ab_0 conda-forge mesa-khr-devel-cos7-x86_64 18.3.4 h9b0a68f_1105 conda-forge mesa-libgl-cos7-x86_64 18.3.4 h9b0a68f_1105 conda-forge mesa-libgl-devel-cos7-x86_64 18.3.4 h9b0a68f_1105 conda-forge mesa-libglapi-cos7-x86_64 18.3.4 h9b0a68f_1105 conda-forge metis 5.1.0 h59595ed_1007 conda-forge minizip 4.0.4 h0ab5242_0 conda-forge mpg123 1.32.4 h59595ed_0 conda-forge multidict 6.0.5 py312h98912ed_0 conda-forge mumps-include 5.6.2 ha770c72_4 conda-forge mumps-seq 5.6.2 hfef103a_4 conda-forge munkres 1.1.4 pyh9f0ad1d_0 conda-forge mysql-common 8.0.33 hf1915f5_6 conda-forge mysql-libs 8.0.33 hca2cd23_6 conda-forge ncurses 6.4 h59595ed_2 conda-forge nettle 3.9.1 h7ab15ed_0 conda-forge ninja 1.11.1 h924138e_0 conda-forge nlohmann_json 3.11.2 h27087fc_0 conda-forge nspr 4.35 h27087fc_0 conda-forge nss 3.98 h1d7d5a4_0 conda-forge numpy 1.26.4 py312heda63a1_0 conda-forge ocl-icd 2.3.2 hd590300_0 conda-forge ocl-icd-system 1.0.0 1 conda-forge octomap 1.9.8 h924138e_0 conda-forge ogre 1.10.12 hb5e08f3_16 conda-forge onnxruntime-cpp 1.17.0 h9322a40_1_cpu conda-forge openal-soft 1.22.2 h00ab1b0_0 conda-forge opencv 4.8.1 py312h74ac831_5 conda-forge openexr 3.2.1 h3f0fd8d_0 conda-forge openh264 2.4.0 h59595ed_0 conda-forge openjpeg 2.5.0 h488ebb8_3 conda-forge openssl 3.2.1 hd590300_0 conda-forge p11-kit 0.24.1 hc5aa10d_0 conda-forge packaging 23.2 pyhd8ed1ab_0 conda-forge pango 1.50.14 ha41ecd1_2 conda-forge parso 0.8.3 pyhd8ed1ab_0 conda-forge pcl 1.14.0 h4836831_0 conda-forge pcre2 10.40 hc3806b6_0 conda-forge pexpect 4.9.0 pyhd8ed1ab_0 conda-forge pickleshare 0.7.5 py_1003 conda-forge pillow 10.2.0 py312hf3581a9_0 conda-forge pip 24.0 pyhd8ed1ab_0 conda-forge pixman 0.43.2 h59595ed_0 conda-forge pkg-config 0.29.2 h36c2ea0_1008 conda-forge ply 3.11 py_1 conda-forge poppler 23.11.0 h590f24d_0 conda-forge poppler-data 0.4.12 hd8ed1ab_0 conda-forge portaudio 19.6.0 h7c63dc7_9 conda-forge postgresql 16.2 h7387d8b_0 conda-forge proj 9.3.0 h1d62c97_2 conda-forge prompt-toolkit 3.0.42 pyha770c72_0 conda-forge pthread-stubs 0.4 h36c2ea0_1001 conda-forge ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge pugixml 1.14 h59595ed_0 conda-forge pulseaudio-client 16.1 hb77b528_5 conda-forge pure_eval 0.2.2 pyhd8ed1ab_0 conda-forge py-opencv 4.8.1 py312h0af958d_5 conda-forge pybind11 2.11.1 py312h8572e83_2 conda-forge pybind11-abi 4 hd8ed1ab_3 conda-forge pybind11-global 2.11.1 py312h8572e83_2 conda-forge pygments 2.17.2 pyhd8ed1ab_0 conda-forge pyparsing 3.1.1 pyhd8ed1ab_0 conda-forge pyqt 5.15.9 py312h949fe66_5 conda-forge pyqt5-sip 12.12.2 py312h30efb56_5 conda-forge python 3.12.2 hab00c5b_0_cpython conda-forge python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge python_abi 3.12 4_cp312 conda-forge pyzmq 25.1.2 py312h886d080_0 conda-forge qhull 2020.2 h4bd325d_2 conda-forge qt-main 5.15.8 h82b777d_17 conda-forge qwt 6.2.0 h1a478b3_6 conda-forge re2 2023.06.02 h2873b5e_0 conda-forge readline 8.2 h8228510_1 conda-forge rhash 1.4.4 hd590300_0 conda-forge ruby 3.2.2 h983345b_1 conda-forge scotch 7.0.4 h23d43cc_1 conda-forge sdl 1.2.68 h293081c_0 conda-forge sdl2 2.28.5 h77f46ba_0 conda-forge setuptools 69.1.0 pyhd8ed1ab_1 conda-forge simbody 3.7 h64f3f5a_3 conda-forge sip 6.7.12 py312h30efb56_0 conda-forge six 1.16.0 pyh6c4a22f_0 conda-forge snappy 1.1.10 h9fff704_0 conda-forge soxr 0.1.3 h0b41bf4_3 conda-forge spdlog 1.12.0 hd2e6256_2 conda-forge sqlite 3.45.1 h2c6b66d_0 conda-forge stack_data 0.6.2 pyhd8ed1ab_0 conda-forge svt-av1 1.8.0 h59595ed_0 conda-forge swig 4.1.0 h5d7ef5f_4 conda-forge sysroot_linux-64 2.17 h57e8cba_10
tbb 2021.11.0 h00ab1b0_1 conda-forge tbb-devel 2021.11.0 h5ccd973_1 conda-forge tiledb 2.16.3 h8c794c1_3 conda-forge tinyxml 2.6.2 h4bd325d_2 conda-forge tinyxml2 9.0.0 h9c3ff4c_2 conda-forge tk 8.6.13 noxft_h4845f30_101 conda-forge toml 0.10.2 pyhd8ed1ab_0 conda-forge tomli 2.0.1 pyhd8ed1ab_0 conda-forge tomlplusplus 3.3.0 hcb278e6_0 conda-forge tornado 6.4 py312h98912ed_0 conda-forge traitlets 5.14.1 pyhd8ed1ab_0 conda-forge typing_extensions 4.9.0 pyha770c72_0 conda-forge tzcode 2024a h3f72095_0 conda-forge tzdata 2024a h0c530f3_0 conda-forge u-msgpack-python 2.8.0 pyhd8ed1ab_0 conda-forge unixodbc 2.3.12 h661eb56_0 conda-forge urdfdom 3.1.1 h8a9b4ce_0 conda-forge urdfdom_headers 1.1.1 h00ab1b0_0 conda-forge uriparser 0.9.7 hcb278e6_1 conda-forge utfcpp 4.0.5 ha770c72_0 conda-forge vtk 9.2.6 qt_py312h1234567_219 conda-forge vtk-base 9.2.6 qt_py312h1234567_219 conda-forge vtk-io-ffmpeg 9.2.6 qt_py312h1234567_219 conda-forge wcwidth 0.2.13 pyhd8ed1ab_0 conda-forge wheel 0.42.0 pyhd8ed1ab_0 conda-forge wslink 1.12.4 pyhd8ed1ab_0 conda-forge x264 1!164.3095 h166bdaf_2 conda-forge x265 3.5 h924138e_3 conda-forge xcb-util 0.4.0 hd590300_1 conda-forge xcb-util-image 0.4.0 h8ee46fc_1 conda-forge xcb-util-keysyms 0.4.0 h8ee46fc_1 conda-forge xcb-util-renderutil 0.3.9 hd590300_1 conda-forge xcb-util-wm 0.4.1 h8ee46fc_1 conda-forge xerces-c 3.2.5 hac6953d_0 conda-forge xkeyboard-config 2.41 hd590300_0 conda-forge xorg-damageproto 1.2.1 h7f98852_1002 conda-forge xorg-fixesproto 5.0 h7f98852_1002 conda-forge xorg-inputproto 2.3.2 h7f98852_1002 conda-forge xorg-kbproto 1.0.7 h7f98852_1002 conda-forge xorg-libice 1.1.1 hd590300_0 conda-forge xorg-libsm 1.2.4 h7391055_0 conda-forge xorg-libx11 1.8.7 h8ee46fc_0 conda-forge xorg-libxau 1.0.11 hd590300_0 conda-forge xorg-libxaw 1.0.14 h7f98852_1 conda-forge xorg-libxcursor 1.2.0 h0b41bf4_1 conda-forge xorg-libxdamage 1.1.5 h7f98852_1 conda-forge xorg-libxdmcp 1.1.3 h7f98852_0 conda-forge xorg-libxext 1.3.4 h0b41bf4_2 conda-forge xorg-libxfixes 5.0.3 h7f98852_1004 conda-forge xorg-libxi 1.7.10 h7f98852_0 conda-forge xorg-libxinerama 1.1.5 h27087fc_0 conda-forge xorg-libxmu 1.1.3 h7f98852_0 conda-forge xorg-libxpm 3.5.17 hd590300_0 conda-forge xorg-libxrandr 1.5.2 h7f98852_1 conda-forge xorg-libxrender 0.9.11 hd590300_0 conda-forge xorg-libxt 1.3.0 hd590300_1 conda-forge xorg-randrproto 1.5.0 h7f98852_1001 conda-forge xorg-renderproto 0.11.1 h7f98852_1002 conda-forge xorg-util-macros 1.19.3 h7f98852_0 conda-forge xorg-xextproto 7.3.0 h0b41bf4_1003 conda-forge xorg-xf86vidmodeproto 2.3.1 h7f98852_1002 conda-forge xorg-xproto 7.0.31 h7f98852_1007 conda-forge xz 5.2.6 h166bdaf_0 conda-forge yaml 0.2.5 h7f98852_2 conda-forge yarl 1.9.4 py312h98912ed_0 conda-forge zeromq 4.3.5 h59595ed_0 conda-forge zlib 1.2.13 hd590300_5 conda-forge zstd 1.5.5 hfc55251_0 conda-forge zziplib 0.13.69 h27826a3_1 conda-forge

traversaro commented 6 months ago

This is quite strange, that file should be provided by the libzlib package that is there. Can you check that the libz.so.1 is indeed contained in $CONDA_PREFIX\lib ?

Other useful information may be:

In general, please use ~~~ and ~~~ code blocks to include logs in comments.

traversaro commented 6 months ago

@16239014 given the lack of feedback, I would close the issue here. As the problem is more related to robotology-superbuild, feel free to open an issue in https://github.com/robotology/robotology-superbuild/ if you still have problems.