我安装了 xerces lib(3.1.1):
$ ./configure
$ make
$ sudo make install
$ ldconfig
我尝试使用以下命令安装 sumo(0.17.1):
Me@maq:/usr/local/src/sumo-0.17.1$ ./configure --with-fox-includes=/usr/include/fox-1.6 \--with-gdal-includes=/usr/share/gdal --with-proj-libraries=/usr \--with-gdal-libraries=/home/Me/include --with-proj-gdal
$ make
返回:
$ ../utils/xml/libxml.a(SUMOSAXReader.o):SUMOSAXReader.cpp:function vtable for
xercesc_2_7::XMLRefInfo: error: undefined reference to
'xercesc_2_7::XMLRefInfo::getProtoType() const'
`$ collect2: ld 返回 1 退出状态
$ make[3]: *** [netgenerate] Error 1
$ make[3]: Leaving directory
/usr/local/src/sumo-0.17.1/src/netgen'`
$ make[2]: *** [all-recursive] Error 1
$ make[2]: Leaving directory
/usr/local/src/sumo-0.17.1/src'`
$ make[1]: *** [all] Error 2
$ make[1]: Leaving directory
/usr/local/src/sumo-0.17.1/src'`
$ make: *** [all-recursive] Error 1
我能做些什么来解决这个错误?
谢谢。