Ogre 1.7.1 Cthugha Ubuntu 10.04 instalation tutorial

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
thiagofera
Gnoblar
Posts: 13
Joined: Wed Dec 01, 2010 2:15 pm

Re: Ogre 1.7.1 Cthugha Ubuntu 10.04 instalation tutorial

Post by thiagofera »

Best tutorial for it, well, if I want to debug, witch steps I must take?

obs:For people with Cg not working, reinstall through Synaptic nvidia-cg-toolkit ;)
thiagofera
Gnoblar
Posts: 13
Joined: Wed Dec 01, 2010 2:15 pm

Re: Ogre 1.7.1 Cthugha Ubuntu 10.04 instalation tutorial

Post by thiagofera »

Waiting for a responce...
jonathan_blacknight
Kobold
Posts: 32
Joined: Sun Mar 21, 2010 8:42 am
Location: Brazil
x 2

Re: Ogre 1.7.1 Cthugha Ubuntu 10.04 instalation tutorial

Post by jonathan_blacknight »

if you are using Code::Blocks before you running the app, in the top menu bar you have a combo try to change to debug or release
Brazilian blog about game programming
http://www.pontov.com.br/

My develop blog:
http://shydsgames.com/
thiagofera
Gnoblar
Posts: 13
Joined: Wed Dec 01, 2010 2:15 pm

Re: Ogre 1.7.1 Cthugha Ubuntu 10.04 instalation tutorial

Post by thiagofera »

jonathan_blacknight wrote:if you are using Code::Blocks before you running the app, in the top menu bar you have a combo try to change to debug or release
Yes, running a release version it's easy, but I wanto to debug my games...
And also in the beggining there was a terminal running with the ogre, now the ogre is running imeddiately, is there a way to re-enable this?
jonathan_blacknight
Kobold
Posts: 32
Joined: Sun Mar 21, 2010 8:42 am
Location: Brazil
x 2

Re: Ogre 1.7.1 Cthugha Ubuntu 10.04 instalation tutorial

Post by jonathan_blacknight »

What you mean when you talk about debug your game? Debug and Release mode? In Code::Blocks I really don't know what to do, but i think that is something in the project settings, or maybe, when you start a new project, you need to choose console project
Brazilian blog about game programming
http://www.pontov.com.br/

My develop blog:
http://shydsgames.com/
thiagofera
Gnoblar
Posts: 13
Joined: Wed Dec 01, 2010 2:15 pm

Re: Ogre 1.7.1 Cthugha Ubuntu 10.04 instalation tutorial

Post by thiagofera »

Oh, I forgot to tell, I want to build a Source because I keep receiving a
ld||cannot find -lOIS_d|
:roll: :?
jonathan_blacknight
Kobold
Posts: 32
Joined: Sun Mar 21, 2010 8:42 am
Location: Brazil
x 2

Re: Ogre 1.7.1 Cthugha Ubuntu 10.04 instalation tutorial

Post by jonathan_blacknight »

I don't know how to solve but try rebuild the ogre, and check if he create all .so's file to debug and release version, maybe he can generate with a differente name instead IOS_D
Brazilian blog about game programming
http://www.pontov.com.br/

My develop blog:
http://shydsgames.com/
thiagofera
Gnoblar
Posts: 13
Joined: Wed Dec 01, 2010 2:15 pm

Re: Ogre 1.7.1 Cthugha Ubuntu 10.04 instalation tutorial

Post by thiagofera »

jonathan_blacknight wrote:I don't know how to solve but try rebuild the ogre, and check if he create all .so's file to debug and release version, maybe he can generate with a differente name instead IOS_D
Well, where are the SO's, and where should be the lOIS_d? Can you run an Ogre with instead of a release version a debug one?
ps:I've noticed that you are Brazilian like me :P

EDIT: I've searched and I think I need to build OIS with debug mode... How do I do that?
thiagofera
Gnoblar
Posts: 13
Joined: Wed Dec 01, 2010 2:15 pm

Re: Ogre 1.7.1 Cthugha Ubuntu 10.04 instalation tutorial

Post by thiagofera »

Well, I couldn't find lOIS_d.so, so I just run

Code: Select all

cp -P /usr/lib/libOIS.so /usr/lib/libOIS_d.so
and got Debug working, thanks fol the help ;)
ps: you could add that to the tutorial...
jonathan_blacknight
Kobold
Posts: 32
Joined: Sun Mar 21, 2010 8:42 am
Location: Brazil
x 2

Re: Ogre 1.7.1 Cthugha Ubuntu 10.04 instalation tutorial

Post by jonathan_blacknight »

tutorial updated thanks :)

good luck with ogre.

I'll start post some articles in potuguese in pontov.com.br.

Good luck with your game :)
Brazilian blog about game programming
http://www.pontov.com.br/

My develop blog:
http://shydsgames.com/
Post Reply