Thread: Navit on N900
View Single Post
Posts: 127 | Thanked: 86 times | Joined on Sep 2009 @ Hannover, Germany
#9
I compiled navit-trunk in the N900 SDK to generate arm-code.
Compiling was fine, there was a small lib glitch when compiling maptool.

I used
Code:
./configure --prefix=/opt/navit --enable-vehicle-maemo && make && make install
to put everything to /opt, create a navit.tgz, scp to the N900, unpack in /opt/navit and try to start with
Code:
 NAVIT_SHAREDIR=/opt/navit/share/navit  NAVIT_LIBDIR=/opt/navit/lib/navit /opt/navit/bin/navit -d 1 -c /home/user/.navit/navit.xml
This crashs the program when it has to render the map. Compiling this for the x86 target and running in the SDK is fine :-/ If I start without NAVIT_SHAREDIR (== without map-data) I have a GUI without map and no crash.

I used GTK-GUI and
Code:
                <vehicle name="Maemo" enabled="yes" source="maemo://any" retry_interval="2"/>
                <!-- source cound be on of "any","cwp","acwp","gnss","agnss" -->
                <!-- retry_interval could be one of "1","2","5","10","20","30","60","120" measured in seconds -->
in the XML-config file

Any ideas?

Last edited by schnebeck; 2010-01-17 at 00:53.