Irrlicht + IrrWizard n00b problems
Posted: Tue Feb 24, 2009 12:03 am
Okay, after alot of other noob problems i finally managed to setup Irrlicht & the IrrWizard LITE framework and make a few minor changes.
Everything compiles fine, i only get 1 warning which is completely irrelevant atm.
The problem is that the program crashes immediately after creating the irrlicht device, even the very next statement is never ran.
Heres the only code that i can tell is relevant:
The last line of the output reads: GLSL not available, but i dont think that is what is causing the crash.
Just in case anyone is interested:
Doxygen -
http://shady.evilfuckerz.org
http://code.google.com/p/shady-open/downloads/ or
http://shady.evilfuckerz.org/files
SVN -
http://shady-open.googlecode.com/svn/trunk/ shady-open-read-only
That should cover it
Thanks in advance.
Everything compiles fine, i only get 1 warning which is completely irrelevant atm.
The problem is that the program crashes immediately after creating the irrlicht device, even the very next statement is never ran.
Heres the only code that i can tell is relevant:
Code: Select all
void CGameManager::createDevice(wchar_t* windowCaption, irr::core::dimension2d<s32> windowRes, bool windowFullscreen) {
std::cout<<"Creating graphics device...\n";
//Device parameters -> renderer|screen size|colour depth|full window|shadows|vsync|input device
m_pDevice = irr::createDevice(EDT_OPENGL, windowRes, 16, windowFullscreen, true, false, 0);
// PROGRAM CRASHES HERE, COUT NEVER RUNS.
std::cout<<"Setting window caption\n";
m_pDevice->setWindowCaption(windowCaption);
std::cout<<"Setting irrlicht device pointers:\n";
m_pDriver = m_pDevice->getVideoDriver();
m_pSceneManager = m_pDevice->getSceneManager();
m_pGUIEnvironment = m_pDevice->getGUIEnvironment();
}
Just in case anyone is interested:
Doxygen -
http://shady.evilfuckerz.org
http://code.google.com/p/shady-open/downloads/ or
http://shady.evilfuckerz.org/files
SVN -
http://shady-open.googlecode.com/svn/trunk/ shady-open-read-only
That should cover it
Thanks in advance.