identifier not found - addFileArchive

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
ArcticFox
Posts: 13
Joined: Mon Oct 25, 2010 6:12 pm
Location: Romania

identifier not found - addFileArchive

Post by ArcticFox »

I can't really find what is causing this

Code: Select all

error C3861: 'addFileArchive': identifier not found
Even whit including IFileSystem.h I'm getting the same error, code I got for now

Code: Select all

IFileSystem* ARCHIEVE1 = addFileArchive("base.ncu", true, false, EFAT_ZIP, "forthelulz");
env->addImage(driver->getTexture("menu_bkg.png"), position2d<int>(0,0)); // Unsure if this will work
Help would be appreciated
lazerblade
Posts: 194
Joined: Thu Mar 18, 2010 3:31 am
Contact:

Post by lazerblade »

Uhm, if you read the documentation here:

http://irrlicht.sourceforge.net/docu/cl ... 7cb1dccf7c

addFileArchive is a member of the IFileSystem class, it's not a global
function.

Documentation is always a good place to look when you're having trouble.
In case you're having trouble finding it, it's right here:
http://irrlicht.sourceforge.net/docu/

And for future reference if you follow the tutorials, you're less likely to
have problems like this. :roll:
LazerBlade

When your mind is racing, make sure it's not racing in a circle.

3d game engine: http://sites.google.com/site/lazerbladegames/home/ray3d
lazerBlade blog: http://lazerbladegames.blogspot.com/
ArcticFox
Posts: 13
Joined: Mon Oct 25, 2010 6:12 pm
Location: Romania

Post by ArcticFox »

I was looking that that but it seems I missed that class thing and thought its a global function, thanks for clearing me up :)
Post Reply