Plugin & Module dependency issue

edited July 2012 in Help request
Hi all,
Hello everyone!
I have got a configuration issue about the customize of plugins and modules.

I modify the orx.ini for customize plugins via :

[Param]
plugin = plugins/orxDisplay_SDL plugins/orxPhysics_Box2D plugins/orxMouse_SDL plugins/orxKeyboard_SDL

plugins/orxJoystick_SDL plugins/orxSoundSystem_OpenAL plugins/orxRender_Home

all the dll files are placed correctly.

Application break to debugger because of it failed at :

/* Checks */
orxASSERT(sstViewport.u32Flags & orxVIEWPORT_KU32_STATIC_FLAG_READY);
orxASSERT((_zConfigID != orxNULL) && (_zConfigID != orxSTRING_EMPTY));


It seems like a dependency issue but i have got no more information on that.

Appreciate helping!

Comments

  • edited July 2012
    Hi lujian_niewa and welcome here!

    Unfortunately if you want to hotload plugins at runtime, only the SFML plugins will work. The SDL and GLFW ones will not work.

    I don't recommend using this mode as it doesn't bring much in the end (it would be interesting for hotswapping plugins during runtime but even this feature isn't completely supported yet).

    Currently I recommend compiling orx with the "embedded" configuration targets. That means that the plugins will be directly inserted inside orx library at compile time.

    By default the plugins used in that case are the GLFW ones as they are the most advanced ones (the SDL ones are not as advanced and won't work on OS X, don't support rendering to texture, are not optimized, etc...).

    Grey wrote a tutorial on the wiki for syncing from the SVN and compiling the right version on windows with visual studio, but it's a similar approach for any other platform/IDE.

    Hope this helps!
Sign In or Register to comment.