dev-c++ new biggenner

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
mihir
Posts: 4
Joined: Sun May 08, 2005 6:43 am

dev-c++ new biggenner

Post by mihir »

Hello,

I tried the dev=c++ tutorials & it worked fine.Now when I am trying to add the code from Hello world with media connected to sidny.md2...

the compiler is giving error with line 40 where it says
IAnimatedMesh* mesh = smgr->getMesh("../../media/sydney.md2");

i get this feed back
djtest.cpp In function `int main()':
djtest.cpp `smgr' undeclared (first use this function)
djtest.cpp `driver' undeclared (first use this function)
Makefile.win [Build Error] [djtest.o] Error 1

I am a complete bigenner & have very limited programming skills
I am a 3d graphic artist specialising in Maya.
Please any help will be apriciated

mihir
Hello everyone
phi

Post by phi »

Hello,
I would suggest, to follow the dev-c++ tutorial (but you might have done):
http://irrlicht.sourceforge.net/tut_devcpp.html

Be sure, all libs are added and that you are in the right directory (../../media...)
It don't know what this djtest.cpp is used for...

It sounds, if you had not declared irrlicht.h
darkraven
Posts: 29
Joined: Sat Mar 06, 2004 5:54 am
Location: Florida
Contact:

Post by darkraven »

Are you trying to compile the hello world code from the tutorial or are you using select code from it in your code. If its the latter could you post the source so we can see more into it. Its looks like both smgr and driver are being used without declaring it like this.

IVideoDriver* driver = device->getVideoDriver();
ISceneManager* smgr = device->getSceneManager();

But again with out seeing your code this may not be the case.
mihir
Posts: 4
Joined: Sun May 08, 2005 6:43 am

Post by mihir »

Thank you guys,.....

yes last night only after posting this one I looked more into the project & able to see that the path to the media was not working I mean it was wrong.

I could fix it Now I can run the tutorials. One problem is

I am able to get maya obj file into the ingine.

but when I am trying the same like quake3 map tutorial only changing the .zip map file to my .zip file which has the obj file & maps.

How ever I am not getting any texture....

Read the doc says obj comes in without texture,
what I am trying to do is get a architechtural demo file from maya as obj file & make a user control camera so that client can move along the scene.

I know that I have to do collusion detection too, but that is next step..

Plese let me know how i can get the maya obj file with its textures.

thank you,


any help will be appriciated.
Hello everyone
Post Reply