mapnik / mapnik-packaging

DEPRECATED packaging utilities for mapnik dependencies

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Building from source for Windows

kocio-pl opened this issue · comments

Even if this project is no longer maintained, I need a way to compile Mapnik under Windows (needed for new release of Tile Mill), because "Mason runs on both Linux and OS X". The list of dependencies is outdated:

https://github.com/mapnik/mapnik-packaging/blob/master/windows/building_mapnik_dependencies.md

Here are the issues I have found:

Applications and versions

Compilation

  • icu - stubdata, common, i18n, layout and layoutex projects need vs2010 - it can be updated, but still compilation does not complete
  • jpeg - lack of win32.mak, doesn't work with proposed solution
  • libpq - lack of manifest
  • tiff - depends on libjpeg, so it doesn't compile too
  • libxml2 - problems with macro redefinition
  • cairo - depends on zlib
  • gdal - doesn't compile
  • protobuf - you need to update projects with VSC

I may try with newer versions of these tools and update the documentation, but are there other ways of building Windows port?

Great, thanks!

I would then add this link in the https://github.com/mapnik/mapnik-packaging/blob/master/README.md and note that Mason is just for Linux and macOS.