Tutorial 01
Compiler setup
Hello everyone
This section will explains how to setup your compiler
currently we use Microsoft Visual Studio for work and explain how to configure it ,but you will also be able to understand everything if you are using a different one.
for start we need some Requirements:
- Latest Version of pre build KGE
- Nvidia PhysX System Software
- and nothing More:D
Step 1:
Open Microsoft Visual Studio on your computer and in
in the appear Window ,in Section
Click OK Button.
Win32 Application Wizard is Start Automatically,Click on the
in the “Application Settings” Page of Wizard Window Choose
You have to include the header file "Include".
Let’s explain shortly how to specify this file in Microsoft Visual Studio:( maybe different for every IDE and compiler you use )
- if you use Microsoft Visual Studio 6.0,Select
Menu and select ,In the Option Window Select Tab , and select the ‘Include’ Item in the combo box , now Add the ‘include’ Directory path of the KGE engine folder to the list of directories,Now the compiler will find the “kge.h” header file.
Compiler also need to find the library files of engine,So select the ‘Library’ item in the combo box and add the “Libs” directory of the engine and also add the “Debug” directory of engine to find “kge.lib”
- If your IDE is Visual Studio .NET , Select
menu and select .Select the projects entry and then select . Select ‘show directories for include files’ in the combo box , and add “Include” Directories of KGE engine.
Compiler also need to find the library files of engine,so stay in that dialog , select ‘show directories for Library files’ and add the libs directory of engine and also add the “Debug” directory.
Click
That’s it. With your IDE set up like this, you will now be able to develop applications with the Kochol Game Engine.
Lets start!
Just write this program and compile it to make sure that you do all thing right.
#includekge::Device* pDev; int main() { pDev = new kge::Device(); return 0; }
- pragma comment(lib, "kge.lib")


