我的github

Downloads

Latest Release

The latest release is Mapnik v3.0.22.最新版本是Mapnik v3.0.22。

Mapnik 3.0.22

Release Date: 22 January 2019

Source Installation

To build Mapnik v3.0.22 from source either download the v3.0.22 tarball or pull directly from github:

git clone https://github.com/mapnik/mapnik.git
cd mapnik
git checkout v3.0.22
git submodule update --init
./configure && make && make test

For source install help see the Install docs

You can also use git to fetch the latest code (will default to master branch):

git clone https://github.com/mapnik/mapnik.git

Browse the code at github.

Download a snapshot as a zip archive.

Mapnik 2.2

Release Date: June 3rd, 2013

Platforms

OS X

The recommend install method on OS X is homebrew. If you are running homebrew simply do:

brew update && brew install mapnik

We also provide a pre-built OS X 64 bit package that will install into the same place (/usr/local) as homebrew.

iOS

Windows

Ubuntu

Source

To build Mapnik v2.2.0 from source either download the v2.2.0 tarball or pull directly from github:

git clone https://github.com/mapnik/mapnik.git
git checkout v2.2.0

For source install help see the Install docs

Extra Installation Details

See platform specific notes at Mapnik Wiki.

See also the detailed Install guide for the development code.

Older releases

See the listing at the download archive on s3.

 

Your C++ compiler does NOT fully support C++11:https://blog.csdn.net/tan88881111/article/details/80059699

gcc windows:https://www.cnblogs.com/shichuan/p/4475178.html

https://www.cnblogs.com/valor-xh/p/7371710.html

gcc:https://blog.csdn.net/oatnehc/article/details/52754420

在windows使用GNU中gcc等:https://jingyan.baidu.com/article/5225f26b47ca1be6fb090846.html

Install on Windows issue:https://github.com/mapnik/mapnik/issues/4200

If you try to build mapnik with msvc you need to take additional steps.
These are implemented in #4191 take a look if you need them now.

如果你希望通过MSVC来编译mapnik的话,你需要进行一些额外的步骤。这些在#4191中有实现,可以去看一下。

You could however clone the repo of the PR and build via cmake and enabling the features you need. I recommend to install the required dependencies with vcpkg since it will help you build all of the deps or you could clone the repo of the microsoft/vcpkg#14628 PR to directly install mapnik with vcpkg. but keep in mind, that these features are not reviewed yet and WIP.

你可以克隆PR的仓库,然后通过CMake来创建,并且可以任意添加你需要的功能。我建议你通过vcpkg安装所需的依赖,因为它会帮助你编译所有的依赖库,或者你可以克隆仓库microsoft/vcpkg#14628,直接使用vcpkg安装Mapnik。但是记住,这些特征还没有被审核过。

CMake build support #4191

This PR would add CMake support to mapnik

https://github.com/mapnik/mapnik/pull/4191

Vcpkg build support

https://github.com/microsoft/vcpkg/pull/14628

添加mapnik而不需要再单独另外分叉创建一个mapnik分支。但是,这个PR需要当前的master。

>>什么是vcpkg?:https://www.cnblogs.com/2008nmj/p/14447691.html

截图:src为源码,打开src文件夹你将会看到熟悉的CMakeLists.txt

 

 

posted on 2019-04-18 16:30  XiaoNiuFeiTian  阅读(516)  评论(0编辑  收藏  举报