Conversation
doc/Carla_Windows_building.md
Outdated
| The official documentation provides a comprehensive step-by-step process. | ||
| However, in practice, several issues may arise during the build process (e.g., dependency conflicts, version mismatches, and build errors). | ||
|
|
||
| This document focuses on: |
There was a problem hiding this comment.
This document follows the structure of Part One: Prerequisites and Part Two: Build CARLA from the official documentation, and focuses on:
doc/Carla_Windows_building.md
Outdated
|
|
||
| ## Part One: Prerequisites | ||
|
|
||
| In this section, you will find the system requirements and necessary software setup before building CARLA. |
doc/Carla_Windows_building.md
Outdated
|
|
||
| - Ensure that the required version of **Make (3.81)** is used. This version may need to be installed manually (e.g., via Gnuwin), or obtained through other reliable sources. | ||
|
|
||
| - For **Visual Studio 2019**, make sure the correct toolchain is selected. Note that the **Windows 8.1 SDK** may no longer be available and can be replaced with the **Windows 10 SDK**. |
There was a problem hiding this comment.
can consider add a screenshot of how to select toolchain
There was a problem hiding this comment.
is it called toolset or toolchain?
doc/Carla_Windows_building.md
Outdated
| - For **Visual Studio 2019**, make sure the correct toolchain is selected. Note that the **Windows 8.1 SDK** may no longer be available and can be replaced with the **Windows 10 SDK**. | ||
|
|
||
| - The installation and configuration of **Unreal Engine 4.26** can be completed by following the official CARLA documentation: | ||
| [CARLA Windows Build Documentation](https://carla.readthedocs.io/en/0.9.15/build_windows/) |
There was a problem hiding this comment.
doc/Carla_Windows_building.md
Outdated
| - The installation and configuration of **Unreal Engine 4.26** can be completed by following the official CARLA documentation: | ||
| [CARLA Windows Build Documentation](https://carla.readthedocs.io/en/0.9.15/build_windows/) | ||
|
|
||
| Please ensure all dependencies are correctly installed before proceeding to the build stage. |
There was a problem hiding this comment.
any check or verification that can show all dependencies are ready?
|
|
||
| Solution: Manual Download and Extraction | ||
|
|
||
| Identify the correct asset version for CARLA 0.9.15: |
There was a problem hiding this comment.
how to know which one is the correct asset?
| Extract them into the corresponding Build directory | ||
| Ensure the folder names match exactly (e.g., xerces-c-3.2.3-source) | ||
|
|
||
| 2. Boost download failure in install_boost.bat |
There was a problem hiding this comment.
in previous "1. Missing dependencies during build (zlib / boost / xerces-c)" you already mentioned boost. do you want to remove that and keep Boost as a separate documentation
|
|
||
| Solution: | ||
|
|
||
| - Manually download Boost (e.g., version 1.80.0) |
There was a problem hiding this comment.
after manually download these libraries, where do you put them? how to ensure Carla can find them properly?
| ``` | ||
| -DCMAKE_POLICY_VERSION_MINIMUM=3.5 | ||
| ``` | ||
| 3). Ensure variables such as %XYZ_SRC_DIR% are correctly set if required |
There was a problem hiding this comment.
I am not following this part, are you indicating that we need to add a puncturation mark "."?
There was a problem hiding this comment.
Yes, it needs a puncturation mark "." here to solve the path problem.
doc/Carla_Windows_building.md
Outdated
| If none of these issues occur, the build environment is correctly configured. | ||
| Otherwise, the provided solutions may help resolve them. | ||
|
|
||
| Contributions are welcome. If additional issues are encountered and resolved, please update this document accordingly. No newline at end of file |
doc/CARLAdoc.md
Outdated
| To build the CARLA 0.9.15 under Visual Studio 2019, a practical guide is shown below (For detailed build steps, please refer to [CARLA Windows Build Guide](./Carla_Windows_building.md).): | ||
|
|
||
| The MSVC toolset version changed to 14.4 (i.e., the “14.4x” series) after Visual Studio 2022 version 17.10. Since the official installation script supports up to MSVC 14.3x, we use Visual Studio 2022 17.8 for simplicity. The `--channelURI` parameter can be used to specify the version. | ||
| The MSVC toolset version changed to 14.4 (i.e., the “14.4x” series) after Visual Studio 2019 version 17.10. Since the official installation script supports up to MSVC 14.3x, we use Visual Studio 2022 17.8 for simplicity. The `--channelURI` parameter can be used to specify the version. |
There was a problem hiding this comment.
"we use Visual Studio 2022 17.8 for simplicit" => change to 2019?
Updated the instructions for building LibCarla with Visual Studio.
Summary
This PR adds a documentation guide for building CARLA 0.9.15 on Windows, with a focus on common issues and practical solutions encountered during the build process.
The guide includes:
Related Issues / Tasks
Relates to #139
Type of Change
Affected Modules / Components
doc/Carla_Windows_building.mddoc/CARLAdoc.mdTest Cases
python --versionpip3 -Vcmake --versionmake --versiongit --versionEnvironment
Checklist