Search found 13 matches

by hissingshark
Thu Apr 19, 2018 8:35 pm
Forum: Advanced Help
Topic: Building Irrlicht sharedlib from OGL-ES branch on Linux-plat
Replies: 26
Views: 4561

Re: Building Irrlicht sharedlib from OGL-ES branch on Linux-

Of course! I'm over complicating things.
I completely overlooked trying an absolute path...

I've done that and Minetest starts. The entire screen is filled with sky blue, but the opening menu and clouds are only filling the bottom left corner of the screen. Progress!
by hissingshark
Wed Apr 18, 2018 8:06 pm
Forum: Advanced Help
Topic: Building Irrlicht sharedlib from OGL-ES branch on Linux-plat
Replies: 26
Views: 4561

Re: Building Irrlicht sharedlib from OGL-ES branch on Linux-

Yeah, I've already tried building from your repo and it seemed more promising than that. Last night I: Fixed a few includes. Added -lSDL2 and the CIrrDeviceSDL2.o for linking in the Makefile and removed all the X11 related lib linkage. There was a rounding error function that MT wanted for type shor...
by hissingshark
Tue Apr 17, 2018 11:26 pm
Forum: Advanced Help
Topic: Building Irrlicht sharedlib from OGL-ES branch on Linux-plat
Replies: 26
Views: 4561

Re: Building Irrlicht sharedlib from OGL-ES branch on Linux-

@okuoku Sorry I missed your post first time around. SDL2 already has decent abstraction layer on GLES2 + EGL Indeed, although I need a special build for my Mali GPU, but it works. Minetest is still only getting the NULL video driver reported by my Irrlicht library so I'm still not there... I'll take...
by hissingshark
Mon Apr 16, 2018 7:48 am
Forum: Advanced Help
Topic: Building Irrlicht sharedlib from OGL-ES branch on Linux-plat
Replies: 26
Views: 4561

Re: Building Irrlicht sharedlib from OGL-ES branch on Linux-

YES! I'd snuck in a NO_IRR_COMPILE_WITH_EGL_MANAGER_
Thank you.
It builds. Whether I can get it to work in the wild is another matter!
I need to see about detecting the local display resolution etc next as it's hardcoded for now.
by hissingshark
Sat Apr 14, 2018 3:19 pm
Forum: Advanced Help
Topic: Building Irrlicht sharedlib from OGL-ES branch on Linux-plat
Replies: 26
Views: 4561

Re: Building Irrlicht sharedlib from OGL-ES branch on Linux-

Ah that explains the left side working.

But any ideas on the "new" error that's blocking the build?
by hissingshark
Sat Apr 14, 2018 10:23 am
Forum: Advanced Help
Topic: Building Irrlicht sharedlib from OGL-ES branch on Linux-plat
Replies: 26
Views: 4561

Re: Building Irrlicht sharedlib from OGL-ES branch on Linux-

Progress and Problem. I've done some research into OpenGL ES on my board and got some basic programs running. On returning here I now understand the code in question is obtaining a handle to the Native Window. This is down to the local windowing system, so very platform specific. But after that you'...
by hissingshark
Mon Jan 15, 2018 11:16 pm
Forum: Advanced Help
Topic: Building Irrlicht sharedlib from OGL-ES branch on Linux-plat
Replies: 26
Views: 4561

Re: Building Irrlicht sharedlib from OGL-ES branch on Linux-

OK, thanks.
So this confirms that it's written for another API (now defunct).

And a re-write is needed if it is to work on my platform.
Well I'll look into the straight substitution option and see if it compiles, but I expect it will prove more complicated than that.
by hissingshark
Sat Jan 13, 2018 11:30 pm
Forum: Advanced Help
Topic: Building Irrlicht sharedlib from OGL-ES branch on Linux-plat
Replies: 26
Views: 4561

Re: Building Irrlicht sharedlib from OGL-ES branch on Linux-

It looks to me like the functions in your code are geared towards the API header provided by a particular vendor. The case you cited https://github.com/spurious/SDL-mirror/blob/master/src/video/vivante/SDL_vivantevideo.h is SDL2 using the framebuffer API provided in the Vivante headers. It's meant t...
by hissingshark
Tue Jan 09, 2018 9:30 pm
Forum: Advanced Help
Topic: Building Irrlicht sharedlib from OGL-ES branch on Linux-plat
Replies: 26
Views: 4561

Re: Building Irrlicht sharedlib from OGL-ES branch on Linux-

Ah yes, the Git is an automated mirror isn't it. Good tip. I'll switch to SVN for your project. Not used it before but I'm sure it's a doddle. Having working framebuffer support will open up all kinds of possibilities for embedded platforms (Minetest for example). I imagine without the overhead of a...
by hissingshark
Tue Jan 09, 2018 8:26 pm
Forum: Advanced Help
Topic: Building Irrlicht sharedlib from OGL-ES branch on Linux-plat
Replies: 26
Views: 4561

Re: Building Irrlicht sharedlib from OGL-ES branch on Linux-

And if I re-enable WEBGL1, keeping GLES2 (no GLES1) CIrrDeviceFB.cpp: In member function ‘void irr::CIrrDeviceFB::createDriver()’: CIrrDeviceFB.cpp:232:46: error: ‘fbGetDisplay’ was not declared in this scope NativeDisplayType display = fbGetDisplay(0); ^ CIrrDeviceFB.cpp:233:49: error: ‘fbGetDispla...
by hissingshark
Tue Jan 09, 2018 8:23 pm
Forum: Advanced Help
Topic: Building Irrlicht sharedlib from OGL-ES branch on Linux-plat
Replies: 26
Views: 4561

Re: Building Irrlicht sharedlib from OGL-ES branch on Linux-

How odd. Despite the fact I've just purposefully disabled WEBGL1 and GLES1 I fail instead with: CWebGL1Driver.cpp:1119:81: error: ‘irr::io::IFileSystem’ has not been declared IVideoDriver* createWebGL1Driver(const SIrrlichtCreationParameters& params, io::IFileSystem* io, IContextManager* context...
by hissingshark
Tue Jan 09, 2018 12:06 pm
Forum: Advanced Help
Topic: Building Irrlicht sharedlib from OGL-ES branch on Linux-plat
Replies: 26
Views: 4561

Re: Building Irrlicht sharedlib from OGL-ES branch on Linux-

Ah, silly me, didn't realise I had to build for just one.
Likewise, can't rebuild until tonight, but I'll report back then.

I'll select OGLES2 then, and cancel off OGLES1 and WEBGL1

Thank you for the prompt feedback.
by hissingshark
Tue Jan 09, 2018 11:21 am
Forum: Advanced Help
Topic: Building Irrlicht sharedlib from OGL-ES branch on Linux-plat
Replies: 26
Views: 4561

Building Irrlicht sharedlib from OGL-ES branch on Linux-plat

Hi, I'm attempting to build Irrlicht on a Vero4K (Amlogic S905x SOC)running OSMC. This is a Debian based distro running in framebuffer - no X environment. I have SDL2 compiled with FB-dev support which I thought would make this easy but after a few failed attempts I've realised Irrlicht does not yet...