5349-branches-ogl-es :: Various file functions not working

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
Arclamp
Posts: 71
Joined: Thu Oct 10, 2013 7:45 pm

5349-branches-ogl-es :: Various file functions not working

Post by Arclamp »

I've not been through fully, but

IFileList* CFileSystem::createFileList()
and
const io::path& CFileSystem::getWorkingDirectory()


I've changed to (added android)

Code: Select all

 
#if (defined(_IRR_POSIX_API_) || defined(_IRR_OSX_PLATFORM_) || defined(_IRR_ANDROID_PLATFORM_))
 
maybe the linux one would work instead of posix?
CuteAlien
Admin
Posts: 9628
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: 5349-branches-ogl-es :: Various file functions not worki

Post by CuteAlien »

I'm using (and changing...) that branch a lot currently. But I need to know on which platform/compiler you are getting those problems. Also always helps if you copy-paste a concrete compile-error so I can see what it is about exactly.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
CuteAlien
Admin
Posts: 9628
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: 5349-branches-ogl-es :: Various file functions not worki

Post by CuteAlien »

Oh wait - r5349 is really old. I remember something changed there, either CFileSystem or IFileSystem didn't get updated for a while in that branch. Your easiest solution is probably updating to current svn. Otherwise compare to the current versions of those files, they should work again now.

edit: I think the merge around r5336 did got wrong. It got fixed again in r5366.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Arclamp
Posts: 71
Joined: Thu Oct 10, 2013 7:45 pm

Re: 5349-branches-ogl-es :: Various file functions not worki

Post by Arclamp »

I wasn't getting an error, just no output when using the functions. Its only recently I've moved into the core development wise, was using own independent file io functions due to pre startup requirements.

Was late, just thought I'd let you know ;)

Er, I'm developing on Fedora (26?) 64, old NDK (android-ndk-r10e) and android-sdk_r24.3.2-linux... Yeah I should update!
CuteAlien
Admin
Posts: 9628
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: 5349-branches-ogl-es :: Various file functions not worki

Post by CuteAlien »

Yeah, you just got unlucky there, it's been a few versions where this was broken and you did check-out during that time.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply