Skip to content
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

make PythonAPI #166

Closed
john3223 opened this issue Aug 14, 2024 · 0 comments
Closed

make PythonAPI #166

john3223 opened this issue Aug 14, 2024 · 0 comments

Comments

@john3223
Copy link

I am trying to install CARLA 0.9.13 with DReyeVR on Windows 10 following this guide with CMake 3.29.4, Git 2.45.2, make 3.81, 7zip 24.07, and Python 3.7.2. When running "make PythonAPI," I get this error:

-[Setup]: [Batch params]: --boost-toolset msvc-14.2 --all
-[Setup]: Asynchronous jobs:  32
-[Setup]: Boost toolset:      msvc-14.2
-[Setup]: Install directory:  "C:\CarlaDReyeVR\carla\Build\"
-[Setup]: Creating "C:\CarlaDReyeVR\carla\Build\" folder...
-[Setup]: Installing zlib...
    -[install_zlib]: [Batch params]: --build-dir "C:\CarlaDReyeVR\carla\Build\"
    -[install_zlib]: Retrieving zlib.
Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."
At line:1 char:1
+ (New-Object System.Net.WebClient).DownloadFile('http://www.zlib.net/z ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException

    -[install_zlib]: Extracting zlib from "zlib-1.2.11.zip".
Expand-Archive : The path 'C:\CarlaDReyeVR\carla\Build\zlib-1.2.11.zip' either does not exist or is not a valid file system path.
At line:1 char:1
+ Expand-Archive 'C:\CarlaDReyeVR\carla\Build\zlib-1.2.11.zip' -Destina ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (C:\CarlaDReyeVR...zlib-1.2.11.zip:String) [Expand-Archive], InvalidOperationException
    + FullyQualifiedErrorId : ArchiveCmdletPathNotFound,Expand-Archive

    -[install_zlib]: Removing "zlib-1.2.11.zip"
Could Not Find C:\CarlaDReyeVR\carla\Build\zlib-1.2.11.zip
The system cannot find the file specified.
    -[install_zlib]: Creating "C:\CarlaDReyeVR\carla\Build\zlib-source\build"
CMake Error: The source directory "C:/CarlaDReyeVR/carla/Build/zlib-source" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

    -[install_zlib]: [CMAKE ERROR] An error ocurred while executing cmake command.
    -[install_zlib]: [CMAKE ERROR] Possible causes:
    -[install_zlib]:                - Make sure "CMake" is installed.
    -[install_zlib]:                - Make sure it is available on your Windows "path".
    -[install_zlib]:                - Make sure you have cmake 3.12.4 or higher installed.
    -[install_zlib]: Exiting with error...

-[Setup]:
   Ok, and error ocurred, don't panic!
   We have different platforms 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:
       https://github.com/carla-simulator/carla/issues/21

   - Or just use our Discord channel!
       We'll be glad to help you there :)
       https://discord.gg/42KJdRj
make: *** [setup] Error 1

I tried the advice in the article provided above to find the following files out on the internet:

CMakeLists.txt and zlib-1.2.11.zip : you can download them through web search easily.

I cannot for the life of me find the first file. The second file I might have found, but it's moot because it still won't work without the first one anyway; you get the error below instead. I also tried following the "files changed" section on CARLA #7414, also resulting in the error below:

-[Setup]: [Batch params]: --boost-toolset msvc-14.2 --all
-[Setup]: Asynchronous jobs:  32
-[Setup]: Boost toolset:      msvc-14.2
-[Setup]: Install directory:  "C:\CarlaDReyeVR\carla\Build\"
-[Setup]: Installing zlib...
    -[install_zlib]: [Batch params]: --build-dir "C:\CarlaDReyeVR\carla\Build\"
    -[install_zlib]: Not downloading zlib because already exists the folder "C:\CarlaDReyeVR\carla\Build\zlib-source\".
CMake Error: The source directory "C:/CarlaDReyeVR/carla/Build/zlib-source" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

    -[install_zlib]: [CMAKE ERROR] An error ocurred while executing cmake command.
    -[install_zlib]: [CMAKE ERROR] Possible causes:
    -[install_zlib]:                - Make sure "CMake" is installed.
    -[install_zlib]:                - Make sure it is available on your Windows "path".
    -[install_zlib]:                - Make sure you have cmake 3.12.4 or higher installed.
    -[install_zlib]: Exiting with error...

-[Setup]:
   Ok, and error ocurred, don't panic!
   We have different platforms 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:
       https://github.com/carla-simulator/carla/issues/21

   - Or just use our Discord channel!
       We'll be glad to help you there :)
       https://discord.gg/42KJdRj
make: *** [setup] Error 1

Any help on where I can find the files the author of the article above is talking about (specific links) or how else I can fix this would be appreciated.

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

1 participant