[GraphHopper] Need help compiling map with Cygwin64
Peter
graphhopper at gmx.de
Mon Mar 9 10:36:34 UTC 2015
can you check what
ls tools/target/*jar
gives you? There should be a jar-with-dependencies
Peter
On 08.03.2015 16:56, Nico Nijman wrote:
> 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
>
>
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20150309/0c0cd8aa/attachment.html>
More information about the GraphHopper
mailing list