[pdal] PDAL static build

Mateusz Loskot mateusz at loskot.net
Thu Oct 27 14:48:04 PDT 2022


On Thu, 27 Oct 2022, 23:07 Hana Maquet, <HMaquet at aevex.com> wrote:

Hello,

I am able to compile PDAL in visual studio 2019 for windows but I would
like to make a static build so I could avoid copying all the DLLs along
with the executable.


https://github.com/PDAL/PDAL/issues/3621

https://github.com/PDAL/PDAL/pull/3662

  I’ve changed the code generation for all the libraries and the main PDAL
program to Multi-Threaded (MT) but I am still getting 74 linker errors in
msvcprt.lib and also in pdal_arbiter.  Has anyone successfully made a
static build and could they give me any tips to help me?


Yes, don't do MT, but MD, and edit CMake files to link against static curl
and other deps.

Mateusz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20221027/00f161c1/attachment.htm>


More information about the pdal mailing list