Thread: Navit on N900
View Single Post
Flandry's Avatar
Posts: 1,559 | Thanked: 1,786 times | Joined on Oct 2009 @ Boston
#431
Originally Posted by 白い熊 View Post
Have you tried the binary that you built since? I can't get the ones I compile to display anything...

I've compiled QT 4.7 for Maemo for the Nokia N900 and then the latest navit Subversion checkout.

I compiled it with:
Code:
./configure --enable-static --disable-binding-python --disable-gui-sdl --enable-avoid-float --enable-avoid-unaligned --enable-svg2png-scaling="32,48,64" --enable-svg2png-scaling-flag="32,48,64" --enable-svg2png-scaling-nav="8,16,32,48,64" --disable-samplemap --disable-graphics-sdl --enable-vehicle-maemo --enable-gui-qml --enable-plugin-pedestrian --disable-graphics-null
Now when I run navit, it runs with the following feedback on the console:

Code:
$ navit
graphics_qt_qpainter:graphics_priv* graphics_qt_qpainter_new(navit*, graphics_methods*, attr**, callback_list*):enter
graphics_qt_qpainter:graphics_priv* graphics_qt_qpainter_new(navit*, graphics_methods*, attr**, callback_list*):return
navit:plugin_load:can't load '/usr/lib/navit/osd/libosd_core.so', already loaded
and that's it, no graphical output, nothing. Originally thought the graphics null display was active, that's why I explicitly disabled it.

Doesn't crash or segfault, stays put there running, but no graphical output...

What could be wrong? Any ideas?
I don't remember anymore if the binary i compiled worked. I think it didn't produce any display and i assumed it was a configuration problem and then got busy with other things. If the navit.xml and files included by it aren't to its liking, then that's often the result.

Originally Posted by adhiemsumitro View Post
any news about osd files for better view ? i tried using osd files from somewhere in this thread (which is compatible with magellan's version) but failed when being used on flandry's version
In the build that my script installs, the different aspects of configuration have been broken out into separate files for ease of modifying specific aspects. The OSD description is in OSD.xml.

I have tried modifying the layout but the default is actually pretty good given the landscape orientation and also the GUI is limited. Basically i'm waiting for a working version of the QML GUI to see how that improves things.

Originally Posted by lasman View Post
Hello Flandry,

I wonder if you would consider revising your uninstall script as it does not remove all that the install script instals. There are still deb files left in /home/user. Also espeak was left on the system after uninstall via script. This is just what I have noticed. Thanks.
Right, it only uninstalls the packages and doesn't delete them. You can delete them using
Code:
rm navit*.deb
It also doesn't remove anything that might have been installed by another application, like espeak.

Code:
sudo gainroot
apt-get remove espeak
Should accomplish that.

Originally Posted by athee View Post
Hi Flandry,

I couldn't run using your script. It seems I'm the only one who is having this problem.. Per your script,

mv MyDocs/navit-install.txt .
sudo gainroot
chmod a+x navit-install.txt
./navit-install.txt
exit

I downloaded navi-install using n900 and tried saving to either Nokia N900, or Documents or MyDocs, then I run from X Terminal either:

mv /navit-install.txt . OR
mv documents/navit-install.txt . OR
mv MyDocs/navit-install.txt .

Then I would get this error:
mv: cannot rename '/navit-install.txt': No such File or Directory OR
mv: cannot rename 'documents/navit-install.txt': No such File or Directory OR
mv: cannot rename 'MyDocs/navit-install.txt': No such File or Directory

Could you tell me what I did wrong?

Thanks,
The first two don't exist. The first one looks for a file in the root of the filesystem called navit-install.txt. The second looks for the file in a non-existent directory called documents (the Documents folder is at MyDocs/.documents (note the period in the name). The last should have worked if you were in the user home directory (the default when you first open an xterm) and saved the script in Nokia N900 (which is the directory called /home/user/MyDocs).

Perhaps you used a hyphen instead of an underscore, or vice versa?
__________________

Unofficial PR1.3/Meego 1.1 FAQ

***
Classic example of arbitrary Nokia decision making. Couldn't just fallback to the no brainer of tagging with lat/lon if network isn't accessible, could you Nokia?
MAME: an arcade in your pocket
Accelemymote: make your accelerometer more joy-ful