DerelictLibui icon indicating copy to clipboard operation
DerelictLibui copied to clipboard

uiControlVerifyDestroy was removed from libui

Open luarockr opened this issue 9 years ago • 2 comments

when doing the dub --config=test with recent libui built from source: Running ./lib/DerelictLibui derelict.util.exception.SymbolLoadException@../../.dub/packages/derelict-util-2.1.0/derelict-util/source/derelict/util/sharedlib.d(177): Failed to load symbol uiControlVerifyDestroy from shared library libui.dylib

4 DerelictLibui 0x0000000107c16742 void* derelict.util.sharedlib.SharedLib.loadSymbol(immutable(char)[], bool) + 274 ...

as per libui changelog:

  • 22 May 2016 * Removed uiControlVerifyDestroy(); that is now part of uiFreeControl() itself.

luarockr avatar Dec 15 '16 18:12 luarockr

The libui submodule is up to date with the binding, you should build from it, even if it's not up to date with the official repository.

ghost avatar Dec 15 '16 22:12 ghost

It's not ideal to work with an old version of the library. https://github.com/Extrawurst/DerelictLibui/pull/5 needs to be merged.

AlexFolland avatar Feb 28 '17 06:02 AlexFolland