Build failed beacuse of the 'libtiff4.0'
Open
stidk
opened this issue 3 years ago
•
0 comments
ubuntu18.04,pcl1.8,vtk8.2.0,qt5.14.0
After run 'make -j4'
[ 28%] Linking CXX executable point_cloud_annotation_tool
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libSM.so: undefined reference to uuid_unparse_lower@UUID_1.0' /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libSM.so: undefined reference to
uuid_generate@UUID_1.0'
collect2: error: ld returned 1 exit status
test/CMakeFiles/vtkAnnotationBoxSourceTest.dir/build.make:262: recipe for target 'test/vtkAnnotationBoxSourceTest' failed
make[2]: *** [test/vtkAnnotationBoxSourceTest] Error 1
CMakeFiles/Makefile2:230: recipe for target 'test/CMakeFiles/vtkAnnotationBoxSourceTest.dir/all' failed
make[1]: *** [test/CMakeFiles/vtkAnnotationBoxSourceTest.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libSM.so: undefined reference to uuid_unparse_lower@UUID_1.0' /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libSM.so: undefined reference to
uuid_generate@UUID_1.0'
collect2: error: ld returned 1 exit status
test/CMakeFiles/vtkBoxWidgetRestrictedTest.dir/build.make:262: recipe for target 'test/vtkBoxWidgetRestrictedTest' failed
make[2]: *** [test/vtkBoxWidgetRestrictedTest] Error 1
CMakeFiles/Makefile2:178: recipe for target 'test/CMakeFiles/vtkBoxWidgetRestrictedTest.dir/all' failed
make[1]: *** [test/CMakeFiles/vtkBoxWidgetRestrictedTest.dir/all] Error 2
/usr/bin/ld: cannot find -lpoint_cloud_annotation_tool_lib
/usr/bin/ld: cannot find -lpoint_cloud_annotation_tool_lib
collect2: error: ld returned 1 exit status
CMakeFiles/point_cloud_annotation_tool.dir/build.make:446: recipe for target 'point_cloud_annotation_tool' failed
make[2]: *** [point_cloud_annotation_tool] Error 1
CMakeFiles/Makefile2:126: recipe for target 'CMakeFiles/point_cloud_annotation_tool.dir/all' failed
make[1]: *** [CMakeFiles/point_cloud_annotation_tool.dir/all] Error 2
//usr/lib/x86_64-linux-gnu/libvtkIOImage-6.3.so.6.3: undefined reference to TIFFReadDirectory@LIBTIFF_4.0' //usr/lib/x86_64-linux-gnu/libvtkIOImage-6.3.so.6.3: undefined reference to
TIFFTileSize@LIBTIFF_4.0'
//usr/lib/x86_64-linux-gnu/libvtkIOImage-6.3.so.6.3: undefined reference to TIFFSetWarningHandler@LIBTIFF_4.0' //usr/lib/x86_64-linux-gnu/libvtkIOImage-6.3.so.6.3: undefined reference to
_TIFFmalloc@LIBTIFF_4.0'
//usr/lib/x86_64-linux-gnu/libvtkIOImage-6.3.so.6.3: undefined reference to TIFFReadTile@LIBTIFF_4.0' //usr/lib/x86_64-linux-gnu/libvtkIOImage-6.3.so.6.3: undefined reference to
_TIFFfree@LIBTIFF_4.0'
//usr/lib/x86_64-linux-gnu/libvtkIOImage-6.3.so.6.3: undefined reference to TIFFGetField@LIBTIFF_4.0' /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libSM.so: undefined reference to
uuid_generate@UUID_1.0'
//usr/lib/x86_64-linux-gnu/libvtkIOImage-6.3.so.6.3: undefined reference to TIFFNumberOfDirectories@LIBTIFF_4.0' //usr/lib/x86_64-linux-gnu/libvtkIOImage-6.3.so.6.3: undefined reference to
TIFFReadRGBAImage@LIBTIFF_4.0'
//usr/lib/x86_64-linux-gnu/libvtkIOImage-6.3.so.6.3: undefined reference to TIFFSetDirectory@LIBTIFF_4.0' //usr/lib/x86_64-linux-gnu/libvtkIOImage-6.3.so.6.3: undefined reference to
TIFFNumberOfTiles@LIBTIFF_4.0'
//usr/lib/x86_64-linux-gnu/libvtkIOImage-6.3.so.6.3: undefined reference to TIFFIsTiled@LIBTIFF_4.0' //usr/lib/x86_64-linux-gnu/libvtkIOImage-6.3.so.6.3: undefined reference to
TIFFScanlineSize@LIBTIFF_4.0'
//usr/lib/x86_64-linux-gnu/libvtkIOImage-6.3.so.6.3: undefined reference to TIFFClose@LIBTIFF_4.0' //usr/lib/x86_64-linux-gnu/libvtkIOImage-6.3.so.6.3: undefined reference to
TIFFGetFieldDefaulted@LIBTIFF_4.0'
//usr/lib/x86_64-linux-gnu/libvtkIOImage-6.3.so.6.3: undefined reference to TIFFDefaultStripSize@LIBTIFF_4.0' //usr/lib/x86_64-linux-gnu/libvtkIOImage-6.3.so.6.3: undefined reference to
TIFFWriteScanline@LIBTIFF_4.0'
//usr/lib/x86_64-linux-gnu/libvtkIOImage-6.3.so.6.3: undefined reference to TIFFWriteDirectory@LIBTIFF_4.0' //usr/lib/x86_64-linux-gnu/libvtkIOImage-6.3.so.6.3: undefined reference to
TIFFOpen@LIBTIFF_4.0'
//usr/lib/x86_64-linux-gnu/libvtkIOImage-6.3.so.6.3: undefined reference to TIFFSetField@LIBTIFF_4.0' /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libSM.so: undefined reference to
uuid_unparse_lower@UUID_1.0'
//usr/lib/x86_64-linux-gnu/libvtkIOImage-6.3.so.6.3: undefined reference to TIFFSetErrorHandler@LIBTIFF_4.0' //usr/lib/x86_64-linux-gnu/libvtkIOImage-6.3.so.6.3: undefined reference to
TIFFReadScanline@LIBTIFF_4.0'
collect2: error: ld returned 1 exit status
test/CMakeFiles/QVTKWidgetTest.dir/build.make:316: recipe for target 'test/QVTKWidgetTest' failed
make[2]: *** [test/QVTKWidgetTest] Error 1
CMakeFiles/Makefile2:204: recipe for target 'test/CMakeFiles/QVTKWidgetTest.dir/all' failed
make[1]: *** [test/CMakeFiles/QVTKWidgetTest.dir/all] Error 2
Makefile:90: recipe for target 'all' failed
make: *** [all] Error 2