extrawurst / DerelictImgui

Dynamic bindings to the cimgui library (a c-api for IMGUI) for the D programming language
MIT License
54 stars 13 forks source link

Can't run the demo with `cimgui` v1.50.1 #15

Closed lenormf closed 6 years ago

lenormf commented 6 years ago

Hi,

I compiled cimgui v1.50.1 (against imgui v1.50) as per the README, but it looks like the library is lagging behind:

DerelictImgui/examples/imgui_demo/bin/ > env LD_LIBRARY_PATH=`pwd`/../lib ./imgui_demo                                                                                  
derelict.util.exception.SymbolLoadException@/home/fle/.dub/packages/derelict-util-2.0.6/derelict-util/source/derelict/util/exception.d(35): Failed to load symbol igPushStyleColorU32 from shared library cimgui.so 
----------------                                                                                          
??:? void* derelict.util.sharedlib.SharedLib.loadSymbol(immutable(char)[], bool) [0x1294ecbb]             
??:? void* derelict.util.loader.SharedLibLoader.loadSymbol(immutable(char)[], bool) [0x1294d412]          
??:? void derelict.util.loader.SharedLibLoader.bindFunc(void**, immutable(char)[], bool) [0x1294d468]     
??:? void derelict.imgui.imgui.DerelictImguiLoader.loadSymbols() [0x129485a5]                             
??:? void derelict.util.loader.SharedLibLoader.load(immutable(char)[][]) [0x1294d292]                     
??:? void derelict.util.loader.SharedLibLoader.load(immutable(char)[]) [0x1294d20c]                       
??:? void derelict.util.loader.SharedLibLoader.load() [0x1294d0ef]                                        
??:? _Dmain [0x1290d2c8]                                                                                  
extrawurst commented 6 years ago

I assume this is closed by https://github.com/Extrawurst/DerelictImgui/pull/16 ?

lenormf commented 6 years ago

Unfortunately no, this is a separate issue. The README mentions the bindings are wrapping cimgui v1.50, but the demo doesn't run when using v1.50 (or v1.50.1) compiled against imgui v1.50.

extrawurst commented 6 years ago

after https://github.com/Extrawurst/DerelictImgui/pull/18 this can be closed, right?

lenormf commented 6 years ago

Yes.