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.

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

Postby Arclamp » Thu Nov 16, 2017 1:45 pm

I've not been through fully, but

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


I've changed to (added android)
cpp 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?
Arclamp
 
Posts: 46
Joined: Thu Oct 10, 2013 7:45 pm

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

Postby CuteAlien » Thu Nov 16, 2017 2:27 pm

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.freenode.net
Code snippets, patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Free racer created with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
User avatar
CuteAlien
Admin
 
Posts: 8352
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

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

Postby CuteAlien » Thu Nov 16, 2017 2:57 pm

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.freenode.net
Code snippets, patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Free racer created with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
User avatar
CuteAlien
Admin
 
Posts: 8352
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

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

Postby Arclamp » Thu Nov 16, 2017 10:17 pm

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!
Arclamp
 
Posts: 46
Joined: Thu Oct 10, 2013 7:45 pm

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

Postby CuteAlien » Fri Nov 17, 2017 1:10 pm

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.freenode.net
Code snippets, patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Free racer created with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
User avatar
CuteAlien
Admin
 
Posts: 8352
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany


Return to Bug reports

Who is online

Users browsing this forum: No registered users and 1 guest