Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Irrlicht and Eclipse
Irrlicht and Eclipse [message #887957] Sun, 17 June 2012 12:22 Go to next message
Step O is currently offline Step OFriend
Messages: 4
Registered: June 2012
Junior Member
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 08:46 Go to previous message
Step O is currently offline Step OFriend
Messages: 4
Registered: June 2012
Junior Member
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.
Previous Topic:Configuring eclipse to use Microsoft Visual C++ Toolchain?
Next Topic:Custom Toolchain in PluginWizard
Goto Forum:
  


Current Time: Mon Dec 22 02:47:26 GMT 2014

Powered by FUDForum. Page generated in 0.03763 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software