User Tools

Site Tools


cmingw-en

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
cmingw-en [2018/11/12 08:56] – external edit 127.0.0.1cmingw-en [2021/09/02 17:38] (current) – removed rjversluis
Line 1: Line 1:
-======Compile Rocrail with MinGW, MSYS and wxWidgets====== 
-[[english|{{ rocrail-logo-35.png}}]] 
-[[:develop-corner-en|Developer corner]]  
-  * **[[:develop-corner-en#windows|Windows]]** 
- 
- \\  
-| Tested under Windows 7 32bit and Windows 10 64bit. | 
- 
- 
- \\ 
-=====Install GIT===== 
-Download from http://msysgit.github.io/ the latest GIT installer.\\ 
-| Tested with "git version 1.9.4.msysgit.2". |\\ 
- 
-   
- \\ 
-=====Install MinGW===== 
-Download from http://www.mingw.org the latest **mingw-get-setup.exe**.\\ 
-| Tested with "0.6.2-beta". |\\ 
- 
- \\ 
-Start the setup after it has been downloaded. \\ 
- \\ 
-Select following packages: 
-  * mingw32-base 
-  * mingw32-gcc-g++ 
-  * msys-base 
- 
-  - Install it as proposed in **C:\MinGW**. 
-  - Set the start of the user PATH environment variable to: "C:\MinGW\bin;..." (The three dots represents the rest of the variable value.) 
-  - Rename the **mingw32-make.exe** into **make.exe** 
- 
- 
- \\ 
- 
-=====wxWidgets===== 
-| Tested with wxWidgets 3.0.2. |\\ 
- 
-====From source==== 
-  * Download from http://www.wxwidgets.org the **Latest Stable Release** as ZIP file. 
-    * Unzip this file as C:\wxWidgets-3.0.2 
- \\ 
-====Build the wxWidgets libraries==== 
-Now double click on the **MSYS** batch file **C:\MinGW\msys\1.0\msys.bat** to open a unix like shell and try this: 
-<code> 
-cd c: 
-cd wxWidgets-3.0.2 
-mkdir mingw 
-cd mingw 
-../configure --disable-shared --enable-unicode --enable-graphics_ctx --enable-monolithic  
-make BUILD=release 
-</code> 
- 
-  - Move or copy the library from **C:\wxWidgets-3.0.2\mingw\lib** to **C:\wxWidgets-3.0.2\lib-unicode**.\\ 
-  - Work your way down the directory tree you just moved or copied until you find a directory named wx, containing the file \\ **C:\wxWidgets-3.0.2\lib-unicode\wx\include\msw-unicode-release-static-3.0\wx\setup.h**.  
-  - Copy this file to the **wxWidgets-3.0.2\include\wx** directory.\\ 
- 
- 
- \\ 
- 
-=====Get the Rocrail sources===== 
-checkout the sources with GIT: 
-<code> 
-mkdir C:\Projects 
-cd C:\Projects 
-git clone <granted link> Rocrail 
-</code> 
- 
- \\ 
- 
-=====Build the project===== 
-Open a command shell and change directory to **C:\Projects\Rocrail** and execute make: 
-<code> 
-cd C:\Projects\Rocrail 
-make PLATFORM=WIN32 NATIVE=WIN32 MINGWINSTALL=C:\wxWidgets-3.0.2 wxversion=3.0 
-</code> 
  
cmingw-en.1542009373.txt.gz · Last modified: 2018/11/12 08:56 by 127.0.0.1