[pgrouting-dev] Solution ] Re: [Build errors ] Re: osm2pgrouting 2.1.0 Beta is available for testing

dave.potts at pinan.co.uk dave.potts at pinan.co.uk
Sun Mar 20 10:20:26 PDT 2016


Hi

It seems that there is an error in osm2pgrouting.cpp

You need to add #include <iostream> otherwise it gets confused about cout being a memeber of std

e.g.

#include <unistd.h>
#include <string>
#include <iostream>
#include <ctime>
#include <chrono>
#include "./ConfigurationParserCallback.h"
#include "./OSMDocument.h"
#include "./OSMDocumentParserCallback.h"
#include "./Export2DB.h"
#include "./prog_options.h"

I made this change on my machine and it build

Dave

20 March 2016 17:14, dave.potts at pinan.co.uk wrote:
> Hi 
> 
> Tried building this on Ubuntu 15.10 using g++ version 4.5.2.1 vers postgres 9.5
> 
> See the attached list of errors when building it
> 
> Dave.
> 
> 20 March 2016 13:42, "Stephen Woodbridge" <woodbri at swoodbridge.com> wrote:
> 
>> Hi all,
>> 
>> Vicky has released osm2pgrouting 2.1.0 Beta.
>> You can read about it and download from here:
>> 
>> https://github.com/pgRouting/osm2pgrouting/releases/tag/osm2pgrouting-2.1.0-beta
>> 
>> The release starts refactoring the osm2pgrouting code. There are a lot of bug fixes and
>> enhancements in this code. The link above also links to the issues that were closed.
>> 
>> WE NEED YOUR HELP! Things that you can do:
>> 
>> * please check any issues you reported against prior releases
>> * download, compile, and try it out and report any issues that you find
>> * Mac OS-X testing. This is important for someone to compile, install and make some simple tests.
>> Our normal OS-X guru is busy and it would be great to get some confirmation that this is working.
>> 
>> Please give us a helping hand with getting this release tested and out the door.
>> 
>> Best regards,
>> -Steve
>> 
>> ---
>> This email has been checked for viruses by Avast antivirus software.
>> https://www.avast.com/antivirus
>> 
>> _______________________________________________
>> pgrouting-dev mailing list
>> pgrouting-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/pgrouting-dev
> 
> _______________________________________________
> pgrouting-dev mailing list
> pgrouting-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/pgrouting-dev


More information about the pgrouting-dev mailing list