mapbox / windows-builds

DEPRECATED! build scripts for mapnik dependencies, mapnik, node-mapnik, node, libosmiom, osmium-tool
38 stars 22 forks source link

VS 2015 RC Protoc.exe #39

Closed jbrwn closed 9 years ago

jbrwn commented 9 years ago

@BergWerkGIS - I'm getting some weird errors when trying to use the protoc.exe that is bundled with the mapnik-sdk here:

x64: https://mapnik.s3.amazonaws.com/dist/dev/vs2015rc1/mapnik-win-sdk-14.0-x64-v3.0.0-rc1-1126-g340ed85.7z

x86: https://mapnik.s3.amazonaws.com/dist/dev/vs2015rc1/mapnik-win-sdk-14.0-x86-v3.0.0-rc1-1126-g340ed85.7z

Everything worked fine locally on a fresh windows server 2008 r2 machine with VS 2015 RC installed. However, the executable starting throwing errors in appveyor images (see screenshot below). I get the error on both Visual Studio 2015 CTP 6 and Visual Studio 2015 RC build workers. Here is the issue i opened up at appveyor for this.

Can you confirm the version of visual studio 2015/C runtime was used to compile the protoc.exe that is bundled with mapnik-sdk? I'm thinking there might be some weird C runtime issues going on.

image

wilhelmberg commented 9 years ago

@jbrwn Y, I did a clean rebuild, so everything should be RC. would you mind posting a bigger screenshot?

jbrwn commented 9 years ago

Ha. Sorry about potato quality. This should be better:

image

wilhelmberg commented 9 years ago

hrm, yes, that looks like a conflict between wrong runtimes. I'm about to power down now, but will verify later in the evening or tomorrow.

jbrwn commented 9 years ago

Thanks @BergWerkGIS

wilhelmberg commented 9 years ago

@jbrwn I've verified, that it works for me on AppVeyor via RDP.

It seems you are using the wrong SDK in your AppVeyor.yml#L20:

(New-Object Net.WebClient).DownloadFile("http://mapnik.s3.amazonaws.com/dist/dev/mapnik-win-sdk-14.0-$env:Platform-v3.0.0-rc1-1126-g340ed85.7z", "$pwd\mapnik-win-sdk.7z")

which should be:

https://mapnik.s3.amazonaws.com/dist/dev/vs2015rc1/mapnik-win-sdk-14.0-x64-v3.0.0-rc1-1126-g340ed85.7z
jbrwn commented 9 years ago

oh. my. god. I went through like 30 builds on appveyor trying to figure out what was going on.

thanks for saving me from myself @BergWerkGIS.

wilhelmberg commented 9 years ago

:smile: