2015 RTM
Hi @jbrwn, I was trying to build NET-Mapnik using @BergWerkGIS's latest SDK built against the RTM of VC++ 2015 and am running into:

Any ideas? Thanks!
My guess is that either 1) protoc.exe doesn't exist at the path listed or 2) protoc.exe was compiled with VS C++ runtime that isn't on your machine. Can you try running protoc.exe at the command line to see if you get any additional information?
I'm stoked to see your working on a VS2015 RTM build. I just created a branch for this so feel free to queue up a pull request for your work. Don't worry if the build isn't 100% working.
Some additional ideas:
- are you sure, you are using the SDK linked here: https://github.com/mapbox/windows-builds/issues/38#issuecomment-123672083 It's the only one built with VS2015. All other automated builds are still built with VS2014 CTP4.
- Look at the
Outputtab, you might find more information there - Go to
Tools -> Options -> Projects and Solutions -> Build and Run- Change
MSBuild project build output verbositytoDiagnostic - Do you get more information?
- Change
Tried a quick build with mapnik/master and mapnik-vector-tile/master as of today. Despite manually copying some files from https://github.com/mapbox/protozero and https://github.com/mapnik/node-mapnik it was not successful.
A lot has moved in mapnik, node-mapnik and mapnik-vector-tile recently. I suppose we have to find the right combination of versions.
OK, thank you both @jbrwn & @BergWerkGIS. Yes, I finally am getting some time to work on this and use it in another project, once we're back up and running. I'll look into your suggestions and keep plugging away. We'll sort it out ;-). Thanks again.
Some hints from @springmeyer on how to continue: https://github.com/mapbox/mapnik-vector-tile/issues/137#issuecomment-125640070
@jbrwn FYI: I took another look at NET-Mapnik, VS2015 RTM and the latest [email protected]:
https://github.com/jbrwn/NET-Mapnik/compare/vs2015-rtm...BergWerkGIS:vs2015-rtm
I've added build-local.bat, which pulls down the needed dependencies and does the build.
Unfortunately it doesn't compile yet, as I'm stuck at this error and don't know how to solve it (my C++ knowledge is more than a bit rusty):
c:\mb\NET-Mapnik\lib\x64\mapnik-sdk\include\mapnik/util/variant.hpp(859): error C2059: syntax error: 'template'
[c:\mb\NET-Mapnik\NETMapnik\NETMapnik.vcxproj
It's hard for me to tell what is going on without more context. It looks like the compiler is complaining about the templates in variant.hpp in the mapnik-sdk. One thing to check is whether this error is caused by simply including the header or if it is triggered by an actual piece of code in the net-mapnik project.
@jbrwn thanks, but I didn't expect an answer, I just wanted to let you know that I keep looking into it when I find a spare minute or two.
I got past that error by changing this code to this And got hundreds of new ones :frowning:
@BergWerkGIS right on. Stoked to have you taking a look at it when you can. I've been slammed at my day job and haven't been able to give much attention to this project lately :disappointed:
I got past that error by changing this code to this And got hundreds of new ones :frowning:
Ha. The joy of c++