Could you describe what dub package you tried to build first of all? It helps to reproduce your case.

Hello.

In my personal project folder I only have:
derelict-sdl2   version="~>3.1.0-alpha.2"
derelict-imgui  version="~>0.9.4"

Then I realized that I needed the shared library file cimgui.so

Unfortunately there is no DUB for Cimgui itself, so I downloaded it via ZIP + the Imgui ZIP from the homepage
https://github.com/Extrawurst/cimgui/archive/master.zip  and
https://github.com/ocornut/imgui/archive/master.zip

Extracted and copied the imgui files into the cimgui/imgui directory, because the make file of cimgui needet it. The first compiled cimgui.so file didn't work because the same problem with the symbol names at the end of my last post.

So I deleted the Cimgui + Imgui directory again and cloned it by GIT this time. Compilation didn't work because of the -fPIC problem. So I compiled the imgui .cpp files by hand with "g++ -c -fPIC -pie" to be able to compile cimgui.

Thats all.

Thank you for your time!

Reply via email to