AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2014.05.29 19:49 "[Tiff] libtiff in opencv", by Ronny Shalev
2014.05.30 02:49 "Re: [Tiff] libtiff in opencv", by Paul Heckbert
2014.05.30 17:03 "Re: [Tiff] libtiff in opencv", by Ronny Shalev

2014.05.30 17:03 "Re: [Tiff] libtiff in opencv", by Ronny Shalev

Thanks,

The best I found was the option of not using libtiff (via CMake) when compiling the OpenCV on my own (something I wanted to avoid). The pre-compiled version installs the libitiff and I do not know how to configure MSVC++ and tell it to use a different library and ignor the OpenCV version.

On Thu, May 29, 2014 at 10:49 PM, Paul Heckbert <ph@cs.cmu.edu> wrote:

When you configure opencv, if I remember correctly there should be a way to tell opencv that you already have libtiff (i.e. that it doesn’t need to install it, itself) and thereby avoid the redundancy and inconsistency. If OpenCV wants a different version of libtiff than what you’ve got then you may have a problem, however.

On 2014/5/29, at 3:49 PM, Ronny Shalev <rys@case.edu> wrote:

I am trying to work with libtiff and opencv together. I installed the opencv precompiled libraries and found that the libtiff library is part of the installation, however, I was not able to use any libtiff function (I am trying to read a multipage tiff file but opencv does not support it). So, I installed the stand-alone libtiff libraries (from libtiff.org) in a separate folder and wrote a function to read the multipage tiff file, but now I cannot combine the opencv program with the libtiff program since there is a clash between the stand-alone libtiff libraries and the opencv libtiff libraries.

Can someone suggest what I need to do in order to combine the two small programs?

> Thx
>

PS My environment: Windows 7 and Microsoft Visual C++ 2012