Beginner : Building Ogre3D in Code::blocks

Problems building or running the engine, queries about how to use features etc.
Post Reply
huymoi7
Gnoblar
Posts: 3
Joined: Fri Mar 22, 2013 7:51 am

Beginner : Building Ogre3D in Code::blocks

Post by huymoi7 »

Hi I am trying to build Ogre3D in code blocks.

Here is my error

Image

I've checked all the settings multiple times, I installed the latest version of MinGW and reinstalled codeblocks, but can't figure it out.

Note: I had to change the search directories in my debugger cause it couldn't find OgreMain_d and OIS_d for some reason.

Any suggestions? Thanks in advance.
huymoi7
Gnoblar
Posts: 3
Joined: Fri Mar 22, 2013 7:51 am

Re: Beginner : Building Ogre3D in Code::blocks

Post by huymoi7 »

Quote - "Promlem was that even I installed MinGW 4.7.2 and made the changes in Code::Blocks global compiler setting, I didn't save the settings. So the MinGW version was 4.7.1 and seems that this doesn't work with Ogre."

I don't understand. What version of MinGW should I be using? And how do I ask my IDE to change the version?

I have version 4.61 in directory "C:\MinGW\lib\gcc\mingw32"

Image

This is what my global compiler settings look like.

Image

The rest of the global compiler settings are empty.
TheSHEEEP
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 972
Joined: Mon Jun 02, 2008 6:52 pm
Location: Berlin
x 65

Re: Beginner : Building Ogre3D in Code::blocks

Post by TheSHEEEP »

The SDK was built with 4.7.0 as it states on the Downloads page.
So, that would be your best bet ;)

Also, make sure your PATH does point to the version of MinGW you actually want to use. Having multiple versions of MinGW installed usually ends very badly :)
My site! - Have a look :)
Also on Twitter - extra fluffy
huymoi7
Gnoblar
Posts: 3
Joined: Fri Mar 22, 2013 7:51 am

Re: Beginner : Building Ogre3D in Code::blocks

Post by huymoi7 »

Hmm problem. How do I download 4.7.0?

I did a google search for it but it seems like the link just updates itself to serve the latest version.

Also I don't know how to set the path of the version?
User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179
Contact:

Re: Beginner : Building Ogre3D in Code::blocks

Post by jacmoe »

You just posted an effing picture of how to set the path to MinGW?! What do you want? :)
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Post Reply