problem with compile&run

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
Bird
Posts: 4
Joined: Mon Mar 06, 2006 5:16 am
Location: Switzerland (Baselland)

problem with compile&run

Post by Bird »

Hi

I tried to go through the Hello-World tutorial for the Dev-Cpp IDE: http://irrlicht.sourceforge.net/tut001b.html
I did it, but when i tried to run it, there was an error about "matrix4.h"

Code: Select all

//! Gets the current translation
vector3df matrix4::getTranslation() const;
this line of code was marked


EDIT:
as i just saw it isn't only this line ^^
there are many other files containing errors. All in the /Include folder.
Did i miss to include a file somewhere?

i'm afraid i don't get it :S
I never had a signature and I don't need one now.
strale
Posts: 119
Joined: Wed Nov 23, 2005 1:58 pm
Location: Lambrugo Italy
Contact:

Post by strale »

hi

i use devc++ too but i got no problems about

there is a tutorial in the forum to configutre devc++ for irrlicht (sorry i do not remember the adress now search in the site)

for what i remember you have :
in the devc++ option menu
1) set the path for include files
2) set the path for irrlicht library

put in win32 the dec++ irrrlicht dll,
or add a path to it
or copy it in the same directory of dev c++ project

hope could help
bye
Bird
Posts: 4
Joined: Mon Mar 06, 2006 5:16 am
Location: Switzerland (Baselland)

Post by Bird »

lol, i even wrote the link to this tutorial in my post above ^^

yeah, i read it.
But still i didn't have any success
I never had a signature and I don't need one now.
r3i
Posts: 147
Joined: Wed Jun 29, 2005 10:15 am
Location: Sorrento
Contact:

Hi

Post by r3i »

Ok! *^^
Can You read the message error in the output window of Devcpp.
On the bottom of the Devcpp window.

Reading this we can understand what kind of error does the compilator
"We work in the dark, we do what we can, we give what we have, Our doubt is our passion and our passion is our task. The rest: is art of Madness" (H.James)
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

I also used Dev for a long time !!!
It's preatty good...

But I suggest all Dev users to switch to Code::Blocks !!! :P
It's much better than Dev - it's like the big brother of Dev !!! :wink:
But be sure you're using the nightly builds, they're even much better than the standart version !!! :idea:
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Bird
Posts: 4
Joined: Mon Mar 06, 2006 5:16 am
Location: Switzerland (Baselland)

Post by Bird »

...\irrlicht-0.14\include\matrix4.h | C5427 (W) Qualified name is not allowed in member declaration
...\irrlicht-0.14\include\matrix4.h | C5177 (W) Varaible "D" was declared but never referenced
...\irrlicht-0.14\include\ISceneNode.h | C5284 (W) NULL reference is not allowed
...\irrlicht-0.14\include\quaternion.h | C5427 (W) Qualified name is not allowed in member declaration
...\irrlicht-0.14\include\quaternion.h | C5020 (E) Identifier "sqrtf" is undefined (this one appears 5 times in the same file)
...\irrlicht-0.14\include\irrlicht.h | C5005 (F) could not open source file "wchar.h"


bah... a very good start to irrlicht -.-
I never had a signature and I don't need one now.
strale
Posts: 119
Joined: Wed Nov 23, 2005 1:58 pm
Location: Lambrugo Italy
Contact:

Post by strale »

:oops:
sorry i didnt noticed

i just tried to rebuild the E\irrlicht-0.14.0\examples\01.HelloWorld
loaded the project example.dev
and i got no problems.

??
i use dev-c++ 4.9.9.2 but i doubt it s this

yesteray i saw a thread about using irr with borland
and there was the same error you found


....
\irrlicht-0.14\include\quaternion.h | C5020 (E) Identifier "sqrtf" is undefined (this one appears 5 times in the same file)
...

pheraps you linked the library
of visualstudio instead the ones for devc++ that use Win32-gcc directory ?

bye
Bird
Posts: 4
Joined: Mon Mar 06, 2006 5:16 am
Location: Switzerland (Baselland)

Post by Bird »

yaaay!!!
i did it!!

I did all right with including etc, but i think i messed something up with the installation of Dev-cpp ^^ (it came with a CD once)

So i just downloaded the newest one (had 4.9.9.0 before, now i have the newest beta)
...and now it works perfectly ^^


--->
Ok, World!! Take care of Sven, the future Game-Developer!!

..what?
isn't dreaming allowed??


thx to you all ;)
I never had a signature and I don't need one now.
Post Reply