Problem Compiling Irrlicht with Ackis Extension

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.
renegadeandy
Posts: 122
Joined: Sun May 25, 2008 11:14 pm
Location: Scotland
Contact:

Problem Compiling Irrlicht with Ackis Extension

Post by renegadeandy »

Hey guys.

I would love some of the functionality provided by ackis extension and thus need to compile irrlicht with the tutorial on:

http://irrlicht.sourceforge.net/tut_codeblocks.html

Anyway, so I downloaded all the stuff and followed a video guide i found from acki in another thread.

So I got to the compile stage and it started to compile. After about 10 seconds ish, the following errors are generated and build stops:

http://pastebin.com/m7bd17100

I am unsure why this is happeneing.

I am trying to compile ackis extension with 1.4.1 but this errors keeps happening.

Please somebody help - im loosing hope!

Andy
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

I'm not sure why this happens... :shock:
maybe yodid something wrong with the setup ???
did you follow my tutorial ???
http://abusoft.g0dsoft.com/IrrExt13/tutorial.php
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
renegadeandy
Posts: 122
Joined: Sun May 25, 2008 11:14 pm
Location: Scotland
Contact:

Post by renegadeandy »

Yes I followed it word for word, inless i interpreted some of the poorer english wrong?

So what am i supposed to do!?
renegadeandy
Posts: 122
Joined: Sun May 25, 2008 11:14 pm
Location: Scotland
Contact:

Post by renegadeandy »

If you could compile me the dll with 1.4.1 direct x8 & 9 support with all the extra bits that your extension offers me then i wouldnt need to keep struggling here?!

Let me know!

Andy
renegadeandy
Posts: 122
Joined: Sun May 25, 2008 11:14 pm
Location: Scotland
Contact:

Post by renegadeandy »

oh please come on!

Somebody help me out here!
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

This is why the Scotch should never get independence; they can only survive on constant handouts.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
renegadeandy
Posts: 122
Joined: Sun May 25, 2008 11:14 pm
Location: Scotland
Contact:

Post by renegadeandy »

Thats not only irrelevant but makes little sense in this instance. I am stuck as I dont know why the compilation stops - and thus need a hand!

Andy
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

I don't know what this error(s) could cause... :shock:
because your error dump is from Irrlicht 1.4 I tried 1.4 and 1.4.1...
everything works fine, except of 1 error with 1.4 (but solved now)...

especially with C::B it should work with no problems !!!
there are many people who are using my extensions and they have no problems, neither with C::B nor DevCpp nor MSVC...

so are you realy sure your setup is correct ???
I'm using C::B with GCC 3.4.5 on WinXP pro (sp2)...
and also remember that IrrExtensions only works with the official releases and not with the SVN version(s) of Irrlicht !!! ;)
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

Acki wrote:so are you realy sure your setup is correct ???
It almost certainly isn't. I'd imagine it's been... improved.

Code: Select all

c:\irrlicht-1.4\irrlicht-1.4\source\Irrlicht\CFileSystem.h|45|error C2039: 'array' : is not a member of 'irr::core'|
Yes it is. Root cause 17?
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

hmm, this is strange...
I moved the #include "irrArray.h" to the IFilesystem.h to make it accessable...

so check this 2 files, they must look like this at the beginning:

cFileSystem.h:

Code: Select all

// Copyright (C) 2002-2008 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h

#ifndef __C_FILE_SYSTEM_H_INCLUDED__
#define __C_FILE_SYSTEM_H_INCLUDED__

#include "IFileSystem.h"
// AckisExtensionsRemark:#include "irrArray.h"

namespace irr
{
namespace io
{
include/IFileSystem.h:

Code: Select all

// Copyright (C) 2002-2008 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h

#ifndef __I_FILE_SYSTEM_H_INCLUDED__
#define __I_FILE_SYSTEM_H_INCLUDED__

#include "IReferenceCounted.h"
#include "irrArray.h" // AckisExtensions
#include "IXMLReader.h"
#include "irrString.h"

namespace irr
{
namespace video
{
	class IVideoDriver;
} // end namespace video
namespace io
{
probably the error is inside "include\IFileSystem.h", check if "irrArray.h" is included there... ;)
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
renegadeandy
Posts: 122
Joined: Sun May 25, 2008 11:14 pm
Location: Scotland
Contact:

Post by renegadeandy »

checked both these files- they look exactly the same!
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

that's realy, realy strange !!! :shock:
if irrArray.h is included I'm unsure why array is not declared...

well, it seems this error depands on the IFileSystem extension...
try to disable this extension (IFileSystem - Directory for addArchive)...
maybe you don't need this extension so you can work with the others... ;)

but I realy want to know the cause of this error !!!
this extension is very new and maybe some other people also will have this error when they try to use this extension ???
can anybody confirm this !?!?!

oh, and btw, the warnings at the beginning, about the const qualifier, are fixed now... ;)
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
renegadeandy
Posts: 122
Joined: Sun May 25, 2008 11:14 pm
Location: Scotland
Contact:

Post by renegadeandy »

Right im not sure whats going on because i tried disabling ifilesystem for the extension then it died on the next thing i tried....

So I think i will download a fresh 1.4.1 and a fresh ackis extension and then re go through the complete tutorial from start to finish and see if its still not working. IF it doesnt work then, i will probably have to give up on irrlicht for video playback and use something else :(
MasterGod
Posts: 2061
Joined: Fri May 25, 2007 8:06 pm
Location: Israel
Contact:

Post by MasterGod »

NEVER Give Up. Never.

And the tip of the day:
Never say never, ever ever.

cause any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction.

P.S
WTF, who am I? :shock: . Too much beeeer.
Image
Dev State: Abandoned (For now..)
Requirements Analysis Doc: ~87%
UML: ~0.5%
Post Reply