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 revisionNext revisionBoth sides next revision | ||
development:compiling:player:windows:visual-studio [2012/01/18 22:59] – fdelapena | development:compiling:player:windows:visual-studio [2017/08/18 16:52] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
====EasyRPG Source Code==== | ====EasyRPG Source Code==== | ||
- | Kind of obvious as you can't compile something you haven' | + | Kind of obvious as you can't compile something you haven' |
- | ====Visual C++ 2010==== | + | ====Visual C++ 2015==== |
- | You can find Visual Studio | + | You can find Visual Studio |
- | You can find a free version | + | Visual Studio 2015 Community is the free version. |
+ | |||
+ | Older compilers won't work because they don't support | ||
====Precompiled libraries==== | ====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 simple and quick installer | + | 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:// | ||
- | You can get the last version of the installer [[http:// | + | === Compiling |
- | Or, if you want a zipped | + | Follow the instructions in the '' |
- | ====Getting the libraries==== | + | == Before compiling |
- | '' | + | |
- | You can get the needed libraries from the following pages: | + | Create an environment variable EASYDEV_MSVC that points to ''' |
- | * [[http://www.libsdl.org/ | + | |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | You will need to adjust | + | == Compiling == |
+ | |||
+ | To compile open a Visual Studio Command Prompt (32 or 64 bit) and execute | ||
+ | |||
+ | '' | ||
+ | powershell .\setup.ps1 | ||
+ | build v140 | ||
+ | '' | ||
+ | |||
+ | ====Used libraries==== | ||
+ | //If you are using the precompiled | ||
+ | |||
+ | 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 ===== | ===== Compiling Player ===== | ||
- | Open the solution file in player\builds\vs2010 | + | 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 " | ||
- | The Player executable should be in the folder bin\testgame\Player.exe. If you are not using the precompiled libraries, and you have dinamically linked Player, you will need to place the required .dll in the same folder Player.exe is. |
development/compiling/player/windows/visual-studio.txt · Last modified: 2022/12/28 16:19 by carstene1ns