Carla Windows, make PythonAPI error, C:\Program' is not recognized as an internal or external command #5351
Unanswered
furkanunsal42
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Hello, I had the same error and I had also changed the version of zlib. After much searching, I found on discord the user 'edufrikuto' uploaded the version of zlib that is originally used. I attach the file, you have to delete everything that is inside carla\Build and then put the folders that are inside the zip file. That solved my problem. I hope it helps you |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
`C:\Users\unsal\carla>make PythonAPI
-[Setup]: [Batch params]: --boost-toolset msvc-14.2 --all
-[Setup]: Asynchronous jobs: 16
-[Setup]: Boost toolset: msvc-14.2
-[Setup]: Install directory: "C:\Users\unsal\carla\Build"
-[Setup]: Installing zlib...
-[install_zlib]: [Batch params]: --build-dir "C:\Users\unsal\carla\Build"
-[install_zlib]: Retrieving zlib.
-[install_zlib]: Extracting zlib from "zlib-1.2.12.zip".
-[install_zlib]: Removing "zlib-1.2.12.zip"
-[install_zlib]: Creating "C:\Users\unsal\carla\Build\zlib-source\build"
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is MSVC 19.28.29914.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe - broken
CMake Error at C:/Program Files/CMake/share/cmake-3.23/Modules/CMakeTestCCompiler.cmake:69 (message):
The C compiler
is not able to compile a simple test program.
It fails with the following output:
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:4 (project)
-- Configuring incomplete, errors occurred!
See also "C:/Users/unsal/carla/Build/zlib-source/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/unsal/carla/Build/zlib-source/build/CMakeFiles/CMakeError.log".
-[Setup]:
Ok, and error ocurred, don't panic!
We have different platform
s where you can find some help :)
Make sure you have read the documentation:
http://carla.readthedocs.io/en/latest/how_to_build_on_windows/
If the problem persists, you can ask on our Github's "Building on Windows" issue:
Building on Windows 0.8.X #21
Or just use our Discord channel!
We'll be glad to help you there :)
https://discord.gg/42KJdRj
make: *** [Util/BuildTools/Windows.mk:74: setup] Error 1
`
I'm trying to install windows version of Carla, I already have Cmake but when running "make PythonAPI" command I get this error. I suspect the error is caused by the space in directory C:\Program Files(x86)\GnuWin32\bin\make.exe. I thought of using "" in the code for calling the file but couldn't really find a way to do so.
these are error log files in carla/Build/zlib-source/build/CMakeFiles:
CMakeError.log
CMakeOutput.log
Beta Was this translation helpful? Give feedback.
All reactions