User forums > Help

Ogre\ Code::blocks headache

(1/3) > >>

webwraith:
I've been trying for a while now to get the Ogre3D engine to work with Code::Blocks, but I'm still having troubles.
I followed the instructions on Wiki to the letter, and couldn't get it to even compile, however, oddly enough, one WinXP reinstall later, and I got  the sample code to run almost immediately.

My problem come when I try to run the program (both from within Code::Blocks and without), I just keep getting an initialization error, but I dont know whether this is a problem with Code::Blocks making a mistake when it compiles and links, or whether there's a problem with the way I have windows set up

the hex error number is:00xc0150002, and the program never actually starts, instead, code::block console_runner window appears, along with a dialog, with the error report.

Sorry if this is in the wrong place, or if I should be contacting Microsoft instead, but I don't relly want to run the VCTK from the command line, or splash out money I don't have on a full blown Microsoft compiler.

I've got everything sorted out as in the Wiki, and I'm using the right compiler with my project, so I don't think it's these.

Any help would be appreciated.

sethjackson:
You are using the Ogre template? console_runner is for console apps only I don't think it is in the Ogre template....

EDIT:

Oh yeah you could use GCC.  :D

webwraith:
I need to compile for that one, right? I tried that before and kept getting errors. I'll try it again, though, and post back here whether or not it worked.

Also, can I use the GCC version, with MinGW?

or do I have to get the MinGW-specific version?

sethjackson:
Ok if you use the Ogre template, and you use the VCTK you need to use the VCTK Ogre template not the GCC version. Otherwise use the GCC Ogre template.

webwraith:
Yeah, that's what I tried before, and the whole thing was the straight-lace template included with Code::Blocks.
Like I said, I DLed all the VCTK, PSDK and everything else, just like it says in the Wiki.

Right, I can't actually find a GCC port anywhere, although there is one for MinGW, I'm assuming that's the one?

Navigation

[0] Message Index

[#] Next page

Go to full version