Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Lecrapouille committed Nov 28, 2024
1 parent c6125cd commit d802f16
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion addons/gdcef/doc/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,20 @@ Install the following tools: `scons, g++, ninja, cmake, git, python3` (version 3
- Python3: https://www.python.org/downloads/windows/
- CMake: https://cmake.org/download/
- Ninja: https://ninja-build.org/
- Scons: https://scons.org/pages/download.html
- Scons: https://scons.org/pages/download.html. **Note that Scons is no longer given as standalone executable**, it will be installed inside the `Scripts` folder of the Python installation, through the `pip` command: `python3 -m pip install scons`.
- Git: https://git-scm.com/download/win
- *Note:* I have installed them for their official website, I did not tried to install them from the `winget` command.

Please check your PATH variables for Python3, CMake, Ninja, Scons and Git are set correctly. Here is an example for Windows. Scons is installed inside the `Scripts` folder of the Python installation.

![PATH](pics/windows_path.png)

To compile GDCef for Windows:
- Make sure VS2022 is installed.
- Open an **x64 Native Tools Command Prompt for VS 2022** with **Administrator** privileges (this should be available in the start menu under Visual Studio 2022). This ensures the environment is properly set up to use the VS tools (for example we use aliases which are disabled in the standard command prompt).

![Administrator](pics/windows_administrator.png)

### Install Python3 packages

Our [build.py](../build.py) script is written in **Python3** to be compatible with all operating systems (Linux, macOS X, Windows). Please do not use Python 2. Install the required Python packages with pip by typing the following command in a terminal:
Expand Down
Binary file added addons/gdcef/doc/pics/windows_administrator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added addons/gdcef/doc/pics/windows_path.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d802f16

Please sign in to comment.