This is an old revision of the document!
Kind of obvious as you can't compile something you haven't, check getting-sources for more info.
You can find Visual Studio 2010 and 2012 on the Microsoft website. Visual Studio Express is the free version.
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 git repository with needed dependencies (maintained by Ghabry).
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).
It happens because of because of standart C++ templates, that are released in Visual Studio libs and in additional UNIX libs too. So, you have to exclude one of them to use another.
Just add one of them, go to Project Properties / Linker / Input / Ignore Specific Default Libraries and set ignoring LIBCMT.LIB.
This error happens because of conflict of two versions of cvtres.exe if you have Visual Studio 1010 and 2012 isntalled on same PC. To fix it, go to the bin directory of Visual Studio 2010 (c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\ or something like this) and rename cvtres.exe to cvtres0.exe.
It willn’t break linker of 2010,
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 and don't compile directly using VS2012. Possible workarounds:
build_vs2010 v110, the libraries will be incompatible with Windows XP!
build_vs2010 v110_xp(XP compatible toolset)
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
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.
If you are using the precompiled libraries you can skip this part.
If you want to compile by yourself:
You need to place the 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.