windows-builds icon indicating copy to clipboard operation
windows-builds copied to clipboard

Window Build

Open QuincyAdams24 opened this issue 8 years ago • 4 comments
trafficstars

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 };

QuincyAdams24 avatar Oct 17 '17 23:10 QuincyAdams24

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)

springmeyer avatar Oct 18 '17 00:10 springmeyer

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 avatar Oct 18 '17 19:10 QuincyAdams24

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

QuincyAdams24 avatar Oct 19 '17 23:10 QuincyAdams24

  1. installed Python 64 bit

isn't Python 32bit necessary?

Nacktiv avatar Nov 19 '17 20:11 Nacktiv