logo separator

[mkgmap-dev] Running mkgmap in Eclipse

From Walter Wright walter.wright at gmail.com on Thu Mar 24 14:11:09 GMT 2011

Steve,

Do you see the compilation error in MultiHashMap.java? If not, it may just
come down to my using Eclipse.

MultiHashMap.java: Line 24:
Name clash: The method get(K) of type MultiHashMap<K,V> has the same erasure
as get(Object) of type HashMap<K,V> but does not override it
It's not happy about the method signature:
public List<V> get(K key) { ... }

My experience with generics isn't deep enough to know how to resolve this
(while still keeping the intended functionality of MultiHashMap)

Walter
On 23 March 2011 14:53, Steve Ratcliffe <steve at parabola.me.uk> wrote:

>
> Hi
>
> On 23/03/11 10:30, Walter Wright wrote:
> > Hi, this is my first foray into looking at the mkgmap code so please
> > bear with. I'm trying to run mkgmap in an Eclipse workspace and I've
> > downloaded the r1899 source archive as a starting point. I'm getting a
> > load of errors, mostly around a number of crosby* libraries missing. Is
> > there somewhere I can look to find out what I need to do to pull
> > together a working environment?
>
> The splitter project contains the jar files you need. I've not got
> around to including them directly into the mkgmap project as they are
> required to build it (the files that use it can be excluded and it will
> still work).
>
> The jar files you need are protobuf.jar and osmpbf.jar which are
> located in the lib directory of the splitter project.
>
>        http://svn.mkgmap.org.uk/splitter/trunk
>
> > Also, is Eclipse a suitable IDE for this? It's what I've been working
> > with for the last couple of years so it is comfortably familiar at least.
>
> Yes it will be fine if you are familiar with it. I don't use it myself,
> so I don't know how you configure the library jar files.
>
> ..Steve
>
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20110324/6b27fb59/attachment.html 


More information about the mkgmap-dev mailing list