2017.10.05 15:55 "[Tiff] Problem using libtiff in debug mode with visual studio 2010", by Emmanuel Cosnard

2017.10.09 08:57 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Emmanuel Cosnard

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

Erreur    LNK2001    unresolved external symbol __imp____acrt_iob_func    LastTry    C:\ProjetsEnCours\LastTryWithLibtiff408\LastTry\libtiff.lib(tif_unix.obj)    1
Erreur    LNK1120    11 unresolved externals    LastTry    C:\ProjetsEnCours\LastTryWithLibtiff408\Debug\LastTry.exe    1
Erreur    LNK2001    unresolved external symbol __libm_sse2_sqrt_precise    LastTry    C:\ProjetsEnCours\LastTryWithLibtiff408\LastTry\libtiff.lib(tif_luv.obj)    1
Erreur    LNK2001    unresolved external symbol __libm_sse2_log_precise    LastTry    C:\ProjetsEnCours\LastTryWithLibtiff408\LastTry\libtiff.lib(tif_luv.obj)    1
Erreur    LNK2001    unresolved external symbol __libm_sse2_exp_precise    LastTry    C:\ProjetsEnCours\LastTryWithLibtiff408\LastTry\libtiff.lib(tif_luv.obj)    1
Erreur    LNK2001    unresolved external symbol __dtoui3    LastTry    C:\ProjetsEnCours\LastTryWithLibtiff408\LastTry\libtiff.lib(tif_dirwrite.obj)    1
Erreur    LNK2001    unresolved external symbol __ftoui3    LastTry    C:\ProjetsEnCours\LastTryWithLibtiff408\LastTry\libtiff.lib(tif_dirwrite.obj)    1
Erreur    LNK2001    unresolved external symbol __ultod3    LastTry    C:\ProjetsEnCours\LastTryWithLibtiff408\LastTry\libtiff.lib(tif_dirread.obj)    1
Erreur    LNK2001    unresolved external symbol __imp____stdio_common_vsprintf    LastTry    C:\ProjetsEnCours\LastTryWithLibtiff408\LastTry\libtiff.lib(tif_codec.obj)    1
Erreur    LNK2001    unresolved external symbol __imp____stdio_common_vsprintf    LastTry    C:\ProjetsEnCours\LastTryWithLibtiff408\LastTry\libtiff.lib(tif_dirinfo.obj)    1
Erreur    LNK2001    unresolved external symbol __ltod3    LastTry    C:\ProjetsEnCours\LastTryWithLibtiff408\LastTry\libtiff.lib(tif_dirread.obj)    1
Erreur    LNK2001    unresolved external symbol __ltod3    LastTry    C:\ProjetsEnCours\LastTryWithLibtiff408\LastTry\libtiff.lib(tif_aux.obj)    1
Erreur    LNK2001    unresolved external symbol __libm_sse2_pow_precise    LastTry    C:\ProjetsEnCours\LastTryWithLibtiff408\LastTry\libtiff.lib(tif_aux.obj)    1
Erreur    LNK2001    unresolved external symbol __imp____stdio_common_vfprintf    LastTry    C:\ProjetsEnCours\LastTryWithLibtiff408\LastTry\libtiff.lib(tif_predict.obj)    1
Erreur    LNK2001    unresolved external symbol __imp____stdio_common_vfprintf    LastTry    C:\ProjetsEnCours\LastTryWithLibtiff408\LastTry\libtiff.lib(tif_fax3.obj)    1
Erreur    LNK2001    unresolved external symbol __imp____stdio_common_vfprintf    LastTry    C:\ProjetsEnCours\LastTryWithLibtiff408\LastTry\libtiff.lib(tif_dirinfo.obj)    1
Erreur    LNK2001    unresolved external symbol __imp____stdio_common_vfprintf    LastTry    C:\ProjetsEnCours\LastTryWithLibtiff408\LastTry\libtiff.lib(tif_unix.obj)    1

________________________________

De: tiff-bounces@lists.maptools.org <tiff-bounces@lists.maptools.org> de la part de Roger Leigh <rleigh@codelibre.net> Envoyé: lundi 9 octobre 2017 07:41:40

À: tiff@lists.maptools.org

Objet: Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010

On 09/10/2017 07:19, Emmanuel Cosnard wrote:

Actually I can't use the last version of tifflib because I have to use visual studio 2010 (for historical reasons on the project I'm working on), so I use a pre-2010 version of libtiff. have to

What's stopping libtiff 4.0.8 building on these Visual Studio versions? What errors do you get when building?

Have you tried the CMake build out? Bits in the port directory should be selectively built to work with older versions. While I don't have these older versions to hand to test with, I think they are supposed to work.