sorry for the misunderstanding
i didn't mean the "." could not be added as search folder, i meant that i could not add any folder, even "." which surely exists.
it seems to be a problem with adding folders...
if i zip the folder and add the archive, everything works fine.
a minimal example would be this:
Code: Select all
#include <irrlicht.h>
using namespace irr;
int main() {
IrrlichtDevice* device = createDevice(video::EDT_NULL);
device->getFileSystem()->addFileArchive("gfx", true, true);
device->getFileSystem()->addFileArchive("gfx.zip", true, true);
}
letting it run in a folder which contains a gfx subfolder and a gfx.zip file, this creates an error for opening the folder but works fine for the archive.
I am using Win XP with MingW GCC (mingw32-g++.exe (TDM-2 mingw32) 4.4.1)