我安装了xerces lib(3.1.1):
$ ./configure
$ make
$ sudo make install
$ ldconfig
我尝试使用:
安装相扑(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 /本地/ SRC / SUMO-0.17.1 / SRC / netgen'`
$ make[2]: *** [all-recursive] Error 1
$ make[2]: Leaving directory
的/ usr /本地/ SRC / SUMO-0.17.1 / src'`
$ make[1]: *** [all] Error 2
$ make[1]: Leaving directory
的/ usr /本地/ SRC / SUMO-0.17.1 / src'`
$ make: *** [all-recursive] Error 1
我该怎么做才能解决这个错误?
感谢。