first: thanks for the new filesystem API, i just finished adding a custom binary format, and it was piece of cake...
but: for great simplicity i wanted to use createLimitReadFile(), but this is not available through the API (or at least not linkable).
i worked around this by integrating a copy of the CLimitReadFile class into my project, but this is pretty dirty.
please make createLimitReadFile() somehow accessable for people who want to extend irrlicht without changing/extending the actual source of it.
[fixed] allow external use of createLimitReadFile
opened feature request in tracker (ID 2709695)
http://sourceforge.net/tracker/?func=de ... tid=540679
http://sourceforge.net/tracker/?func=de ... tid=540679
this has been marked as fixed in the tracker, thanks for this. but after recompiling the library, it still does not work for me.
gcc still complains:
am i doing something wrong?
gcc still complains:
Code: Select all
CIMGArchiveLoader.cpp:164: undefined reference to `irr::io::createLimitReadFile(irr::core::string<char, irr::core::irrAllocator<char> > const&, irr::io::IReadFile*, long, long)'
CTXDArchiveLoader.o: In function `ZN10CTXDReader8openFileEi':
CTXDArchiveLoader.cpp:102: undefined reference to `irr::io::createLimitReadFile(irr::core::string<char, irr::core::irrAllocator<char> > const&, irr::io::IReadFile*, long, long)'
I think you should look at the actual change. The function was added in this particular change is a virtual method of the IFileSystem interface. Your code clearly expects it to be a free function. I don't know where you're getting the declaration from.
Travis
Travis