Navit

From OpenTom

Jump to: navigation, search

Contents

Navit

Navit is an open source (GPL) car navigation software for Linux systems. Navit will display your position on a 2D map, or as a 3D visualization from GPS sensor data - well, you should know Tomtom by now. Navit is based on map data provided by OpenStreetMap.

Compiling

To compile Navit, the correct tool chain is ultimate. What I've tried so far is:

attempt one

  • checkout navit from subversion
  • compile navit with native (x86_64) support
./autoconf.sh
./configure.sh
make

->it works on my PC

attempt two

  • install toolchain provided by Tomtom.
  • compile navit with arm-linux support
./autoconf.sh
./configure.sh
make

->it does not work at all (was compiled for x86_64)

attempt three

  • install toolchain provided by Tomtom.
  • compile navit with arm-linux support (./autoconf.sh; configure.sh; make)
./autoconf.sh
env CFLAGS="-I/usr/local/cross/gcc-3.3.4_glibc-2.3.2/include" \
    LDFLAGS="-L/usr/local/cross/gcc-3.3.4_glibc-2.3.2/lib" \
    ./configure --host=arm-linux
make

->It does not get compiled at all. Seems like libraries like zlib are missing.

So we're back to building the toolchain. Hints are welcome.


building toolchain (so far (not far enough))

  • zlib
./configure
make
cp zlib.h /usr/local/cross/gcc-3.3.4_glibc-2.3.2/include
cp zconf.h /usr/local/cross/gcc-3.3.4_glibc-2.3.2/include
  • glib
./configure --host=arm-linux
make
no further clue where to copy which files
Retrieved from "http://opentom.org/Navit"
Personal tools