MOVE.jar+sumo悲剧的一天

来源:互联网 发布:平板可以开淘宝店吗 编辑:程序博客网 时间:2024/05/21 06:46

用MOVE时,create map出错

Loading configuration... 

Warning: Please note that 'xml-node-files' is deprecated.
Use 'node-files' instead.
Warning: Please note that 'xml-edge-files' is deprecated.
Use 'edge-files' instead.
Error: No option with the name 'type' exists.
Warning: Please note that 'lanenumber' is deprecated.
Use 'default.lanenumber' instead.
Warning: Please note that 'speed' is deprecated.
Use 'default.speed' instead.
Warning: Please note that 'priority' is deprecated.
Use 'default.priority' instead.
Warning: Please note that 'remove-geometry' is deprecated.
Use 'geometry.remove' instead.
Warning: Please note that 'remove-isolated' is deprecated.
Use 'remove-edges.isolated' instead.
Error: Could not load configuration '/home/shahid/MOVE/ex_Map.netc.cfg'.

Quitting (on error).

去官网看了一下,是需要sumo-0.12.3版本。

然后安装sumo-0.12.3版本

又出现问题

MSDevice_Vehroutes::StateListener::~StateListener()’
../../../src/microsim/MSNet.h:461:17: error: overriding ‘virtual
MSNet::VehicleStateListener::~VehicleStateListener() throw ()’
make[4]: *** [MSDevice_Vehroutes.o] Error 1
make[4]: Leaving directory `/home/hp/sumo-0.12.3/src/microsim/devices'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/hp/sumo-0.12.3/src/microsim'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/hp/sumo-0.12.3/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/hp/sumo-0.12.3/src'
make: *** [all-recursive] Error 1

在google上找了好久终于找到了是因为gcc的版本过高,需要gcc-4.4.7就ok!

gcc版本更改参考http://wangzt-2008.iteye.com/blog/1960653

0 0
原创粉丝点击