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.
Requirements
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 to 1.8.7: Microsoft Visual Studio 2013
- Version 1.8.8 and higher: Microsoft Visual Studio 2017
- OpenAL 1.1 driver
Please download OpenAL driver from Sourceforge.
Downloading the Source Code
Download latest source code (Win32-src and Editor-src) of VE from GitHub or Sourceforge.
Requirements Folder
In order to compile the source code with Visual Studio 2013 ,please download requirements folder from Sourceforge:
https://sourceforge.net/projects/vandaengine/files/Vanda%20Engine%201/Requirements/
This isn’t necessary after version 1.8.8.
Compiling
In this section, <version> refers to your downloaded version of VE source code.
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.
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
Compiling Win32
Download Win32-<version>-src and open VandaEngine1Win32.sln. Hit F5 to build the code and run the program.
(c) copyright Zehne Ziba Co., Ltd. For more information, please refer to copyright notice.