Command not found when try to execute "make PythonAPI" in x64 Native Tools Command Prompt for VS 2022 (admin mode) #8341
Unanswered
kungfusung161
asked this question in
Q&A
Replies: 1 comment 3 replies
-
The error you’re seeing suggests that the BuildUE4Plugins.bat script is being interpreted as a shell script (like Bash) rather than a Windows batch file. This is likely because the make command is being run in a Unix-like environment, such as Git Bash or WSL, which expects shell scripts rather than batch files. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone:
I am trying to build my first CARLA. I followed the instructions from the official site. Everything went well and I finished building the unreal portion. I am using VS 2022, make 3.81, cmake 3.30.5 and python 3.8.1. I encounter the following error when I try to execute "make Python API."
d:\CARLA_build\CARLA>make PythonAPI
/d/CARLA_build/CARLA/Util/BuildTools/BuildUE4Plugins.bat: line 1: @Rem: command not found
/d/CARLA_build/CARLA/Util/BuildTools/BuildUE4Plugins.bat: line 2: setlocal: command not found
/d/CARLA_build/CARLA/Util/BuildTools/BuildUE4Plugins.bat: line 4: rem: command not found
/d/CARLA_build/CARLA/Util/BuildTools/BuildUE4Plugins.bat: line 9: syntax error near unexpected token
(' /d/CARLA_build/CARLA/Util/BuildTools/BuildUE4Plugins.bat: line 9:
rem Print batch params (debug purpose)'make: *** [downloadplugin] Error 2
Has anyone encounter this same issue? I would really appreciate some pointers or suggestion. I have been stuck on this for almost 3 weeks now.
Beta Was this translation helpful? Give feedback.
All reactions