carla
carla copied to clipboard
B2 ERROR with "make PythonAPI" and "make launch"
Discussed in https://github.com/carla-simulator/carla/discussions/4534
Originally posted by ThibaultFy August 13, 2021 I'm having trouble with my Windows build for 0.9.12. I'm getting the following message:
-[install_boost]: [B2 ERROR] An error ocurred while installing using "b2.exe". -[install_boost]: Exiting with error...
Thanks for your help !
My problem solved itself by removing the build folder and changing the path on my repo... I don't have more explanation than this...
My problem solved itself by removing the build folder and changing the path on my repo... I don't have more explanation than this...
Hi Could you guide me on how to do "make pythonAPI" command? I run it on X64 native tool command prompt but it crashes all the time. Thanks
Hi Could you guide me on how to do "make pythonAPI" command? I run it on X64 native tool command prompt but it crashes all the time. Thanks
Hi, I can't really help you from scratch, but you may find a lot of information on the Carla website, discord or github. If you have a recurrent issue, maybe you should open a specific one with detailed in order to ask for help to the carla community :)
My problem solved itself by removing the build folder and changing the path on my repo... I don't have more explanation than this...
Hi
I'm having same issue.... I deleted build folder and it is partially working, but want to know what you mean by "changing path on my repo"? I wanna give it a try to see if it works
** Visual Studio 2019 Developer Command Prompt v16.11.1 ** Copyright (c) 2021 Microsoft Corporation
[vcvarsall.bat] Environment initialized for: 'x64'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional>D:
D:>cd CARLA\carla
D:\CARLA\carla>make PythonAPI -[Setup]: [Batch params]: --boost-toolset msvc-14.1 -[Setup]: Asynchronous jobs: 8 -[Setup]: Boost toolset: msvc-14.1 -[Setup]: Install directory: "D:\CARLA\carla\Build" -[Setup]: Installing zlib... -[install_zlib]: [Batch params]: --build-dir "D:\CARLA\carla\Build" -[install_zlib]: A zlib installation already exists. -[install_zlib]: Delete "D:\CARLA\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\carla\Build" --zlib-install-dir "D:\CARLA\carla\Build\zlib-install" -[install_libpng]: A libpng installation already exists. -[install_libpng]: Delete "D:\CARLA\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\carla\Build" -[install_rpclib]: Not cloning rpclib because already exists a folder called "rpclib-src". -[install_rpclib]: Generating build... CMake Error at CMakeLists.txt:2 (project): Generator
**Visual Studio 15 2017 Win64**
could not find any instance of Visual Studio.
-- Configuring incomplete, errors occurred! See also "D:/CARLA/carla/Build/rpclib-src/build/CMakeFiles/CMakeOutput.log".
-[install_rpclib]: [CMAKE ERROR] An error ocurred while executing the cmake.
-[install_rpclib]: [CMAKE ERROR] Possible causes:
-[install_rpclib]: - Make sure "CMake" is installed.
-[install_rpclib]: - Make sure it is available on your Windows "path".
-[install_rpclib]: - CMake 3.9.0 or higher is required.
-[install_rpclib]: 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 always get this error, it's looking for VS2017, but i've VS2019
I also have the same problem with @ThibaultFy for Windows Build. Carla version is 0.9.12
I'm having the same issue with 0.9.12. I've followed the latest docs for building in Windows, but this error keeps occurring:
C:\UnrealProjects\CARLA\Build\boost-1.72.0-source\boost\compatibility\cpp_c_headers\cwctype
1 file(s) copied.
...failed updating 1 target...
...skipped 4 targets...
...updated 15297 targets...
-[install_boost]: [B2 ERROR] An error ocurred while installing using "b2.exe".
-[install_boost]: Exiting with error...
I was having the error when I run "make Launch". I downgraded the python version to 3.8.10 from 3.10. I reinstalled CMake, Make. Then I applied the document from Part Two: Build CARLA. Now, there is no error b2.exe error.
@BedirhanKeskin Downgrading python from 3.10 to 3.8.10 was the solution for me. Thanks!
Same here, had to downgrade from Python 3.10 to 3.8.10 to make it work. I did not try Python 3.9.6 though, so don't know which is the latest python version possible.
Same here, the issue was likely caused by Python 3.10, installing Python 3.9.9 fixed it for me.
As the screenshot shows, I got the setup error when I was typing "make PythonAPI".
My setting:
- carla: 0.9.13
- Windows 10 (not linux in ubuntu)
- VS: 2019 with additional elements.
- Make: GNU Make 3.81
- CMake: 3.23.0-rc2
- Python: 3.8.8 I'm not sure what causes this error, can anyone help?
As the screenshot shows, I got the setup error when I was typing "make PythonAPI". My setting:
- carla: 0.9.13
- Windows 10 (not linux in ubuntu)
- VS: 2019 with additional elements.
- Make: GNU Make 3.81
- CMake: 3.23.0-rc2
- Python: 3.8.8 I'm not sure what causes this error, can anyone help?
Same issue here. Have you found a solution?
I really sorry for my bad english skill first.
I solved this issue by other way.
The bottom line is unzip boost_1_72_0.zip
manually and paste it into `boost-1.72.0-source'
make launch or make PythonAPI, processes will create carla/Build/boost_1_72_0.zip
. and expanding. When which task done, PowerSheel throw b2.exe error like this.
So i tried b2.exe --help in PowerShell, it throw error 'unable to load boost.build: could not find "boost-build.jam"'
I guess it should be missing files when expanding on PowerShell. and checked downloaded zip file, compare with unziped folder. finally i found some files are missed while exapnding on PowerShell.
That's it. i just unzip boost_1_72_0.zip
manually, and it does work.
don't forget excute bootstrap.bat for create b2.exe
this issue was caused by Python 3.10, to remove python 3.10 then install python 3.8 to fix it.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.