[GraphHopper] Need help compiling map with Cygwin64
Nico Nijman
nico.nijman at gmail.com
Sun Mar 8 15:56:04 UTC 2015
Hello,
I am trying to compile/build a small map on a windows 7 machine, using
cygwin64. I managed to compile/build a map with version 0.3, but since
there now is a nice 0.4 version I would like to use that in my app and this
results in a message that errors occurred when loading the map.
I can understand this, so I would like to re-compile my map with
graphhopper version 0.4. When I tried to run "./graphhopper.sh import
map_son.pbf" I got a bunch of error messages that have to do with the line
ends ( {\r is considered an unknown command), I could get around this by
removing some linebreaks.
In the end I got "graphhopper.sh" to the point where I think it should
start to do something, but then it gave me this output:
====================================================
Nico at Nijman /cygdrive/c/temp/graphhopper-0.4
$ ./graphhopper.sh import map_son.pbf
## using java from C:\Program Files\Java\jdk1.7.0_71\
## using existing osm file map_son.pbf
## now building graphhopper jar:
core/target/graphhopper-0.4.0-RC1-jar-with-dependencies.jar
## using maven at C:\Program files\maven
## now import. JAVA_OPTS=-XX:PermSize=60m -XX:MaxPermSize=60m -Xmx1000m
-Xms1000m -server
Error: Could not find or load main class com.graphhopper.tools.Import
Nico at Nijman /cygdrive/c/temp/graphhopper-0.4
$
====================================================
The jar files were succesfully created, but it seems the script can't
access them.
Does anyone know where I could look to solve this problem?
Does anyone have experience with the use of this script in combination with
windows and cygwin64?
Thanks in advance for any advice.
Kind regards, Nico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20150308/98f93856/attachment.html>
More information about the GraphHopper
mailing list