Skip to content
This repository was archived by the owner on Dec 3, 2018. It is now read-only.
This repository was archived by the owner on Dec 3, 2018. It is now read-only.

Instructions for building a debug configuration #108

Description

@DiabloRusso

Hi!
At the request of Wilhelm Berg in this issue I share my results on the build of mapnik debug configuration.
I create 2 Pull Requests: windows-builds and mapnik-gyp
Build v3.0.x(not master) Mapnik branch.

Instructions

  1. Clone my debug branch windows-builds.
  2. Start settings.bat with "FASTBUILD=0" "BUILD_TYPE=Debug" "MAPNIKBRANCH=v3.0.x".
  3. Start scripts\build.bat.
    Error: LINK : fatal error LNK1104: cannot open file '..\..\masmx64\gvmat64.obj'
    Replace packages\zlib\contrib\vstudio\vc11\zlibvc.vcxproj by this file.
    Repeat start scripts\build.bat. Again the same error(((
    Repeat start scripts\build.bat again! Build is going on!!!
    Build Mapnik fails.
  4. Manually changed packages\boost\spirit\home\support\attributes.hpp and replace line 1035 to using std::swap; (see here).
  5. Manually changed packages\boost\bin.v2\project-cache.jam and set has_icu builds to true (see here).
  6. Replace packages\mapnik-master\mapnik-gyp\build.bat by this file.
  7. Start scripts\build_boost.bat.
  8. Start scripts\build_mapnik.bat.

---------- DONE windows-builds MAPNIK --------------
Build complete!

My configuration: Notebook i3, 4GB RAM, ~16GB free space, Win7, VS2015.3
Thanx!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions