To start development using precompiled Linderdaum Engine libraries you have to make proper project configuration for Visual Studio 2008 or 2010. VS Express Edition users have to download VCOMPD.lib and VCOMPD.dll to use OpenMP. Here are the basic steps you have to perform in VS 2008 to create a new project:
1. Goto File->New->Project menu and select Win32 Console Application
2. Goto Project->Properties and in C++/General tab specify path to additional include directories:
3. Goto Project->Properties and in Linker/General tab specify path to libraries directories:
4. Goto Project->Properties and in Linker/Input tab specify list of libraries:
LinderdaumEngineCore.lib OpenGL32.Lib user32.lib gdi32.lib Vfw32.lib ole32.lib glew32.lib ogg.lib vorbisfile.lib nvAPI.lib NVPerfSDK.lib FreeImage.lib fmodex_vc.lib wsock32.lib
5. Goto General and select Use of MFC: Use Standard Windows Libraries
6. Include this code into your project:
#include "Linderdaum.h"
#include <tchar.h>
sEnvironment* Env;
APPLICATION_ENTRY_POINT
{
Env = new sEnvironment;
Env->DeployDefaultEnvironment( NULL, "..\\..\\CommonMedia" );
Env->RunApplication( DEFAULT_CONSOLE_AUTOEXEC );
Env->ShutdownEnvironment();
delete( Env );
return 0;
}
APPLICATION_SHUTDOWN
{
}
and press Rebuild Solution. You should have the project linked successfully.
Now you can start developing using Linderdaum Engine.