Page 1 of 1

identifier not found - addFileArchive

Posted: Fri Dec 10, 2010 3:03 pm
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

Posted: Fri Dec 10, 2010 3:47 pm
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:

Posted: Fri Dec 10, 2010 4:39 pm
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 :)