logo separator

[mkgmap-dev] Building display.jar fails

From Felix Hartmann extremecarver at gmail.com on Thu Dec 2 16:26:07 GMT 2021

then it does not find anything anymore.

like this:

ompile:
    [javac] Compiling 589 source files to
C:\openmtbmap\mkgmap_display\build\classes
    [javac]
C:\openmtbmap\mkgmap_display\src\uk\me\parabola\imgfmt\app\Coord.java:23:
error: package it.unimi.dsi.fastutil.longs does not exist
    [javac] import it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap;
    [javac]                                   ^
    [javac]
C:\openmtbmap\mkgmap_display\src\uk\me\parabola\imgfmt\app\Coord.java:124:
error: cannot find symbol
    [javac]     public static Coord makeHighPrecCoord(int latHp, int lonHp,
Long2ObjectOpenHashMap<Coord> coordPool) {
    [javac]
^
    [javac]   symbol:   class Long2ObjectOpenHashMap
    [javac]   location: class Coord
    [javac]
C:\openmtbmap\mkgmap_display\src\uk\me\parabola\imgfmt\app\lbl\LBLFileReader.java:21:
error: package it.unimi.dsi.fastutil.ints does not exist
    [javac] import it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap;
    [javac]                                  ^
    [javac]
C:\openmtbmap\mkgmap_display\src\uk\me\parabola\imgfmt\app\net\RouteNode.java:25:
error: package it.unimi.dsi.fastutil.ints does not exist
    [javac] import it.unimi.dsi.fastutil.ints.IntArrayList;
    [javac]                                  ^
    [javac]
C:\openmtbmap\mkgmap_display\src\uk\me\parabola\mkgmap\reader\osm\TagDict.java:18:
error: package it.unimi.dsi.fastutil.shorts does not exist
    [javac] import it.unimi.dsi.fastutil.shorts.ShortArrayList;
    [javac]                                    ^
    [javac]
C:\openmtbmap\mkgmap_display\src\uk\me\parabola\mkgmap\reader\osm\TagDict.java:98:
error: cannot find symbol
    [javac]     public static ShortArrayList compileTags(String ...keys) {
    [javac]                   ^
    [javac]   symbol:   class ShortArrayList
    [javac]   location: class TagDict
    [javac]
C:\openmtbmap\mkgmap_display\src\uk\me\parabola\imgfmt\app\lbl\LBLFileReader.java:54:
error: cannot find symbol
    [javac]     private final Int2ObjectOpenHashMap<Label> labels = new
Int2ObjectOpenHashMap<>();
    [javac]                   ^

On Thu, 2 Dec 2021 at 16:54, Gerd Petermann <gpetermann_muenchen at hotmail.com>
wrote:

> Hi Felix,
>
> please try svn up.
> Maybe the change in
> https://www.mkgmap.org.uk/websvn/revision.php?repname=display&rev=565
> helps.
>
> Gerd
>
> ________________________________________
> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von
> Felix Hartmann <extremecarver at gmail.com>
> Gesendet: Donnerstag, 2. Dezember 2021 16:49
> An: Development list for mkgmap
> Betreff: [mkgmap-dev] Building display.jar fails
>
> I can actually avoid it by placing mkgmap.jar into the display tool folder
> - however then the display.jar is not working and ends with the notice:
> "no main manifest attribute, in C:\openmtbmap\display.jar"
>
>
>
>
> I get the following error I don't know how to solve when building the
> display.jar display tool - with the mkgmap folder inserted into the
> build.xml:
>
> Buildfile: C:\openmtbmap\mkgmap_display\build.xml
>
> prepare:
>     [mkdir] Created dir: C:\openmtbmap\mkgmap_display\build\classes
>
> ivy-availability:
>
> download-ivy:
>     [mkdir] Created dir: C:\openmtbmap\mkgmap_display\lib\build
>       [get] Getting:
> https://repo1.maven.org/maven2/org/apache/ivy/ivy/2.5.0/ivy-2.5.0.jar
>       [get] To: C:\openmtbmap\mkgmap_display\lib\build\ivy-2.5.0.jar
>
> init-ivy:
> [ivy:configure] :: Apache Ivy 2.5.0 - 20191020104435 ::
> https://ant.apache.org/ivy/ ::
> [ivy:configure] :: loading settings :: file =
> C:\openmtbmap\mkgmap_display\ivysettings.xml
>
> resolve-compile:
>
> compile:
>     [javac] Compiling 589 source files to
> C:\openmtbmap\mkgmap_display\build\classes
>     [javac]
> C:\openmtbmap\mkgmap_display\src\uk\me\parabola\mkgmap\srt\SrtTextReader.java:416:
> error: unclosed character literal
>     [javac]                     if (ch == 'ª' || (Character.isLetter(ch)
> && (Character.getType(ch) & Character.MODIFIER_LETTER) == 0))
>     [javac]                               ^
>     [javac]
> C:\openmtbmap\mkgmap_display\src\uk\me\parabola\mkgmap\srt\SrtTextReader.java:416:
> error: unclosed character literal
>     [javac]                     if (ch == 'ª' || (Character.isLetter(ch)
> && (Character.getType(ch) & Character.MODIFIER_LETTER) == 0))
>     [javac]                                  ^
>     [javac]
> C:\openmtbmap\mkgmap_display\src\uk\me\parabola\mkgmap\srt\SrtTextReader.java:416:
> error: not a statement
>     [javac]                     if (ch == 'ª' || (Character.isLetter(ch)
> && (Character.getType(ch) & Character.MODIFIER_LETTER) == 0))
>     [javac]                                 ^
>     [javac]
> C:\openmtbmap\mkgmap_display\src\uk\me\parabola\mkgmap\srt\SrtTextReader.java:416:
> error: not a statement
>     [javac]                     if (ch == 'ª' || (Character.isLetter(ch)
> && (Character.getType(ch) & Character.MODIFIER_LETTER) == 0))
>     [javac]                                                               ^
>     [javac]
> C:\openmtbmap\mkgmap_display\src\uk\me\parabola\mkgmap\srt\SrtTextReader.java:416:
> error: ';' expected
>     [javac]                     if (ch == 'ª' || (Character.isLetter(ch)
> && (Character.getType(ch) & Character.MODIFIER_LETTER) == 0))
>     [javac]
>                                                           ^
>     [javac] 5 errors
>
>
>
>
>
> --
> Felix Hartman - Openmtbmap.org & VeloMap.org
>
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev



-- 
Felix Hartman - Openmtbmap.org & VeloMap.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20211202/fcf7b75b/attachment.html>


More information about the mkgmap-dev mailing list