On 10/21/2012 04:15 PM, Dane Springmeyer wrote:

On Oct 18, 2012, at 5:05 PM, Kai Krueger wrote:

[...]

I am not sure if this is essential for getting the rendering stack back up
and running on windows, but afaik the most recent version of osm2pgsql on
windows is from early 2010. It would be good if we could get a newer build
of osm2pgsql for windows.

Yes, definitely.

If anyone has a development tool chain up and running for windows, could
they give compiling osm2pgsql a try and report where things break?

I do, and I tried a few months back. There were lots of problems, too many to 
list here. I should write them up and get your feedback and mistakes I may have 
made in trying to the port.

If there is a nice write up of the necessary step of setting up the tool chain, I can try and fix the incompatibilities in windows. Alternatively, if there is a place to list the mistakes, I can help make the osm2pgsql code more compatible again.


Which
dependencies are or are not available for windows?

Everything is available. I found that dependencies were not a problem. The 
blocker was the osm2pgsql code. My first and only attempt was to compile with 
msvc which meant that c99 features are not supported and osm2pgsql depends 
pretty heavily on c99.

Well, it is good that all of the dependencies are available. Fixing the osm2pgsql code might be a bit tedious, but should be doable.

With respect to c99. I guess I can change the build scripts to using -ansi -pedantic. If it builds with gcc with those flags, will that help getting the build on windows?



Kai




--
View this message in context: 
http://gis.19327.n5.nabble.com/Notes-OSM-improvements-BoF-at-SOTM-PDX-tp5730849p5731670.html
Sent from the Developer Discussion mailing list archive at Nabble.com.

_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev



_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to