Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MyGUI plugins are not supported on Apple platforms #42

Open
ghost opened this issue Sep 14, 2014 · 3 comments
Open

MyGUI plugins are not supported on Apple platforms #42

ghost opened this issue Sep 14, 2014 · 3 comments

Comments

@ghost
Copy link

ghost commented Sep 14, 2014

See https://github.com/MyGUI/mygui/blob/master/MyGUIEngine/src/MyGUI_DynLib.cpp#L34

@ghost
Copy link
Author

ghost commented Sep 14, 2014

Curiously, the code is there, in MyGUI_DynLib.h:

#elif MYGUI_PLATFORM == MYGUI_PLATFORM_APPLE
#    include <CoreFoundation/CFBundle.h>
#    define MYGUI_DYNLIB_HANDLE CFBundleRef
#    define MYGUI_DYNLIB_LOAD( a ) mac_loadExeBundle( a )
#    define MYGUI_DYNLIB_GETSYM( a, b ) mac_getBundleSym( a, b )
#    define MYGUI_DYNLIB_UNLOAD( a ) mac_unloadExeBundle( a )
#endif

It just isn't currently used. I don't know if that is intended or not.

@Altren
Copy link
Contributor

Altren commented Sep 14, 2014

I guess defines were taken from Ogre's plugin system or something similar, but the rest never was implemented because we was unable to test code when while DynLib class was created and later nobody ever asked about plugins under mac.

@xzwang2005
Copy link
Contributor

I'm not sure about plugin, but currently even the demos don't compile. I wonder if anyone ever tried MyGUI out on a Mac? I've found the bug that causing the linkage errors, however, there are other runtime error as well. I'll get to this plugin issue once I get the demos and tools compile and run on Mac.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants