[ 86%] Built target cvhaartraining
Linking CXX executable ../../bin/opencv_createsamples
../../lib/libhighgui.so: undefined reference to `_TIFFerrorHandler'
../../lib/libhighgui.so: undefined reference to `_TIFFrealloc'
../../lib/libhighgui.so: undefined reference to `_TIFFmalloc'
../../lib/libhighgui.so: undefined reference to `_TIFFmemcpy'
../../lib/libhighgui.so: undefined reference to `TIFFOpen'
../../lib/libhighgui.so: undefined reference to `_TIFFfree'
../../lib/libhighgui.so: undefined reference to `_TIFFwarningHandler'
../../lib/libhighgui.so: undefined reference to `_TIFFmemcmp'
../../lib/libhighgui.so: undefined reference to `_TIFFmemset'
collect2: ld returned 1 exit status
make[2]: *** [bin/opencv_createsamples] Error 1
make[1]: *** [apps/haartraining/CMakeFiles/createsamples.dir/all] Error 2
make: *** [all] Error 2