人生最痛苦的事莫过于安装carla,在ubuntu下安装失败后,转到windows下,在 make PythonAPI后,果不其然的又报错了
“CMake Error: The source directory “E:/carla/Build/rpclib-src” does not appear to contain CMakeLists.txt.”
这个错误乍一看,是有关cmake的安装,但其实是zlib的版本错误了。
链接: zlib主页
现在是1.3版本了,但在carla/Util/InstallersWin/install_zlib.bat这个目录下,第51行ZILB_VERSION还是1.2.x。需要改成你们点进主页时看到的版本号,我看到的是1.3所以我改如图
然后记得删掉carla/下的build文件重新make。
参考链接 https://github.com/carla-simulator/carla/issues/4859
CMake Error: The source directory “E:/carla/Build/rpclib-src“ does not appear to contain CMakeLists.
最新推荐文章于 2024-07-20 17:12:48 发布