Emscripten build does not work with ERROR_ON_UNDEFINED_SYMBOLS=1

Discussion area about developing or extending OGRE, adding plugins for it or building applications on it. No newbie questions please, use the Help forum for that.
Post Reply
User avatar
altren
Gnome
Posts: 329
Joined: Tue Oct 24, 2006 9:02 am
Location: Moscow, Russa
x 24
Contact:

Emscripten build does not work with ERROR_ON_UNDEFINED_SYMBOLS=1

Post by altren »

Code: Select all

error: undefined symbol: eglCreatePbufferSurface
Even though the code that uses this function is never called in real application it still exist in the .so.
Issue comes from this recent commit: https://github.com/OGRECave/ogre/commit ... aed01cc4f3
Added EGLWindow::create function use eglCreatePbufferSurface. Emscripten docs, telling that this function is not implemented: https://emscripten.org/docs/porting/mul ... extensions

Another place where eglCreatePbufferSurface is used in the EGLPBuffer, this class is also new for emscripten build.
Comes from this code

Code: Select all

    GLPBuffer* EGLSupport::createPBuffer( PixelComponentType format, size_t width, size_t height )
    {
        return new EGLPBuffer(this, format, width, height);
    }
Image


Post Reply