[GraphHopper] windows & cygwin

Peter K peathal at yahoo.de
Wed Nov 20 11:42:07 UTC 2013


Is /bin/bash available in your cygwin environment? The elif command 
should be handled by bash. Maybe you have to install bash into cygwin?

Peter.

> I followed the instruction
> in https://github.com/graphhopper/graphhopper/wiki/Windows
>
> I have also done the troubleshooting part and i am still getting this
> error.
>
> $ ./graphhopper.sh web europe_germany_berlin.osm
> ./graphhopper.sh: line 2: $'\r': command not found
> ./graphhopper.sh: line 34: syntax error near unexpected token `elif'
> '/graphhopper.sh: line 34: `  elif [ ! -s "$OSM_FILE" ]; then
>
> If i remove the empty line in line 2, i don't get the 1st error but
> the 2nd and 3rd error remains.





More information about the GraphHopper mailing list