UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer a_mansouri
Observer
10,916 Views
Registered: ‎04-29-2014

libtiff.so.3, undefined reference to `TIFFReadEncodedStrip'

Jump to solution

i am using vivado hls to snthetise opencv funvtion, i get this error, can you help me please !!!!!!!

 

I [HLS-10] Setting target device to 'xc7z020clg484-1'
   Generating csim.exe
/usr/bin/ld: warning: libtiff.so.3, needed by /opt/Xilinx/Vivado_HLS/2014.1/lnx64/tools/opencv/libopencv_highgui.so, not found (try using -rpath or -rpath-link)
/opt/Xilinx/Vivado_HLS/2014.1/lnx64/tools/opencv/libopencv_highgui.so: undefined reference to `TIFFReadEncodedStrip'
/opt/Xilinx/Vivado_HLS/2 014.1/lnx64/tools/opencv/libopencv_highgui.so: undefined reference to `TIFFReadEncodedTile'
/opt/Xilinx/Vivado_HLS/2014.1/lnx64/tools/opencv/libopencv_highgui.so: undefined reference to `TIFFGetField'
/opt/Xilinx/Vivado_HLS/2014.1/lnx64/tools/opencv/libopencv_highgui.so: undefined reference to `TIFFReadRGBATile'
/opt/Xilinx/Vivado_HLS/2014.1/lnx64/tools/opencv/libopencv_highgui.so: undefined reference to `TIFFScanlineSize'
/opt/Xilinx/Vivado_HLS/2014.1/lnx64/tools/opencv/libopencv_highgui.so: undefined reference to `TIFFSetField'
/opt/Xilinx/Vivado_HLS/2014.1/lnx64/tools/opencv/libopencv_highgui.so: undefined reference to `TIFFSetWarningHandler'
/opt/Xilinx/Vivado_HLS/2014.1/lnx64/tools/opencv/libopencv_highgui.so: undefined reference to `TIFFIsTiled'
/opt/Xilinx/Vivado_HLS/2014.1/lnx64/tools/opencv/libopencv_highgui.so: undefined reference to `TIFFWriteScanline'
/opt/Xilinx/Vivado_HLS/2014.1/lnx64/tools/opencv/libopencv_highgui.so: undefined reference to `TIFFRGBAImageOK'
/opt/Xilinx/Vivado_HLS/2014.1/lnx64/tools/opencv/libopencv_highgui.so: undefined reference to `TIFFOpen'
/opt/Xilinx/Vivado_HLS/2014.1/lnx64/tools/opencv/libopencv_highgui.so: undefined reference to `TIFFReadRGBAStrip'
/opt/Xilinx/Vivado_HLS/2014.1/lnx64/tools/opencv/libopencv_highgui.so: undefined reference to `TIFFSetErrorHandler'
/opt/Xilinx/Vivado_HLS/2014.1/lnx64/tools/opencv/libopencv_highgui.so: undefined reference to `TIFFClose'
collect2: ld returned 1 exit status
make: *** [csim.exe] Erreur 1
@E [SIM-1] 'csim_design' failed: compilation error(s).
4
    while executing
"csim_design -quiet"
    (file "/home/mansouri/hls_project/harris/solution1/csim.tcl" line 8)
@I [LIC-101] Checked in feature [HLS]

 

 

regards

0 Kudos
1 Solution

Accepted Solutions
Observer a_mansouri
Observer
17,635 Views
Registered: ‎04-29-2014

Re: libtiff.so.3, undefined reference to `TIFFReadEncodedStrip'

Jump to solution

SOLUTION:

Getting libtiff.so.3 just download tiff-3.9.7.zip from here, unzip it, cd into tiff-3.9.7, then do './configure; make' then cp libtiff/.libs/libtiff.so.3* to /usr/lib64, run ldconfig .

REGARDS,

4 Replies
Xilinx Employee
Xilinx Employee
10,909 Views
Registered: ‎08-17-2011

Re: libtiff.so.3, undefined reference to `TIFFReadEncodedStrip'

Jump to solution

this is probably an OS or setup issues.

 

you should try to install the missing lib using your OS utilities.

 

what OS are you using?

 

remember that ubuntu, for example isn't supported by Xilinx tools, but with ubuntu you would do:

sudo apt-get install libtiff3

(or libtiff4 etc)

 

what does ``find /usr/lib* | grep tiff`` returns?

- Hervé

SIGNATURE:
* New Dedicated Vivado HLS forums* http://forums.xilinx.com/t5/High-Level-Synthesis-HLS/bd-p/hls
* Readme/Guidance* http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369

* Please mark the Answer as "Accept as solution" if information provided is helpful.
* Give Kudos to a post which you think is helpful and reply oriented.
0 Kudos
Observer a_mansouri
Observer
10,908 Views
Registered: ‎04-29-2014

Re: libtiff.so.3, undefined reference to `TIFFReadEncodedStrip'

Jump to solution

i installed libtiff4

it seems i must link or add the options of cosimulation but i don't now how

 

 

that what retrun the commande find

 

/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/input_truecolor_12.tiff
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/input_gray_14bit.tiff
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/.cvsignore
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/input_gray_08bit.tiff
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/input_truecolor_08.tiff
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/read.t
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/input_truecolor_14.tiff
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/input_truecolor_08_tiled32x32.tiff
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/write.t
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/input_palette_16.tiff
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/input_truecolor_08_planar.tiff
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/input_gray_12bit.tiff
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/input_truecolor_16.tiff
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/input_gray_16bit.tiff
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/input_gray_32bit.tiff
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/input_palette_256.tiff
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/input_palette_16_matte.tiff
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/input_palette_256_planar_separate.tiff
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/input_gray_04bit_matte.tiff
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/input_gray_04bit.tiff
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/input_truecolor_08_stripped.tiff
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/input_gray_01bit_minwhite.tiff
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/input_truecolor_08_matte.tiff
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/input_truecolor_10.tiff
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/input_gray_01bit_minwhite.cals
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/input_gray_08bit_matte.tiff
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/input_truecolor_32.tiff
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/input_palette_256_matte.tiff
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/input_gray_10bit.tiff
/usr/lib/GraphicsMagick-1.3.9/PerlMagick/t/tiff/input_palette_256_planar_contig.tiff
/usr/lib/GraphicsMagick-1.3.9/coders/tiff.c
/usr/lib/GraphicsMagick-1.3.9/coders/.deps/magick_libGraphicsMagick_la-tiff.Plo
/usr/lib/GraphicsMagick-1.3.9/coders/.deps/coders_tiff_la-tiff.Plo
/usr/lib/GraphicsMagick-1.3.9/coders/magick_libGraphicsMagick_la-tiff.lo
/usr/lib/GraphicsMagick-1.3.9/coders/.libs/magick_libGraphicsMagick_la-tiff.o
/usr/lib/x86_64-linux-gnu/libtiff.a
/usr/lib/x86_64-linux-gnu/libtiff.so.4
/usr/lib/x86_64-linux-gnu/libtiff.so
/usr/lib/x86_64-linux-gnu/libtiffxx.so.0
/usr/lib/x86_64-linux-gnu/libtiff.la
/usr/lib/x86_64-linux-gnu/libtiffxx.a
/usr/lib/x86_64-linux-gnu/libtiff.so.4.3.4
/usr/lib/x86_64-linux-gnu/libtiffxx.la
/usr/lib/x86_64-linux-gnu/libtiffxx.so.0.0.8
/usr/lib/x86_64-linux-gnu/qt4/plugins/imageformats/libqtiff.so
/usr/lib/x86_64-linux-gnu/libtiffxx.so
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tiff.so
/usr/lib/evince/4/backends/tiffdocument.evince-backend
/usr/lib/evince/4/backends/libtiffdocument.so
/usr/lib/ImageMagick-6.5.7/modules-Q16/coders/tiff.la
/usr/lib/ImageMagick-6.5.7/modules-Q16/coders/tiff.so
/usr/lib/ImageMagick-6.6.9/modules-Q16/coders/tiff.la
/usr/lib/ImageMagick-6.6.9/modules-Q16/coders/tiff.so
/usr/lib/cups/filter/pstotiff

 

 

 

0 Kudos
Observer a_mansouri
Observer
10,898 Views
Registered: ‎04-29-2014

Re: libtiff.so.3, undefined reference to `TIFFReadEncodedStrip'

Jump to solution

hi,

if this possibe , how i can link ltiff with vivado hls

0 Kudos
Observer a_mansouri
Observer
17,636 Views
Registered: ‎04-29-2014

Re: libtiff.so.3, undefined reference to `TIFFReadEncodedStrip'

Jump to solution

SOLUTION:

Getting libtiff.so.3 just download tiff-3.9.7.zip from here, unzip it, cd into tiff-3.9.7, then do './configure; make' then cp libtiff/.libs/libtiff.so.3* to /usr/lib64, run ldconfig .

REGARDS,