carla踩坑记录

参考官方文档进行修改并对遇到的问题进行记录和解决:

https://carla.readthedocs.io/en/latest/how_to_build_on_linux/

猜测UE4需要在carla之前进行编译

 

 

我们下载的release版本在download/test文件可以直接运行查看通过命令:   ./CarlaUE4.sh /Game/Maps/Town02

参考:https://carla.readthedocs.io/en/stable/running_simulator_standalone/

 

自己进行编译

1. build UE4-4.22

执行下面三步:

./Setup.sh  #  ok

./GenerateProjectFiles.sh

make

 

1. build carla-0.9.5 环境

完成 在download目录下
    Content updated successfully.表示成功
    然后执行下面三步:

make launch  # Compiles the simulator and launches Unreal Engine's Editor.

make PythonAPI # Compiles the PythonAPI module necessary for running the Python examples.

make package  # Compiles everything and creates a packaged version able to run without UE4 editor.

make help # Print all available commands.


    1.  make launch   过程中出现 没有clang 6 错误:

wget -O  -  https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add  - 
sudo apt-add-repository “deb http://apt.llvm.org/xenial/ llvm- toolchain-xenial-6.0 main”
sudo apt-get update
sudo apt-get install -y clang-6.0 

   然后出现各种错误:

  

解决编译卡死

设置 编译的进程数 make -j 1 

 


2. build UE4-4.22

    编译过程中出现卡死现象

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值