windows系统编译Carla问题:Make PythonAPI fatal error C1083: Cannot open include file ‘OSM2ODR.h‘

问题:Make PythonAPI fatal error C1083: Cannot open include file ‘OSM2ODR.h’ No such file or directory
结果:PythonAPI\carla\dist文件夹不存在(没有生成.egg文件)

解决办法:

It seems like Xerces can’t be installed properly, here is one solution I found.

  • Install Xerces by conda install -c anaconda xerces-c
  • Then find Anaconda3 folder, copy-paste everything from Anaconda3\pkgs\xerces-c-3.2.3-ha925a31_0\Library to carla\Build\xerces-c-3.2.3-install.
  • Next, copy-paste file xerces-c_3.lib from carla\Build\xerces-c-3.2.3-install\lib to folder carla\PythonAPI\carla\dependencies\lib
  • Delete folder carla\Build\osm2odr-visualstudio, then make PythonAPI.

来源:https://github.com/carla-simulator/carla/issues/3320

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值