development:compiling:player:windows:visual-studio
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| development:compiling:player:windows:visual-studio [2016/10/26 17:13] – Update to 2015 ghabry | development: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 |
| - | + | ||
| - | ====EasyRPG Source Code==== | + | |
| - | Kind of obvious as you can't compile something you haven' | + | |
| - | + | ||
| - | ====Visual C++ 2015==== | + | |
| - | You can find Visual Studio 2015 [[https:// | + | |
| - | Visual Studio 2015 Community is the free version. | + | |
| - | + | ||
| - | Older compilers won't work because they don't support C++11. If you have already installed Visual Studio 2015 make sure that you update it to Update 2. | + | |
| - | + | ||
| - | ====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:// | + | |
| - | + | ||
| - | === Compiling with Visual Studio 2015 === | + | |
| - | + | ||
| - | Follow the instructions in the '' | + | |
| - | + | ||
| - | == Before compiling == | + | |
| - | + | ||
| - | Create an environment variable EASYDEV_MSVC that points to ''' | + | |
| - | + | ||
| - | == Compiling == | + | |
| - | + | ||
| - | To compile open a Visual Studio Command Prompt (32 or 64 bit) and execute | + | |
| - | + | ||
| - | ''' | + | |
| - | powershell .\setup.ps1 | + | |
| - | build v140 | + | |
| - | ''' | + | |
| - | + | ||
| - | ====Used libraries==== | + | |
| - | '' | + | |
| - | + | ||
| - | If you want to compile by yourself: | + | |
| - | + | ||
| - | * expat | + | |
| - | * freetype | + | |
| - | * harfbuzz | + | |
| - | * icu4c | + | |
| - | * libmodplug | + | |
| - | * libogg | + | |
| - | * libpng | + | |
| - | * libsndfile | + | |
| - | * libvorbis | + | |
| - | * libvorbisfile (included with libvorbis) | + | |
| - | * mpg123 | + | |
| - | * native_midi (included with SDL_mixer) | + | |
| - | * pixman | + | |
| - | * SDL2 | + | |
| - | * SDL2_mixer | + | |
| - | * speexdsp | + | |
| - | * zlib | + | |
| - | + | ||
| - | ===== Compiling Player ===== | + | |
| - | + | ||
| - | You need to place the [[https:// | + | |
| - | + | ||
| - | Open the solution file in '' | + | |
| - | + | ||
| - | The Player executable should be in the folder '' | + | |
| - | + | ||
| - | ===== Troubleshooting ===== | + | |
| - | + | ||
| - | ==== " | + | |
| - | + | ||
| - | This usually happens if you link against the wrong visual studio runtime and shouldn' | + | |
| - | + | ||
| - | If you got the libraries from other sources make sure that their runtime library (Project Properties -> C++ -> Code generation) is set to " | + | |
| + | https:// | ||
development/compiling/player/windows/visual-studio.1477502038.txt.gz · Last modified: 2016/10/26 17:13 (external edit)