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 [2013/02/24 00:03] – new compile instructions ghabry | development:compiling:player:windows:visual-studio [2016/04/01 17:35] – remove boost fdelapena | ||
---|---|---|---|
Line 17: | Line 17: | ||
To compile open a Visual Studio Command Prompt (32 or 64 bit) and execute '' | To compile open a Visual Studio Command Prompt (32 or 64 bit) and execute '' | ||
- | === Compiling with Visual Studio 2012 === | + | == Compiling with Visual Studio 2012 == |
'' | '' | ||
- | To compile open a Visual Studio Command Prompt (32 or 64 bit). | + | 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: | + | The precompiled libraries are only tested with VS2010 |
- Install Visual Studio 2010 too and follow the instructions above. | - Install Visual Studio 2010 too and follow the instructions above. | ||
Line 32: | Line 32: | ||
The resulting files appear in vs2010. | The resulting files appear in vs2010. | ||
- | The boost ([[http:// | + | 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. |
- | + | ||
- | You will need to manually add the EASYDEV_MSVC enviroment variable and target the path where you place them. | + | |
To create new environment variables enter the " | To create new environment variables enter the " | ||
Line 44: | Line 42: | ||
* DirectX SDK (February 2010) | * DirectX SDK (February 2010) | ||
- | * expat 2.1.0 | + | * expat |
- | * freetype | + | * freetype |
- | * libjpeg | + | * libjpeg |
- | * libmad | + | * libmad |
- | * libmikmod | + | * libmikmod |
- | * libogg | + | * libogg |
- | * libpng | + | * libpng |
- | * libvorbis | + | * libvorbis |
- | * libvorbisfile | + | * libvorbisfile (included with libvorbis) |
* native_midi (included with SDL_mixer) | * native_midi (included with SDL_mixer) | ||
- | * Pixman | + | * Pixman |
- | * SDL 1.2.15 | + | * SDL2 |
- | * SDL_image 1.2.12 (BMP, GIF, JPG, PNG support) | + | * SDL2_mixer |
- | * SDL_mixer 1.2.12 | + | * zlib |
- | * SDL_ttf 2.0.11 | + | |
- | * zlib 1.2.7 | + | |
===== Compiling Player ===== | ===== Compiling Player ===== | ||
- | You need to place the [[https:// | + | You need to place the [[https:// |
Open the solution file in '' | Open the solution file in '' | ||
The Player executable should be in the folder '' | 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 " | ||
+ | |||
+ | ==== LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt ==== | ||
+ | |||
+ | Press compile again, then linking should succeed, if not: | ||
+ | |||
+ | This error happens because of conflict of two versions of cvtres.exe if you have Visual Studio 2010 and 2012 installed on same PC. To fix it, go to the bin directory of Visual Studio 2010 (usually C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\) and rename cvtres.exe to cvtres0.exe. It will not break the linker of 2010. |
development/compiling/player/windows/visual-studio.txt · Last modified: 2022/12/28 16:19 by carstene1ns