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

Window Build #117

Open
QuincyAdams24 opened this issue Oct 17, 2017 · 4 comments
Open

Window Build #117

QuincyAdams24 opened this issue Oct 17, 2017 · 4 comments

Comments

@QuincyAdams24
Copy link

not sure what I did wrong.

  1. Downloaded mapbox/windows-builds
  2. installed Python 64 bit
  3. installed git 64 bit
  4. installed VS2015
  5. updated settings.bat to point to 64 bit python and git.
  6. ran settings.bat "FASTBUILD=0" "BOOST_VERSION=63"
  7. ran scripts\build.bat

build_mapnik.bat fails

     ..\..\src\geometry\closest_point.cpp(81): error C2440: 'initializing': cannot convert from 'initializer list'
   to 'mapnik::geometry::result_type'

closest_point.cpp
return result_type { pt_.x, pt_.y, 0.0 };

@springmeyer
Copy link

This looks to me that you are pulling Mapnik master, which requires C++14 features which likely don't work with visual studio 2015. I would recommend sticking with Mapnik 3.0.x rather than master (which is future v3.1.x)

@QuincyAdams24
Copy link
Author

QuincyAdams24 commented Oct 18, 2017

I tried
6. ran settings.bat "FASTBUILD=0" "BOOST_VERSION=63" "MAPNIKBRANCH=v3.0.x"
7. ran scripts\build.bat

now I get
fatal error C1083: Cannot open source file: '....\test\visual\parse_map_sizes.cpp': No such file or dire
ctory [D:\CodeDepot\Mk_Mapnik\windows-builds\packages\mapnik-v3.0.x\mapnik-gyp\build\test_visual_run.vcxproj]

@QuincyAdams24
Copy link
Author

I pulled master and copied over the missing files to v3.0.x.
ran it again
now I get

...\pip.zip\pip_vendor\requests\packages\urllib3\util\ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
...\pip.zip\pip_vendor\requests\packages\urllib3\util\ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
Could not fetch URL https://pypi.python.org/simple/pip/: There was a problem confirming the ssl certificate: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed - skipping
Could not find a version that satisfies the requirement pip (from versions: )
No matching distribution found for pip

@Nacktiv
Copy link

Nacktiv commented Nov 19, 2017

  1. installed Python 64 bit

isn't Python 32bit necessary?

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

3 participants