Page 1 of 1

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

Posted: Thu Nov 16, 2017 1:45 pm
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?

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

Posted: Thu Nov 16, 2017 2:27 pm
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.

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

Posted: Thu Nov 16, 2017 2:57 pm
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.

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

Posted: Thu Nov 16, 2017 10:17 pm
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!

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

Posted: Fri Nov 17, 2017 1:10 pm
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.