node-mapnik icon indicating copy to clipboard operation
node-mapnik copied to clipboard

Windows build for version 3.6.2

Open am2222 opened this issue 5 years ago • 4 comments

Hi, I know that windows build support is stopped but I read that we can still use 3.6.2 version of node-mapnik. Is it stopped to? I get this error which says binaries are removed

node-pre-gyp ERR! Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/mapnik/v3.6.2/node-v64-win32-x64-Release.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI) (falling back to source compile with node-gyp) 
node-pre-gyp ERR! Tried to download(undefined): https://mapbox-node-binary.s3.amazonaws.com/mapnik/v3.6.2/node-v64-win32-x64-Release.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI) (falling back to source compile with node-gyp) 

am2222 avatar Dec 26 '19 17:12 am2222

I think I got my question here: https://github.com/mapnik/node-mapnik/issues/891 But does making mapnik has anything to do with nodejs version? I can build mapnik on windows using vcpkg. so if I make a tarball same as this file https://mapbox-node-binary.s3.amazonaws.com/mapnik/v3.6.2/node-v48-win32-x64-Releasev140.tar.gz what other steps should I take to be able to build node-mapnik?

am2222 avatar Dec 26 '19 19:12 am2222

Hello, you said you could build mapnik on windows using vcpkg, could you give the detailed steps? Thanks very much!

smarttigerfly avatar Jan 11 '20 03:01 smarttigerfly

@smarttigerfly hi, yes just look at the mapnik repository in my profile. I works with vcpkg

am2222 avatar Jan 11 '20 03:01 am2222

@am2222 Ok, thanks!

smarttigerfly avatar Jan 11 '20 03:01 smarttigerfly