Dynamic Bindings to libui (x-platform GUI)
rikki cattermole
rikki at cattermole.co.nz
Tue Jan 9 01:47:12 UTC 2018
On 09/01/2018 1:32 AM, helxi wrote:
> On Tuesday, 24 May 2016 at 20:52:54 UTC, extrawurst wrote:
>> Hey folks,
>>
>> libui is a crossplatform GUI lib written in C. This makes it a perfect
>> candidate to be used in D!
>>
>> What they say about libui on their site:
>> "Simple and portable (but not inflexible) GUI library in C that uses
>> the native GUI technologies of each platform it supports."
>>
>> find libui on github:
>> https://github.com/andlabs/libui
>>
>> So here are the inofficial Derelict Bindings to it:
>> https://github.com/Extrawurst/DerelictLibui
>>
>> I tested them on both windows and mac osx so far. Any linux user is
>> welcome to test it on there aswell.
>>
>> Let me know if you find any issues.
>>
>> -Stephan
>
> Hi, I'm on Arch Linux (64-bit). `dub --config=test` gives me the
> following error: (Please be noted that I have libui installed in my
> system already)
>
> $ dub --config=test
> Performing "debug" build using /usr/bin/dmd for x86_64.
> derelict-util 2.1.0: target for configuration "library" is up to date.
> derelict-libui 0.3.0+commit.2.g079a15e: target for configuration "test"
> is up to date.
> To force a rebuild of up-to-date targets, run again with --force.
> Running ./lib/DerelictLibui
> derelict.util.exception.SymbolLoadException at ../../.dub/packages/derelict-util-2.1.0/derelict-util/source/derelict/util/sharedlib.d(177):
> Failed to load symbol uiControlVerifyDestroy from shared library libui.so.0
> ----------------
> ??:? void*
> derelict.util.sharedlib.SharedLib.loadSymbol(immutable(char)[], bool)
> [0xd457b00a]
> ??:? void*
> derelict.util.loader.SharedLibLoader.loadSymbol(immutable(char)[], bool)
> [0xd45792aa]
> ??:? void derelict.util.loader.SharedLibLoader.bindFunc(void**,
> immutable(char)[], bool) [0xd4579300]
> ??:? void derelict.libui.libui.DerelictLibuiLoader.loadSymbols()
> [0xd4576983]
> ??:? void derelict.util.loader.SharedLibLoader.load(immutable(char)[][])
> [0xd457912a]
> ??:? void derelict.util.loader.SharedLibLoader.load(immutable(char)[])
> [0xd45790a4]
> ??:? void derelict.util.loader.SharedLibLoader.load() [0xd4578f87]
> ??:? _Dmain [0xd45783a4]
> Program exited with code 1
>
https://github.com/Extrawurst/DerelictLibui/issues/7
More information about the Digitalmars-d-announce
mailing list