WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=072df11c201c0a03340e09899b05faad6bcbb199
commit 072df11c201c0a03340e09899b05faad6bcbb199 Author: João Paulo Taylor Ienczak Zanette <jpaulo...@gmail.com> Date: Tue Aug 25 09:48:14 2020 -0700 Wiki page Compiling_the_native_Windows_EFL changed with summary [Polishing] by Joo Paulo Taylor Ienczak Zanette --- pages/Compiling_the_native_Windows_EFL.txt | 58 +++++++++++++++++------------- 1 file changed, 33 insertions(+), 25 deletions(-) diff --git a/pages/Compiling_the_native_Windows_EFL.txt b/pages/Compiling_the_native_Windows_EFL.txt index f44da8ba3..f2ce26c71 100644 --- a/pages/Compiling_the_native_Windows_EFL.txt +++ b/pages/Compiling_the_native_Windows_EFL.txt @@ -11,7 +11,7 @@ These steps were tested on Windows server 2019 64bit and Windows 10 64bit. Except for topic 6 (Environment variables) that can be consulted during the process of preparing the environment, the ideal is that the steps are fulfilled in the proposed order. - - Visual studio installation + - Visual Studio installation - Meson - LLVM - Vcpkg @@ -20,63 +20,66 @@ Except for topic 6 (Environment variables) that can be consulted during the proc ---- -=== 1 - Visual studio installation === +=== 1 - Visual Studio installation === - * Download the software from the official website: [[https://visualstudio.microsoft.com/|Visual Studio]] + * Download the software from the official website: [[https://visualstudio.microsoft.com/|Visual Studio]]; - * Choose the option you want, the most basic and free version is the [[https://visualstudio.microsoft.com/pt-br/thank-you-downloading-visual-studio/?sku=Community&rel=16 |community]] + * Choose the option you want. The most basic and free version is the [[https://visualstudio.microsoft.com/pt-br/thank-you-downloading-visual-studio/?sku=Community&rel=16 |Community]] version; - * After installation add the build package for c and c ++ + * After installation add the build package for C and C++; - * If there is no list of options for including the package, complete the installation and locate in the Start Menu Virtual Studio Installer, you can add the package to c / c ++, update or check if it was successfully installed. + * If there is no list of options for including the package, complete the installation and, in the Start Menu, search for Visual Studio Installer, you can add the package to C/C++, update or check if it was successfully installed. ---- === 2 - Meson === -2.1. Install the [[https://pypi.org/project/meson/|MESON]] using the following command on the terminal: +2.1. Install [[https://pypi.org/project/meson/|Meson]] using the following command on the terminal (CMD or Developer Command Prompt from Visual Studio): <code> -> pip istall meson +> pip install --user meson </code> -> The version of mesmon used in this tutorial is the **0.53.2**, it is possible to directly install this version as follows ''pip install meson==0.52.2'' to check the installed summer use: ''meson --version'' or use ''pip freeze'' to check all installed packages and their versions. +> The version of meson used in this tutorial is the **0.53.2**. It is possible to directly install this version with: +> <code>pip install meson==0.53.2</code> +> To check the installed version, use ''meson --version'' (or use ''pip freeze'' to check all installed packages and their versions). -> Check the python summer installed on your Windows, in this tutorial we are using Python 3.8 +> Check the python version installed on your Windows. In this tutorial we are using Python 3.8 2.2. At the end of the previous step, open a new terminal, type the command below and press enter: <code> -> meson +> meson --version </code> The result should look like this: <code> -ERROR: Must specify at least one directory name +0.53.2 </code> -If the command is not recognized, finish the environment variables step, and try again, the documentation can be found at: [[https://pypi.org/project/meson/|MESON.]] + +If the command is not recognized, finish the environment variables step and try again. For additional help, check [[https://mesonbuild.com|The meson Official documentation]]. ---- === 3 - LLVM === -3.1. Download the LLVM, the version used in this tutorial is 9.0.1, both this section and the higher versions can be found at: [[https://github.com/llvm/llvm-project/releases/|LVVM Download.]]. +3.1. Download LLVM from [[https://github.com/llvm/llvm-project/releases/|LLVM's official page]]. The version used in this tutorial is 9.0.1. -> Upon entering the corresponding section with the chosen version, a file with the following description (in this case with version 9.0.1) must be located: ''LLVM-9.0.1-win64.exe'', download this file. +> Upon entering the corresponding section with the chosen version, a file with the following description (in this case with version 9.0.1) must be located: ''LLVM-9.0.1-win64.exe''. Download this file. -3.2. when installing, it is important to select at least one of the options below: +3.2. When installing, it is important to select at least one of the options below: >[x] Add LLVM to the system PATH for all users. >[x] Add LLVM to thr system PATH for current user. -In this case we install in ''C:\Program Files\LLVM''. +In this tutorial, we install it in ''C:\Program Files\LLVM''. ---- === 4. VCPKG === -Vcpkg is not strictly necessary, since you could install each of the dependencies separately and make sure cmake finds it. But Vcpkg is a more convenient way to do so and it is supported by EFL's current build system. +Vcpkg is not strictly necessary, since you could install each of the dependencies separately and make sure cmake finds it, but it is a more convenient way to do so and it is supported by EFL's current build system. To manage dependencies with vcpkg: @@ -96,20 +99,23 @@ To manage dependencies with vcpkg: > vcpkg install openssl freetype check libpng zlib </code> - This way, vcpkg will download, setup and install all of those dependencies. + This way vcpkg will download, setup and install all of those dependencies. ---- === 7 Windows Environment Variables === - * This module is aimed at checking environment variables: + * This module aims to check environment variables. + +==Python== -==python== <note important> - * OBS: Python paths in this tutorial are considering Python 3.8 is installed. Don't forget to check the respective paths according to the location of your current Python installation. +**[OBS:]** + +Python paths in this tutorial are considering Python 3.8 is installed. Don't forget to check the respective paths according to the location of your current Python installation. </note> -During python installation, you can select the option to add python environment variables automatically. If there is a problem with Meson, delete the existing variables and add as shown below: +During python installation, you can select the option to add python environment variables automatically. If there is a problem with Meson, check the existing variables and add as shown below: * Open the windows environment variable editor, for the variables corresponding to the user, locate **''path''** and double-click it (or click the Edit button). In the next window, click the "New" button and add the following directories: * <code>C:\Users\<your-username>\AppData\Roaming\Python\Python38\Scripts</code> * <code>C:\Python38</code> @@ -125,14 +131,16 @@ In case you're using a custom OpenSSL installation (not the one from vcpkg), you * <code>C:\Users\<your-username>\AppData\Local\efl\openssl</code> * For clarification: ''OPENSSL_DIR'' must point to the directory where the file ''libssl.lib'' and the directory ''include/'' are located. +The current build system will also warn you about this file. + ---- === 7 - Compiling EFL === * Choose a directory to clone **EFL** repository; * Clone the [[https://github.com/expertisesolutions/efl.git|EFL Native Windows Repository]] repository. - * Open VS's **Developer Command Prompt** in the EFL directory and run the following command: - * <code>>configure.bat</code> + * Open Visual Studio's **Developer Command Prompt** in the EFL directory and run the following command: + * <code>> configure.bat</code> * If an error occurs in this step, it is generally due to opening a regular Command Prompt (instead of VS's Developer Command Prompt). In that case, you may manually setup the developer prompt by entering the following command: * <code> > "C:\Program Files (x86)\Microsoft Visual Studio\<VS version>\<VS edition>\VC\Auxiliary\Build\vcvars64.bat"</code> * If it still does not work, try to: --