User Tools

Site Tools


development:compiling:player:windows:visual-studio

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
development:compiling:player:windows:visual-studio [2013/02/24 00:05] – +env text ghabrydevelopment:compiling:player:windows:visual-studio [2022/12/28 16:19] (current) – removed outdated guide carstene1ns
Line 1: Line 1:
 ====== Compiling Player on Visual Studio ====== ====== Compiling Player on Visual Studio ======
  
-===== Things Needed =====+This guide has been updated and moved to the forums:
  
-====EasyRPG Source Code==== +https://community.easyrpg.org/t/guide-how-to-build-easyrpg-player-on-windows/1174
-Kind of obvious as you can't compile something you haven't, check [[../../getting-sources|]] for more info. +
- +
-====Visual C++ 2010/2012==== +
-You can find Visual Studio 2010 and 2012 on the [[http://www.microsoft.com/visualstudio/en-us/|Microsoft website]]. +
-Visual Studio Express is the free version. +
- +
-====Precompiled libraries==== +
-EasyRPG Player needs several libraries for compiling. It would be a bit tedious getting all those libraries one by one, so we have prepared a [[ +
-https://github.com/Ghabry/easyrpg-win32-libs|git repository]] with needed dependencies (maintained by Ghabry). +
- +
-=== Compiling with Visual Studio 2010 === +
-To compile open a Visual Studio Command Prompt (32 or 64 bit) and execute ''build_vs2010.cmd'' (the Command Prompt can be found in the start menu). +
- +
-=== Compiling with Visual Studio 2012 === +
-''If you compiled using VS2010 you can skip this part.'' +
- +
-To compile open a Visual Studio Command Prompt (32 or 64 bit). The Command Prompt can be found in the start menu. +
- +
-The precompiled libraries are only tested with VS2010. Possible workarounds: +
- +
-  - Install Visual Studio 2010 too and follow the instructions above. +
-  - Install the [[https://www.microsoft.com/en-us/download/details.aspx?id=8279|Windows 7.1 SDK]] and compile using ''build_vs2010 windows7.1sdk'' +
-  Compile using ''build_vs2010 v110'', the libraries will be incompatible with Windows XP! +
-  Install [[https://www.microsoft.com/de-de/download/details.aspx?id=35774|Visual Studio 2012 Update 1]] and compile using ''build_vs2010 v110_xp'' (XP compatible toolset) +
- +
-=== After compiling === +
-The resulting files appear in vs2010. +
- +
-The boost ([[http://www.boost.org/]]) headers are not included because of their gigantic filesize. The boost folder must be placed in ''vs2010/include/boost''+
- +
-You will need to manually add the EASYDEV_MSVC enviroment variable and target the path vs2010 otherwise the EasyRPG solution file can't find the libraries. +
- +
-To create new environment variables enter the "Windows Control Panel" and select "System" (or enter "environment variable" in the search field). Sometimes new environment variables are not detected. Logout and -in again in order to fix this. +
- +
-====Used libraries==== +
-''If you are using the precompiled libraries you can skip this part.'' +
- +
-If you want to compile by yourself: +
- +
-  * DirectX SDK (February 2010) +
-  * expat 2.1.0 +
-  * freetype 2.4.11 +
-  * libjpeg 9 +
-  * libmad 0.15.1b +
-  * libmikmod 3.2.0 +
-  * libogg 1.3.0 +
-  * libpng 1.5.14 +
-  * libvorbis 1.3.3 +
-  * libvorbisfile 1.3.3 (included with libvorbis) +
-  * native_midi (included with SDL_mixer) +
-  * Pixman 0.28.2 +
-  * SDL 1.2.15 +
-  * SDL_image 1.2.12 (BMP, GIF, JPG, PNG support) +
-  * SDL_mixer 1.2.12 (WAV, MOD, MP3, OGG and MID support) +
-  * SDL_ttf 2.0.11 +
-  * zlib 1.2.7 +
- +
-===== Compiling Player ===== +
- +
-You need to place the [[https://github.com/EasyRPG/Readers|Readers library]] sources into the player lib/readers folder. +
- +
-Open the solution file in ''player\builds\vs2010'', select "Debug" or "Release" configuration from the configuration manager pulldown menu and then go to Build->Build solution, or just press Control-F7 to compile it. +
- +
-The Player executable should be in the folder ''bin''. If you are not using the precompiled libraries, and you have dynamically linked Player, you will need to place the required .dll in the same folder Player.exe is.+
development/compiling/player/windows/visual-studio.1361664310.txt.gz · Last modified: 2013/06/30 23:46 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki