extrawurst / imgui_d_test

small example usage of the cimgui wrapper for D
8 stars 2 forks source link

Failed to load symbol igGetFont from shared library cimgui.dll #2

Open dmi7ry opened 8 years ago

dmi7ry commented 8 years ago

I cloned this repo, cloned DerelictImgui repo. When try build, there is an error:

f:\projects\imgui_d_test>dub
Performing "debug" build using dmd for x86.
derelict-util 2.0.6: target for configuration "library" is up to date.
derelict-gl3 1.0.18: target for configuration "library" is up to date.
derelict-glfw3 1.1.1: target for configuration "library" is up to date.
derelict-imgui 0.9.3+commit.6.g6eb5af6: target for configuration "library" is up to date.
imgui_d_test ~master: building configuration "application"...
Linking...
To force a rebuild of up-to-date targets, run again with --force.
Running .\imgui_d_test.exe

derelict.util.exception.SymbolLoadException@C:\Users\Dmitry\AppData\Roaming\dub\packages\derelict-util-2.0.6\source\derelict\util\exception.d(35): Failed to load symbol igGetFont from shared library cimgui.dll
----------------
0x0041BFD1 in void* derelict.util.sharedlib.SharedLib.loadSymbol(immutable(char)[], bool) at C:\Users\Dmitry\AppData\Roaming\dub\packages\derelict-util-2.0.6\source\derelict\util\sharedlib.d(180)
0x0041BBEF in void* derelict.util.loader.SharedLibLoader.loadSymbol(immutable(char)[], bool) at C:\Users\Dmitry\AppData\Roaming\dub\packages\derelict-util-2.0.6\source\derelict\util\loader.d(324)
0x0041BC87 in void derelict.util.loader.SharedLibLoader.bindFunc(void**, immutable(char)[], bool) at C:\Users\Dmitry\AppData\Roaming\dub\packages\derelict-util-2.0.6\source\derelict\util\loader.d(346)
0x004197DC in void derelict.imgui.imgui.DerelictImguiLoader.loadSymbols() at f:\projects\visual studio 2015\imgui_d_test\DerelictImgui\source\derelict\imgui\imgui.d(144)
0x0041B940 in void derelict.util.loader.SharedLibLoader.load(immutable(char)[][]) at C:\Users\Dmitry\AppData\Roaming\dub\packages\derelict-util-2.0.6\source\derelict\util\loader.d(199)
0x0041B881 in void derelict.util.loader.SharedLibLoader.load(immutable(char)[]) at C:\Users\Dmitry\AppData\Roaming\dub\packages\derelict-util-2.0.6\source\derelict\util\loader.d(144)
0x0041B751 in void derelict.util.loader.SharedLibLoader.load() at C:\Users\Dmitry\AppData\Roaming\dub\packages\derelict-util-2.0.6\source\derelict\util\loader.d(83)
0x0040209D in _Dmain at f:\projects\visual studio 2015\imgui_d_test\source\app.d(24)
0x0041E43F in D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv
0x0041E403 in void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll()
0x0041E304 in _d_run_main
0x0040C5B4 in main at f:\projects\visual studio 2015\imgui_d_test\source\app.d(7)
0x00439F59 in mainCRTStartup
0x752B338A in BaseThreadInitThunk
0x77839902 in RtlInitializeExceptionChain
0x778398D5 in RtlInitializeExceptionChain
Program exited with code 1

What I need to do for avoid it?

ParticlePeter commented 7 years ago

Bump. Having the same issue. Is the author getting notified?

nucular commented 7 years ago

Same issue here.