Skip to content
This repository has been archived by the owner on Apr 12, 2019. It is now read-only.

Building from source for Windows #201

Open
kocio-pl opened this issue Nov 27, 2017 · 2 comments
Open

Building from source for Windows #201

kocio-pl opened this issue Nov 27, 2017 · 2 comments

Comments

@kocio-pl
Copy link

kocio-pl commented Nov 27, 2017

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?

@artemp
Copy link
Member

artemp commented Nov 27, 2017

@kocio-pl - https://github.com/mapbox/windows-builds should be helpful.

@kocio-pl
Copy link
Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants