When I compile in VC2008 I get the following error:
Integrating LUA
1>Vita.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class CEGUI::LuaScriptModule & __cdecl CEGUI::LuaScriptModule::create(struct lua_State *)" (__imp_?create@LuaScriptModule@CEGUI@@SAAAV12@PAUlua_State@@@Z) referenced in function _WinMain@16
1>.\Vita-Debug.exe : fatal error LNK1120: 1 unresolved externals
Here are bits of my code:
Code: Select all
#include <iostream>
using namespace std;
//Load the engine
#include "engine.h"
//Load the scene processer
#include "ProcessScene.h"
//Load the UI engine
#include "include/CEGUI.h"
#include "include/RendererModules/OpenGL/CEGUIOpenGLRenderer.h"
//Load LUA For UI
#include "include/ScriptingModules/LuaScriptModule/CEGUILua.h"
//Load the input engine
#include "sdl/include/SDL.h"
and the lines that crash
Code: Select all
// create a script module
//THIS CRASHES
CEGUI::LuaScriptModule& scriptmod(CEGUI::LuaScriptModule::create());
// tell CEGUI to use this scripting module
CEGUI::System::getSingleton().setScriptingModule(&scriptmod);
I reckon this is because the compiler is unable to locate a DLL? If so, which DLL am I supposed to get and where should I put it?