Irrlicht and Eclipse [message #887957] |
Sun, 17 June 2012 08:22  |
Eclipse User |
|
|
|
Hey!
I have tried to set up Irrlicht. I am on a Win7 x64 machine and am using eclipse indigo cdt + mingw. The same code and setup works in code::blocks but not in eclipse.
I tried following this set up tutorial:
irrlicht.sourceforge.net/forum/viewtopic.php?t=25355
and then compile the hello world tutorial here:
irrlicht.sourceforge.net/docu/example001.html
It does compile, no error messages, dll is in the folder of the exe etc, but when it hits
device->setWindowCaption(L"Hello World! - Irrlicht Engine Demo");
an empty window pops up and crashes.
The pre-compiled tutorial.exe works, so it shouldn't be a driver problem.
The debugger stops at exactly that line and if run in command line, no error messages appear. The same set-up works in code::blocks, but not in eclipse idigo or helios. Am I missing something? Any help would be appreciated.
Thank you!
|
|
|
Re: Irrlicht and Eclipse [message #888532 is a reply to message #887957] |
Mon, 18 June 2012 04:46  |
Eclipse User |
|
|
|
Follow up question:
Is anyone here using the irrlicht library with eclipse?
Further info:
I get the pointer from:
IrrlichtDevice* device =createDevice( video::EDT_SOFTWARE, dimension2d<u32>(640, 480), 16,false, false, false, 0);
if (!device)
return 1;
so it should be valid.
device->setWindowCaption(L"Hello World! - Irrlicht Engine Demo");
the debugger gives me a segmentation fault at that line.
I have reproduced the same error on a winxp machine and in helios. codeblocks runs this fine with the same setup and code.
Thanks for your time.
|
|
|
Powered by
FUDForum. Page generated in 0.18227 seconds