AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2017.10.05 15:55 "[Tiff] Problem using libtiff in debug mode with visual studio 2010", by Emmanuel Cosnard
2017.10.06 17:00 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Bob Friesenhahn
2017.10.06 08:24 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Emmanuel Cosnard
2017.10.05 16:13 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Bob Friesenhahn
2017.10.06 09:19 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Emmanuel Cosnard
2017.10.06 12:39 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Olivier Paquet
2017.10.06 13:27 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Bob Friesenhahn
2017.10.09 07:19 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Emmanuel Cosnard
2017.10.09 07:41 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Roger Leigh
2017.10.09 08:57 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Emmanuel Cosnard
2017.10.10 10:10 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Emmanuel Cosnard
2017.10.09 13:39 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Bob Friesenhahn
2017.10.10 12:07 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Emmanuel Cosnard
2017.10.10 12:22 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Even Rouault
2017.10.10 14:28 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Emmanuel Cosnard
2017.10.10 14:39 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Even Rouault
2017.10.10 17:35 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Roger Leigh

2017.10.10 12:07 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Emmanuel Cosnard

I finally managed to build and install the latesr version of libtiff on visual studio 2010, but I still have exactly the same mistake in debug when I do a TIFFopen in debug mode.

What I did to build libtiff is to use the command prompt of visual studio 2010, and executed the following command lines in the libtiff directory:

nmake /f makefile.vc clean

nmake /f makefile.vc DEBUG=1

Do you know if there is something I am doing wrong here?

Thank you,

Emmanuel

________________________________
De: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
Envoyé: lundi 9 octobre 2017 13:39:35
À: Emmanuel Cosnard
Cc: Roger Leigh; tiff@lists.maptools.org
Objet: Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010

On Mon, 9 Oct 2017, Emmanuel Cosnard wrote:

> I am getting all these errors with the last version of libtiff:

It looks to me like these issues have something to do with a mis-match
between how libtiff was compiled and how the using application is
being compiled. The compilation options need to be compatible.

In GraphicsMagick I am still using Visual Studio 2008 to compile
modern libtiff and would expect it to compile even under the 2003
version. In fact, I think that it might even compile under Visual C++
6.0. Visual Studio 2015 also compiled libtiff with no problems.

Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/