我在navit工作......现在我遇到了这个错误......任何身体帮助我解决这个问题
user@blrkrts0057pc:~$ cd /home/user/navit-0.2.0/navit
user@blrkrts0057pc:~/navit-0.2.0/navit$ ./navit navit1.xml
Running from source directory
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 '/home/user/navit-0.2.0/navit/gui/qml/.libs/libgui_qml.so', Error '/home/user/navit-0.2.0/navit/gui/qml/.libs/libgui_qml.so: undefined symbol: _ZN8NGQProxy16staticMetaObjectE'
navit:main_real:Error parsing 'navit1.xml': Element 'gui' within unexpected context 'gui'. Expected 'navit' at line 46, char 164
答案 0 :(得分:0)
此错误
/home/user/navit-0.2.0/navit/gui/qml/.libs/libgui_qml.so:
undefined symbol: _ZN8NGQProxy16staticMetaObjectE
通常意味着库版本以某种方式不匹配。尝试编译并运行同一系统上的Navit和所有插件,看看问题是否仍然存在。
navit:main_real:Error parsing 'navit1.xml':
Element 'gui' within unexpected context 'gui'.
Expected 'navit' at line 46, char 164
这看起来像navit1.xml中的错误(尽管它可能是由上一个错误引起的)。你试过修改navit1.xml吗?它真的有错误吗?