Problems with the exemples 2, 4 and 5.

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
Enxaqueca

Problems with the exemples 2, 4 and 5.

Post by Enxaqueca »

Hi all :P !! I'm using DevCpp 4.8.9.1, i compiled the Hello word fine. http://irrlicht.sourceforge.net/tut001.html

But i like to know what means those erros below, and a solution please.
=================================================

In the exemple 2 - Load a quake map ( http://irrlicht.sourceforge.net/tut002.html ) the .exe created doesn't run!!!
=================================================

In the exemple 4 - movement. http://irrlicht.sourceforge.net/tut004.html
i got
133 C:\DOCUME~1\Bruno\Desktop\Irrdemo\teste.cpp
parse error at end of

C:\Documents and Settings\Bruno\Desktop\Irrdemo\Makefile.win
[Build Error] [../../../../DOCUME~1/Bruno/Desktop/Irrdemo/teste.o] Error 1

device->setWindowCaption(tmp);
lastFPS = fps;
}
}

device->drop();
return 0;
} // line 133, last line!!
=================================================

Exemple 5 - User iterface http://irrlicht.sourceforge.net/tut005.html
The .exe doesn't run.
=================================================

I didn't tried the others exemples, maybe will occur errors too. :cry:
cyberbillp
Posts: 12
Joined: Tue Jan 04, 2005 11:54 pm
Location: florida
Contact:

blank line

Post by cyberbillp »

Maybe you need a blank line at the end of the file.
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

Are these examples using DirectX ???
Are you using a Irrlicht DLL for Dev including DX support ???

If You use the standart Dev-DLL (includet to Irrlicht) there is no DX support, you have to recompile the DLL...
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Enxaqueca

Post by Enxaqueca »

Maybe you need a blank line at the end of the file.
I do this too. Nothing happends.
...If You use the standart Dev-DLL (includet to Irrlicht) there is no DX support, you have to recompile the DLL...
That's new to me. How do i do this? :roll: seriously!!!
cyberbillp
Posts: 12
Joined: Tue Jan 04, 2005 11:54 pm
Location: florida
Contact:

editor

Post by cyberbillp »

I've seen editors that strip off trailing crlf's. Try adding a blank line with another editor.
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

First you should try to compile and run the demos with OpenGL or Software renderer instead of DirectX... (just edit the createDevice line)

For recompiling the DLL have a search on the forums, there is a huge thread about this...
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Enxaqueca

Post by Enxaqueca »

Acki wrote:...
For recompiling the DLL have a search on the forums, there is a huge thread about this...
U mean this one?? http://irrlicht.sourceforge.net/phpBB2/ ... php?t=1700
I had found another thread about DX9, ill try both. I hope it works. :wink:
Enxaqueca

Post by Enxaqueca »

I got this line from a exemple:

device = createDevice(video::EDT_OPENGL, core::dimension2d<s32>(640, 480),
16, false, false, false, &receiver);

:?: :?: The problem is with OGL?
Post Reply