Skip to content

problem of make PythonAPI #8289

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
SYSUCtlLab2024 opened this issue Oct 17, 2024 · 7 comments
Open

problem of make PythonAPI #8289

SYSUCtlLab2024 opened this issue Oct 17, 2024 · 7 comments
Assignees

Comments

@SYSUCtlLab2024
Copy link

CARLA version: 0.9.15
Platform/OS: windows 11
Problem you have experienced: --build-dir "D:\carla\Build" --toolset msvc-14.2 --version 1.80.0 -j 20
The system cannot find the specified batch label - arg-parse
Full log: (CARLA) D:\carla>make PythonAPI
-[BuildUE4Plugins]: [Batch params]: --build --all
error: RPC failed; curl 28 Recv failure: Connection was reset
fatal: expected flush after ref listing
HEAD is now at 260273d Correct descriptor
-[BuildUE4Plugins]: STREETMAP has been successfully installed in "D:\carla\Unreal\CarlaUE4\Plugins"
-[Setup]: [Batch params]: --boost-toolset msvc-14.2 --generator "" --all
-[Setup]: Asynchronous jobs: 20
-[Setup]: Boost toolset: msvc-14.2
-[Setup]: Generator: "Visual Studio 16 2019"
-[Setup]: Install directory: "D:\carla\Build"
-[Setup]: Installing zlib...
-[install_zlib]: [Batch params]: --build-dir "D:\carla\Build"
-[install_zlib]: A zlib installation already exists.
-[install_zlib]: Delete "D:\carla\Build\zlib-install" if you want to force a rebuild.
-[install_zlib]: Exiting...
-[Setup]: Installing libpng...
-[install_libpng]: [Batch params]: --build-dir "D:\carla\Build" --zlib-install-dir "D:\carla\Build\zlib-install"
-[install_libpng]: A libpng installation already exists.
-[install_libpng]: Delete "D:\carla\Build\libpng-1.2.37-install" if you want to force a rebuild.
-[install_libpng]: Exiting...
-[Setup]: Installing rpclib...
-[install_rpclib]: [Batch params]: --build-dir "D:\carla\Build" --generator "Visual Studio 16 2019"
-[install_rpclib]: A rpclib installation already exists.
-[install_rpclib]: Delete "D:\carla\Build\rpclib-install" if you want to force a rebuild.
-[install_rpclib]: Exiting...
-[Setup]: Installing Google Test...
-[install_gtest]: [Batch params]: --build-dir "D:\carla\Build" --generator "Visual Studio 16 2019"
-[install_gtest]: A Google Test installation already exists.
-[install_gtest]: Delete "D:\carla\Build\gtest-install" if you want to force a rebuild.
-[install_gtest]: Exiting...
-[Setup]: Installing "Recast & Detour"...
-[install_recast]: [Batch params]: --build-dir "D:\carla\Build" --generator "Visual Studio 16 2019"
-[install_recast]: A "Recast & Detour" installation already exists.
-[install_recast]: Delete "D:\carla\Build\recast-install" if you want to force a rebuild.
-[install_recast]: Exiting...
-[Setup]: Installing Boost...
-[install_boost]: [Batch params]: --build-dir "D:\carla\Build" --toolset msvc-14.2 --version 1.80.0 -j 20
The system cannot find the specified batch label - arg-parse

-[Setup]:
Ok, and error ocurred, don't panic
We have different platforms where you can find some help :)

@xminjun
Copy link

xminjun commented Nov 5, 2024

same problem,How to solve it

@anzzzzhenshuai
Copy link

me too

@einarin-pattern
Copy link

I encountered this problem. It occurs when Util/InstallersWin/install_boost.bat is checked out with Unix line endings instead of Windows line endings. Check your Git settings, or manually convert that file to have Windows line endings (CRLF).

@SYSUCtlLab2024
Copy link
Author

thx, I'll try it.

@Sama-Yousef
Copy link

great, it solved my issue

@ybLin-TJ
Copy link

I encountered this problem. It occurs when Util/InstallersWin/install_boost.bat is checked out with Unix line endings instead of Windows line endings. Check your Git settings, or manually convert that file to have Windows line endings (CRLF).我遇到了这个问题。当使用 Unix 行结束符而不是 Windows 行结束符签出时 Util/InstallersWin/install_boost.bat ,会发生此错误。检查您的 Git 设置,或手动将该文件转换为具有 Windows 行尾 (CRLF)。

sincerely thank you for your help

@Blyron
Copy link
Contributor

Blyron commented Apr 4, 2025

If you are okay to close this issue, I will close it

@Blyron Blyron self-assigned this Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants