<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">can you check what<br>
ls tools/target/*jar<br>
<br>
gives you? There should be a jar-with-dependencies<br>
<br>
Peter<br>
<br>
On 08.03.2015 16:56, Nico Nijman wrote:<br>
</div>
<blockquote
cite="mid:CAHw0u+wtxHafM_R4oCZ0StgsiJW8_og=A+WdZ1BSACsPTArRyg@mail.gmail.com"
type="cite">
<div dir="ltr">Hello,
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>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. </div>
<div><br>
</div>
<div>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:</div>
<div>
<div>====================================================<br>
</div>
<div>
<div>Nico@Nijman /cygdrive/c/temp/graphhopper-0.4<br>
</div>
<div>$ ./graphhopper.sh import map_son.pbf</div>
<div>## using java from C:\Program Files\Java\jdk1.7.0_71\</div>
<div>## using existing osm file map_son.pbf</div>
<div>## now building graphhopper jar:
core/target/graphhopper-0.4.0-RC1-jar-with-dependencies.jar</div>
<div>## using maven at C:\Program files\maven</div>
<div>## now import. JAVA_OPTS=-XX:PermSize=60m
-XX:MaxPermSize=60m -Xmx1000m -Xms1000m -server</div>
<div>Error: Could not find or load main class
com.graphhopper.tools.Import</div>
<div><br>
</div>
<div>Nico@Nijman /cygdrive/c/temp/graphhopper-0.4</div>
<div>$</div>
</div>
<div>====================================================<br>
</div>
</div>
<div><br>
</div>
<div>The jar files were succesfully created, but it seems the
script can't access them. </div>
<div><br>
</div>
<div>Does anyone know where I could look to solve this problem?</div>
<div>Does anyone have experience with the use of this script in
combination with windows and cygwin64?</div>
<div><br>
</div>
<div>Thanks in advance for any advice.</div>
<div><br>
</div>
<div>Kind regards, Nico</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
GraphHopper mailing list
<a class="moz-txt-link-abbreviated" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/graphhopper">https://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
</blockquote>
<br>
</body>
</html>