JdeRobot / base

GNU General Public License v3.0
93 stars 124 forks source link

stuck at executing make after installing all dependencies as installation in documentation i compiled cameraserver and cameraviewer with no problem but stuck at compiling whole project #1348

Closed Eng-MohamedHussien closed 5 years ago

Eng-MohamedHussien commented 5 years ago

/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFReadRGBAStrip@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference toTIFFReadDirectory@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFWriteEncodedStrip@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference toTIFFIsTiled@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFWriteScanline@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference toTIFFGetField@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFNumberOfStrips@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference toTIFFScanlineSize@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFReadEncodedTile@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference toTIFFReadRGBATile@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFClose@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference toTIFFClientOpen@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFRGBAImageOK@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference toTIFFOpen@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFReadEncodedStrip@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference toTIFFSetField@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to TIFFSetWarningHandler@LIBTIFF_4.0' /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference toTIFFSetErrorHandler@LIBTIFF_4.0' collect2: error: ld returned 1 exit status src/tools/recorder2/CMakeFiles/recorder2.dir/build.make:595: recipe for target 'src/tools/recorder2/recorder2' failed make[2]: [src/tools/recorder2/recorder2] Error 1 CMakeFiles/Makefile2:4092: recipe for target 'src/tools/recorder2/CMakeFiles/recorder2.dir/all' failed make[1]: [src/tools/recorder2/CMakeFiles/recorder2.dir/all] Error 2 Makefile:149: recipe for target 'all' failed make: *** [all] Error 2

sleep-404 commented 5 years ago

what is your output of cmake .. , can you share it ? Are all the configurations done ?

Eng-MohamedHussien commented 5 years ago

it didn't give me configuration done because of conflict of anaconda3 and i solved it by run this command conda deactivate and redoing compilation process last lines of cmake output deps-dev dpkg-deb: building package 'jderobot-deps-dev' in '.dpkg_pkgs/jderobot-deps-dev_5.6.6_all.deb'. drivers dpkg-deb: building package 'jderobot-drivers' in '.dpkg_pkgs/jderobot-drivers_5.6.6_all.deb'. examples dpkg-deb: building package 'jderobot-examples' in '.dpkg_pkgs/jderobot-examples_5.6.6_all.deb'. libs dpkg-deb: building package 'jderobot-libs' in '.dpkg_pkgs/jderobot-libs_5.6.6_all.deb'. tools dpkg-deb: building package 'jderobot-tools' in '.dpkg_pkgs/jderobot-tools_5.6.6_all.deb'. zeroc-ice-python dpkg-deb: building package 'jderobot-zeroc-ice-python' in '.dpkg_pkgs/jderobot-zeroc-ice-python_5.6.6_all.deb'. jderobot dpkg-deb: building package 'jderobot' in '.dpkg_pkgs/jderobot_5.6.6_all.deb'. -- Configuring done -- Generating done -- Build files have been written to: /home/mohamed/Desktop/base/build

zmll commented 5 years ago

i have same problem, can you tell me the solution?