Hi Roger,

I'm not sure who maintains this page:
http://www.simplesystems.org/libtiff/build.html but it would be useful to
update it to use `cmake --build` so that the instructions can work across
all platforms by default. Oh, and also to create a "build" subdirectory
instead of building it mixed with the source tree. :)

My 2 cents,
-Edward

On Sun, Jan 16, 2022 at 2:52 PM <rleigh> wrote:

> Hi,
>
>
>
>
>
> You can build with CMake on Windows using MSVC, MinGW or Cygwin.
>
>
>
> See https://gitlab.com/libtiff/libtiff/-/blob/master/.appveyor.yml for
> examples for each.  Run “cmake –help” for a list of generators.  For
> VS2022, use
>
>
>
>     -G “Visual Studio 17 2022” -A x64
>
>
>
> Same for VS2019.  Build with “cmake –build”, “msbuild” or open in Visual
> Studio.
>
>
>
> You can also use the Ninja generator providing you have set up the
> environment with vcvarsall or similar.
>
>
>
> There are plenty of tutorials out there for how to build with CMake.  See
>
>
>
>
> https://docs.microsoft.com/en-us/cpp/build/cmake-projects-in-visual-studio?view=msvc-170
>
>     https://preshing.com/20170511/how-to-build-a-cmake-based-project/
>
>
>
> as a couple of examples.
>
>
>
>
>
> Kind regards,
>
> Roger
>
>
>
> *From:* Tiff <[email protected]> *On Behalf Of *Bob via Tiff
> *Sent:* 16 January 2022 05:41
> *To:* [email protected]
> *Subject:* [Tiff] How to build libtiff under Windows x64?
>
>
>
> Hi,
>
>
>
> Is there a simple way to build libtiff under Windows?  I see that in the
> past it was as simple as:
>
>
>
> >nmake /f makefile.vc
>
>
>
> but I do not see a makefile.vc file in the latest distributions.
>
>
>
> I would basically need libtiff lib and dll files to be able to build a
> native C++ application using Visual Studio.
>
>
>
> Thanks!
> _______________________________________________
> Tiff mailing list
> [email protected]
> https://lists.osgeo.org/mailman/listinfo/tiff
>
_______________________________________________
Tiff mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/tiff

Reply via email to