(c) copyright Zehne Ziba Co., Ltd. For more information, please refer to copyright notice.
Welcome to tutorial 2. In this tutorial I’ll explain how to compile the source code of Vanda Engine. If you’re not interested in programming and source code of VE, you can skip this tutorial.
In order to compile the code and run the program, you should install the following programs:
- Version 1.3.1: Microsoft Visual Studio 2005
- Version 1.3.2 and 13.3: Microsoft Visual Studio 2010
- Version 1.3.4: Microsoft Visual Studio 2012
- Version 1.3.5 and later : Microsoft Visual Studio 2013
- OpenAL 1.1 driver
Please download OpenAL driver from Sourceforge.
Downloading the source code
[alert color=”blue”] In this section, <version> refers to your downloaded version of VE source code. [/alert]
In order to compile the source code, you should use Microsoft Visual Studio 2005 (for version 1.3.1), Microsoft Visual Studio 2010 (for version 1.3.2 and 1.3.3), Microsoft Visual Studio 2012 (for version 1.3.4) or Microsoft Visual Studio 2013 (for version 1.3.5 and 1.4)
Vanda Engine contains 2 projects: Editor-<version>-src refers to the Editor of VE and Win32-<version>-src is responsible for rendering the game in full screen mode. When you make a change in the core of VE, you should apply it to both Editor-<version>-src and Win32-<version>-src projects. when you add a function that refers to the editor of VE (such as UI), you should apply the code to Editor-<version>-src project.
Compiling the editor
Download Editor-<version>-src and open VandaEngine1.sln. Hit F5 to build the code and run the program.
[alert color=”blue”] Version 1.3.5 and later: If you open the source code of editor with Microsoft Visual Studio 2013, you may get this error:
error MSB8031: Building an MFC project for a non-Unicode character set is deprecated.
This error message is due to the missing MBCS MFC package. Starting with Visual Studio 2013, MBCS portion of the MFC library has been broken out of the Visual Studio product into its own separate download. Installing this package and rebuilding should fix the problem. The download is available here [/alert]
Download Win32-<version>-src and open VandaEngine1Win32.sln. Hit F5 to build the code and run the program.
Let’s stay in touch!
Never miss a single tutorial, sign up for our monthly newsletter. You can unsubscribe at any time if you wish to stop receiving email newsletters from vandaengine.org