On Sat, Aug 10, 2013 at 10:46:52PM +0200, [email protected] 
wrote:
> On 09.08.13 22:21, Eeri Kask wrote:

> > It looks like the crash occurs during startup in "navit/graphics.c" by
> > calling (possibly uninitialised, i.e.) a zero-pointer "get_data":
> > 
> > 
> >      void * graphics_get_data(struct graphics *this_, const char *type)
> >      {
> > ==>       return (this_->meth.get_data(this_->priv, type));
> >      }
> 
> 
> The above crash is in "graphics_qt_qpainter_new()" caused by
> 
> #ifndef QT_QPAINTER_USE_FREETYPE
> #define QT_QPAINTER_USE_FREETYPE 1
> #endif
> 
> found in "graphics_qt_qpainter.h", probably due to the assumption that
> QT runs in X11 environment featuring XOrg's freetype font system which
> is under MacOSX Aqua usually not the case.
> 
> 
> Having fixed this, the next problem:
> 
> navit:plugin_load:can't load
> '/usr/local/navit/lib/navit/vehicle/libvehicle_gpsd.so', Error
> 'dlopen(/usr/local/navit/lib/navit/vehicle/libvehicle_gpsd.so, 2):
> Symbol not found: _gps_data
>   Referenced from: /usr/local/navit/lib/navit/vehicle/libvehicle_gpsd.so
>   Expected in: flat namespace
> '
> 
> which suggests that /usr/local/gpsd/lib/libgps.dylib is not loaded by
> dlopen() or something.

looks like it was loaded but did not find the symbol, could be that it
expects "_" prepended to symbolnames or some version problem.
Do you have a gps mouse or something connected? Otherwise you can ignore
that for now.


> Though, if I specify a "demo" vehicle instead of "gpsd" in navit.xml,
> then a navit window appears, with a fat red road in the middle with some
> thinner streets visible as well, on a green background; though showing a
> busy "rainbow" cursor, so all one can do is to hit Ctrl-C in a terminal
> window.  (But it is a success anyways to be at this point.)  :-)

what happens if you click somewhere in the navit window? Also check that some
navit.xml is loaded and some GUI defined. 


Richard

---
Name and OpenPGP keys available from pgp key servers


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Navit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/navit-users

Reply via email to