User Tools

Site Tools


en:tutorials:compiling_orx_with_mingw32_gmake

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
en:tutorials:compiling_orx_with_mingw32_gmake [2019/07/17 12:33 (11 months ago)]
sausage Changes for installing mingw-w64. Gmake needs to be tested.
en:tutorials:compiling_orx_with_mingw32_gmake [2019/07/18 02:30 (10 months ago)]
sausage Updates for 64-bit
Line 46: Line 46:
 ===== Creating a build project for gmake ===== ===== Creating a build project for gmake =====
  
-When first cloning Orx, this project should already be created for you. If so, skip this section.+When first cloning Orx, this project should already be created for you at: ''​C:​\[somewhere]\orx\code\build\windows\gmake''​.
  
-  - Open a command window (cmd.exe) +If not, run the ''​setup.bat''​ script in the root of the Orx repo folder.
-  - cd into the C:​\[somewhere]\orx\code\build ​folder +
-  - premake4.exe gmake+
  
-Expected ​output:+If you need to run it, the expected ​output ​is:
   
  Building configurations...  Building configurations...
Line 66: Line 64:
  
   - cd into the gmake folder   - cd into the gmake folder
-  - mingw32-make+  - mingw32-make ​(to compile the default configuration - debug/​64-bit)
  
 Expected output Expected output
Line 152: Line 150:
  
  
-===== Profile ​and Release builds ​=====+===== Other configurations ​and 32-bit / 64-bit ​=====
  
-If you wish to build the other configurations, ​you can do so with:+If you wish to build the other configurations, ​this is the complete list:
  
-mingw32-make config=profile +  * mingw32-make config=debug64 
- +  * mingw32-make config=profile64 
-and... +  * mingw32-make config=release64 
- +  * mingw32-make config=debug32 
-mingw32-make config=release +  ​* ​mingw32-make config=profile32 
- +  * mingw32-make config=release32
-... respectively.+
  
  
Line 178: Line 175:
 A. Try compiling again with debug messages again to get all possible information:​ A. Try compiling again with debug messages again to get all possible information:​
  
-''​mingw32-make -d config=debug''​+''​mingw32-make -d config=debug64''​ or ''​mingw32-make -d config=debug32''​
  
  
Line 187: Line 184:
 ''​C:​\Program Files (x86)\Git\bin''​ ''​C:​\Program Files (x86)\Git\bin''​
  
-Reopen your windows console ​and try compiling again.+Reopen your Windows Console ​and try compiling again.
  
 Q. You don't get any specific errors in the debug output. Q. You don't get any specific errors in the debug output.
  
-A. Ensure you passed the correct config value. It must be either ''​debug'',​ ''​profile'',​ ''​release''​ or not specified. If you typed any other value, you will get empty output like:+A. Ensure you passed the correct config value. It must be either ''​debug32'',​ ''​profile32'',​ ''​release32'',​ ''​debug64'',​ ''​profile64'',​ ''​release64''​ or not specified. If you typed any other value, you will get empty output like:
  
 <​code>​ <​code>​
en/tutorials/compiling_orx_with_mingw32_gmake.txt · Last modified: 2019/07/18 05:33 (10 months ago) (external edit)