Page 8 of 12 FirstFirst 123456789101112 LastLast
Results 71 to 80 of 119

Thread: Navit - The OpenSource vector based navigation program with routing engine.

  1. #71
    Raw Wave shotgunefx's Avatar
    Join Date
    Apr 2005
    Location
    Boston, MA
    Posts
    1,800
    Quote Originally Posted by KaZeR View Post
    Ok. looks like your make install didn't succeed then. We'll have to fix that.
    Can you try to run it from the source directory? (in navit/src, run ./navit)
    That worked. Of course, it's all a blank as I haven't installed maps for anywhere yet

  2. #72
    Low Bitrate
    Join Date
    Jan 2007
    Posts
    81
    Quote Originally Posted by shotgunefx View Post
    That worked. Of course, it's all a blank as I haven't installed maps for anywhere yet
    Ok. Can you send me (in pm for example, or paste a link here to pastbin.ca) your compile log? Be sure to make a clean checkout before, for example remove the directory and refetch it from cvs (or from release, as you wish).

    I'll dig this missing macro thing.

    About maps, where are you from? OSM maps are usually a good starting point.

  3. #73
    Raw Wave shotgunefx's Avatar
    Join Date
    Apr 2005
    Location
    Boston, MA
    Posts
    1,800
    Quote Originally Posted by KaZeR View Post
    Ok. Can you send me (in pm for example, or paste a link here to pastbin.ca) your compile log? Be sure to make a clean checkout before, for example remove the directory and refetch it from cvs (or from release, as you wish).

    I'll dig this missing macro thing.

    About maps, where are you from? OSM maps are usually a good starting point.
    Thanks, I'll try and get to that this evening and send it off.

    I'm in MA , USA. OSM isn't much help for this area. Have been perusing my IG files though or attempting to anyway.

  4. #74
    Low Bitrate
    Join Date
    Jan 2007
    Posts
    81
    Here's a screenshot with our new skin :



    We have to finish some controls (like speed-o-meter) but every controls drawn is working.

    It's in CVS.

  5. #75
    Low Bitrate bpwned's Avatar
    Join Date
    Jan 2007
    Location
    Munich, Germany
    Posts
    82
    Hi there again, just tried to compile navit 0.0.1 on OS X. So here's what I got:

    ./configure worked after I had gtk (done with MacPorts)

    Then "make" - didn't work, maybe you can help me, that's what it tells me (output of third attempt):

    Code:
    alexs-computer:~/navit-0.0.1 alex$ make      
    make  all-recursive
    Making all in src
    Making all in binding
    Making all in python
    make[4]: Nothing to be done for `all'.
    make[4]: Nothing to be done for `all-am'.
    Making all in data
    Making all in mg
    /bin/sh ../../../libtool --tag=CC --mode=link gcc  -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE   -o libdata_mg.la -rpath /usr/local/lib/navit/data  map.lo block.lo town.lo tree.lo poly.lo street.lo  -lm -rdynamic
    gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libdata_mg.0.0.0.dylib  .libs/map.o .libs/block.o .libs/town.o .libs/tree.o .libs/poly.o .libs/street.o  -lm  -install_name  /usr/local/lib/navit/data/libdata_mg.0.dylib -Wl,-compatibility_version -Wl,1 -Wl,-current_version -Wl,1.0
    ld: multiple definitions of symbol _debug_level
    .libs/map.o definition of _debug_level in section (__DATA,__common)
    .libs/block.o definition of _debug_level in section (__DATA,__common)
    .libs/town.o definition of _debug_level in section (__DATA,__common)
    .libs/tree.o definition of _debug_level in section (__DATA,__common)
    .libs/poly.o definition of _debug_level in section (__DATA,__common)
    .libs/street.o definition of _debug_level in section (__DATA,__common)
    /usr/bin/libtool: internal link edit command failed
    make[4]: *** [libdata_mg.la] Error 1
    make[3]: *** [all-recursive] Error 1
    make[2]: *** [all-recursive] Error 1
    make[1]: *** [all-recursive] Error 1
    make: *** [all] Error 2
    So, what can I do?

  6. #76
    Low Bitrate
    Join Date
    Jan 2007
    Posts
    81
    Since i had no idea, i asked cp15 about this, and here's his thoughts :

    Quote Originally Posted by cp15
    There seems to be a bug in the navit code. Strange that it didn't appear earlier.
    In debug.h replace int debug_level; with extern int debug_level;
    Let us know!

  7. #77
    Low Bitrate bpwned's Avatar
    Join Date
    Jan 2007
    Location
    Munich, Germany
    Posts
    82
    Ok, I've added "extern" and now here we go:

    Code:
    alexs-computer:~/navit-0.0.1 alex$ make
    make  all-recursive
    Making all in src
    Making all in binding
    Making all in python
    make[4]: Nothing to be done for `all'.
    make[4]: Nothing to be done for `all-am'.
    Making all in data
    Making all in mg
    make[4]: Nothing to be done for `all'.
    Making all in textfile
    make[4]: Nothing to be done for `all'.
    Making all in garmin_img
    make[4]: Nothing to be done for `all'.
    Making all in poi_geodownload
    Making all in libmdb
    Making all in include
    make[6]: Nothing to be done for `all'.
    make[6]: Nothing to be done for `all-am'.
    make[5]: Nothing to be done for `all-am'.
    make[4]: Nothing to be done for `all-am'.
    Making all in fib-1.1
    make[3]: Nothing to be done for `all'.
    Making all in gui
    make[4]: Nothing to be done for `all-am'.
    Making all in graphics
    Making all in null
    make[4]: Nothing to be done for `all'.
    make[4]: Nothing to be done for `all-am'.
    Making all in osd
    make[4]: Nothing to be done for `all-am'.
    Making all in speech
    Making all in cmdline
    make[4]: Nothing to be done for `all'.
    make[4]: Nothing to be done for `all-am'.
    Making all in vehicle
    Making all in file
    make[4]: Nothing to be done for `all'.
    make[4]: Nothing to be done for `all-am'.
    Making all in xpm
    make[3]: Nothing to be done for `all'.
    if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../src/fib-1.1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include   -DMODULE=\"navit\" -I/System/Library/Frameworks/CoreFoundation.framework/Headers  -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE -MT param.o -MD -MP -MF ".deps/param.Tpo" -c -o param.o param.c; \
    then mv -f ".deps/param.Tpo" ".deps/param.Po"; else rm -f ".deps/param.Tpo"; exit 1; fi
    param.c:3:20: error: malloc.h: No such file or directory
    param.c: In function 'param_add_string':
    param.c:10: warning: implicit declaration of function 'malloc'
    param.c:10: warning: incompatible implicit declaration of built-in function 'malloc'
    make[3]: *** [param.o] Error 1
    make[2]: *** [all-recursive] Error 1
    make[1]: *** [all-recursive] Error 1
    make: *** [all] Error 2
    So...?

  8. #78
    Low Bitrate
    Join Date
    Jan 2007
    Posts
    81
    https://stat.ethz.ch/pipermail/r-sig...ch/000807.html

    should help i think.

    Two choice, either the symlink, or just comment the include <malloc.h>
    If it works, we'll add a platform-dependent include.

    ( Also, there's our irc channel (irc://irc.freenode.org/navit) if you want to chat. )

  9. #79
    Low Bitrate bpwned's Avatar
    Join Date
    Jan 2007
    Location
    Munich, Germany
    Posts
    82
    Awesome, I commented the line and got it installed.

    Now it's asking for a navit.xml, is there some site where I can read what I have to do know to proceed?

  10. #80
    Low Bitrate
    Join Date
    Jan 2007
    Posts
    81
    You should have a sample file in the src directory (subfolder of where you ran ./autogen.sh and others).

    Navit will look for the file in the following folder, in this order :
    - ~/.navit/navit.xml
    - ./navit.xml

    Also, you can specify which file to use on the command line (in case path detection is broken under MacOS). Just add the path to the file :
    ./navit <path>

    If you ran make install, and tried to run it by typing directly 'navit', this is somehow normal (we should add some lines telling how to configure this file). If you ran navit from the src dir, then, it's weird


    The documentation about navit.xml can be found here :
    http://navit.wiki.sourceforge.net/Configuring+navit

    Basically, you only need to change the mapset to point to the folder where you stored your maps.
    Also, you need only the path to the DE.map (or DEM.map depending of your map version) and at least one smp file.
    If you're in Germany, you need smp3. In France, smp1.
    To find which smp file you need (loading only the one you need will increase performances a little) you can load all the smp files, then in the GTK gui, you have a mapset menu, from where you can enable or disable a given smp. Once you found the one you need, just comment out or remove the other ones in navit.xml.

    You'll also find there the two lines you need to change if you want to try the SDL gui.

    We are really interested in you mileage (what packages you had to install, et) for our wiki, since it could help other peoples.

    Now, we're waiting for your comments

Similar Threads

  1. iGuidance Navigation Program
    By Stillalive2029 in forum Classified Archive
    Replies: 4
    Last Post: 01-01-2007, 05:06 PM
  2. media engine navigation question
    By jonathanaboona in forum General MP3Car Discussion
    Replies: 2
    Last Post: 09-18-2006, 02:18 PM
  3. Voice activated navigation for routis!
    By 0l33l in forum PowerVoice
    Replies: 352
    Last Post: 10-03-2004, 03:39 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •