logo separator

[mkgmap-dev] Compiling Locator branch -- needed jars???

From Felix Hartmann extremecarver at gmail.com on Wed May 18 22:36:05 BST 2011

I get faults for missing jars starting with locator branch 1931. I can 
compile normal mkgmap with the same jars present. But dunno which to add.

Thats the jars I currently have in my lib folder, what am I missing?

(renamed dskiutils-1.0.11.jar to dsituils.jar because I feared it 
weren't found otherwise.

Just in case I copied all those files also to c:\windows for it to be on 
the path..., but no help either.



This is my log on compiling:
compile:
     [javac] Compiling 395 source files to 
d:\Garmin\mkgmap_svn_locator\build\classes
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinHandler.java:27: 
package crosby.binary does not exist
     [javac] import crosby.binary.BinaryParser;
     [javac]                     ^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinHandler.java:28: 
package crosby.binary does not exist
     [javac] import crosby.binary.Osmformat;
     [javac]                     ^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinMapDataSource.java:24: 
package crosby.binary.file does not exist
     [javac] import crosby.binary.file.BlockInputStream;
     [javac]                          ^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinHandler.java:42: 
cannot find symbol
     [javac] symbol  : class BinaryParser
     [javac] location: class 
uk.me.parabola.mkgmap.reader.osm.bin.OsmBinHandler
     [javac]     public class BinParser extends BinaryParser {
     [javac]                                    ^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinHandler.java:44: 
package Osmformat does not exist
     [javac]             protected void parse(Osmformat.HeaderBlock 
header) {
     [javac]                                           ^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinHandler.java:64: 
package Osmformat does not exist
     [javac]             protected void parseNodes(List<Osmformat.Node> 
nodes) {
     [javac]                                                     ^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinHandler.java:87: 
package Osmformat does not exist
     [javac]             protected final void 
parseDense(Osmformat.DenseNodes nodes) {
     [javac]                                                      ^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinHandler.java:130: 
package Osmformat does not exist
     [javac]             protected void parseWays(List<Osmformat.Way> 
ways) {
     [javac]                                                    ^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinHandler.java:164: 
package Osmformat does not exist
     [javac]             protected void 
parseRelations(List<Osmformat.Relation> rels) {
     [javac]                                                         ^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinMapDataSource.java:60: 
cannot find symbol
     [javac] symbol  : class BlockInputStream
     [javac] location: class 
uk.me.parabola.mkgmap.reader.osm.bin.OsmBinMapDataSource
     [javac]                     BlockInputStream stream = new 
BlockInputStream(is, reader);
     [javac]                     ^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinMapDataSource.java:60: 
cannot find symbol
     [javac] symbol  : class BlockInputStream
     [javac] location: class 
uk.me.parabola.mkgmap.reader.osm.bin.OsmBinMapDataSource
     [javac]                     BlockInputStream stream = new 
BlockInputStream(is, reader);
     [javac]                                                   ^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinHandler.java:65: 
package Osmformat does not exist
     [javac]                     for (Osmformat.Node binNode : nodes) {
     [javac]                                   ^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinHandler.java:93: 
operator + cannot be applied to Osmformat.DenseNodes.getLat,long
     [javac]                             long lat = nodes.getLat(nid) + 
lastLat;
     [javac]                                                    ^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinHandler.java:93: 
incompatible types
     [javac] found   : <nulltype>
     [javac] required: long
     [javac]                             long lat = nodes.getLat(nid) + 
lastLat;
     [javac]                                                          ^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinHandler.java:94: 
operator + cannot be applied to Osmformat.DenseNodes.getLon,long
     [javac]                             long lon = nodes.getLon(nid) + 
lastLon;
     [javac]                                                    ^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinHandler.java:94: 
incompatible types
     [javac] found   : <nulltype>
     [javac] required: long
     [javac]                             long lon = nodes.getLon(nid) + 
lastLon;
     [javac]                                                          ^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinHandler.java:95: 
operator + cannot be applied to Osmformat.DenseNodes.getId,long
     [javac]                             long id = nodes.getId(nid) + 
lastId;
     [javac]                                                  ^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinHandler.java:95: 
incompatible types
     [javac] found   : <nulltype>
     [javac] required: long
     [javac]                             long id = nodes.getId(nid) + 
lastId;
     [javac]                                                        ^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinHandler.java:100: 
cannot find symbol
     [javac] symbol  : method parseLat(long)
     [javac] location: class 
uk.me.parabola.mkgmap.reader.osm.bin.OsmBinHandler.BinParser
     [javac]                             Coord co = new 
Coord(parseLat(lat), parseLon(lon));
     [javac]                                                  ^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinHandler.java:100: 
cannot find symbol
     [javac] symbol  : method parseLon(long)
     [javac] location: class 
uk.me.parabola.mkgmap.reader.osm.bin.OsmBinHandler.BinParser
     [javac]                             Coord co = new 
Coord(parseLat(lat), parseLon(lon));
     
[javac]                                                                 ^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinHandler.java:109: 
cannot find symbol
     [javac] symbol  : method getStringById(int)
     [javac] location: class 
uk.me.parabola.mkgmap.reader.osm.bin.OsmBinHandler.BinParser
     [javac]                                             String key = 
getStringById(keyid);
     [javac]                                                          ^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinHandler.java:110: 
cannot find symbol
     [javac] symbol  : method getStringById(int)
     [javac] location: class 
uk.me.parabola.mkgmap.reader.osm.bin.OsmBinHandler.BinParser
     [javac]                                             String val = 
getStringById(valid);
     [javac]                                                          ^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinHandler.java:131: 
package Osmformat does not exist
     [javac]                     for (Osmformat.Way binWay : ways) {
     [javac]                                   ^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinHandler.java:166: 
package Osmformat does not exist
     [javac]                     for (Osmformat.Relation binRel : rels) {
     [javac]                                   ^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinHandler.java:182: 
operator + cannot be applied to long,Osmformat.Relation.getMemids
     [javac]                                     long mid = lastMid + 
binRel.getMemids(j);
     [javac]                                                ^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinHandler.java:182: 
incompatible types
     [javac] found   : <nulltype>
     [javac] required: long
     [javac]                                     long mid = lastMid + 
binRel.getMemids(j);
     [javac]                                                        ^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinHandler.java:187: 
package Osmformat.Relation does not exist
     [javac]                                     if (binRel.getTypes(j) 
== Osmformat.Relation.MemberType.NODE) {
     
[javac]                                                                                 
^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinHandler.java:198: 
package Osmformat.Relation does not exist
     [javac]                                     } else if 
(binRel.getTypes(j) == Osmformat.Relation.MemberType.WAY) {
     
[javac]                                                                                        
^
     [javac] 
d:\Garmin\mkgmap_svn_locator\src\uk\me\parabola\mkgmap\reader\osm\bin\OsmBinHandler.java:200: 
package Osmformat.Relation does not exist
     [javac]                                     } else if 
(binRel.getTypes(j) == Osmformat.Relation.MemberType.RELATION) {
     
[javac]                                                                                        
^
     [javac] Note: Some input files use unchecked or unsafe operations.
     [javac] Note: Recompile with -Xlint:unchecked for details.
     [javac] 29 errors

BUILD FAILED
d:\Garmin\mkgmap_svn_locator\build.xml:93: Compile failed; see the 
compiler error output for details.

Total time: 4 seconds
d:\Garmin\mkgmap_svn_locator>
















-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20110518/e4def24f/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: moz-screenshot-12.png
Type: image/png
Size: 2311 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20110518/e4def24f/attachment.png 


More information about the mkgmap-dev mailing list