AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2020.01.18 13:19 "[Tiff] Warnings while building tools", by Miguel Medalha
2020.01.18 16:03 "Re: [Tiff] Warnings while building tools", by Greg Troxel
2020.01.18 16:34 "Re: [Tiff] Warnings while building tools", by Miguel Medalha
2020.01.18 19:45 "Re: [Tiff] Warnings while building tools", by Greg Troxel
2020.01.18 21:24 "Re: [Tiff] Warnings while building tools", by Miguel Medalha
2020.01.18 21:27 "Re: [Tiff] Warnings while building tools", by Miguel Medalha
2020.01.18 21:32 "Re: [Tiff] Warnings while building tools", by Bob Friesenhahn
2020.01.18 22:29 "Re: [Tiff] Warnings while building tools", by Roger Leigh
2020.01.19 02:05 "Re: [Tiff] Warnings while building tools", by Bob Friesenhahn
2020.01.19 11:51 "Re: [Tiff] Warnings while building tools", by Even Rouault
2020.01.19 15:13 "Re: [Tiff] Warnings while building tools", by Greg Troxel
2020.01.19 15:54 "Re: [Tiff] Warnings while building tools", by ZdPo Ster
2020.01.19 16:53 "Re: [Tiff] Warnings while building tools", by Roger Leigh
2020.01.19 19:41 "Re: [Tiff] Warnings while building tools", by Bob Friesenhahn
2020.01.21 19:23 "Re: [Tiff] Warnings while building tools", by Su
2020.01.21 20:03 "Re: [Tiff] Warnings while building tools", by Roger Leigh
2020.01.22 03:07 "Re: [Tiff] Warnings while building tools", by Edward Lam
2020.01.22 14:41 "Re: [Tiff] Warnings while building tools", by Bob Friesenhahn
2020.01.22 20:50 "Re: [Tiff] Warnings while building tools", by Jeff McKenna
2020.01.22 21:16 "Re: [Tiff] Warnings while building tools", by Su
2020.01.22 22:56 "Re: [Tiff] Warnings while building tools", by Bob Friesenhahn
2020.01.23 13:01 "Re: [Tiff] Warnings while building tools", by Even Rouault
2020.01.25 20:10 "Re: [Tiff] Warnings while building tools", by Su
2020.01.23 13:05 "Re: [Tiff] Warnings while building tools", by Su
2020.01.25 16:22 "Re: [Tiff] Warnings while building tools", by Bob Friesenhahn
2020.01.25 20:24 "Re: [Tiff] Warnings while building tools", by Bob Friesenhahn
2020.01.26 16:37 "Re: [Tiff] Warnings while building tools", by Jeff McKenna
2020.01.26 16:39 "Re: [Tiff] Warnings while building tools", by Jeff McKenna
2020.01.26 17:34 "Re: [Tiff] Warnings while building tools", by Miguel Medalha
2020.01.26 23:57 "Re: [Tiff] Warnings while building tools", by Bob Friesenhahn
2020.01.27 00:53 "Re: [Tiff] Warnings while building tools", by Bob Friesenhahn
2020.01.27 01:24 "Re: [Tiff] Warnings while building tools", by Bob Friesenhahn
2020.01.27 13:04 "Re: [Tiff] Warnings while building tools", by Jeff McKenna
2020.01.22 12:25 "Re: [Tiff] Warnings while building tools", by Miguel Medalha
2020.01.22 16:47 "Re: [Tiff] Warnings while building tools", by Greg Troxel
2020.01.22 19:13 "Re: [Tiff] Warnings while building tools", by Christoph Gohlke
2020.01.22 20:12 "Re: [Tiff] Warnings while building tools", by Miguel Medalha
2020.01.23 03:44 "Re: [Tiff] Warnings while building tools", by Edward Lam
2020.01.29 14:14 "Re: [Tiff] Warnings while building tools", by Bob Friesenhahn
2020.01.29 14:31 "Re: [Tiff] Warnings while building tools", by Jeff McKenna
2020.01.19 17:32 "Re: [Tiff] Warnings while building tools", by Miguel Medalha

2020.01.21 20:03 "Re: [Tiff] Warnings while building tools", by Roger Leigh

On 21/01/2020 19:23, sulau@freenet.de wrote:

Dear all,

at least I am using the nmake / Makefile.vc feature for years within a Visual Studio /Windows environment, together with the same nmake / Makefile.vc feature of GeoTiff. The libtiff.lib and geotiff.lib are built easily with native Visual Studio tools, without the need to install any third party tools. Just call “nmake /f Makefile.vc” and that’s it.

Which third party tools would I have to install and what would be the call sequence on a standard Windows 10 with MS Visual Studio (e.g. 2015)?

Install CMake, thenin a Visual Studio command prompt window, or other environment with cl and cmake on the PATH:

   cmake -G "NMake Makefiles".

to configure and generate the Makefile, and then

   cmake --build.

or

   nmake

to build and optionally install.  It has all the usual targets provided.

The advantage of this over the Makefile.vc is that it introspects the system and adapts the build to suit it, just like the Autotools do on Unix platforms.  Additionally, various options are configurable, so you can choose to build with support for various features, compression codecs etc. which the static Makefile.vc can't support.  Use -Ooption=value to set them.  Or "cmake -LH" to list all the configuration options. cmake-gui lets you edit them interactively.  As an example relevant to this discussion, VS2019 supports strtoll and strtoull, so if you configure with this version of MSVC, you should get the native CRT functions used automatically, not the compatibility reimplementations.

Regards,

Roger