Pulsar4xDevs / Pulsar4x

A Fan work recreation of Aurora4x in C#
Other
159 stars 67 forks source link

cimgui.dll not found #215

Closed se5a closed 5 years ago

se5a commented 5 years ago

ImGui-CS is using cimgui - which is a c wrapper of dear imgui.

mostly notes so I can remember some things before I compleatly forget and run into this problem again.

I think I've got all the required libs for linux and windows x64 added to git now, but I'm currently having a problem getting this running on an older netbook, I suspect it's due to the cimgui being a x64 version.

There were a few tricky things getting this going originally, and unfortunately the dialog I had back then has disappeared, so I'm having to dredge from an old memory. using dll.config files we can define a dll for windows and an .so for linux.

to build cimgui you'll need to git clone cimgui using the --recursive switch, then run 'make' from the commandline in the cimgui directory, (you'll see a makefile file there). which should build cimgui, from there I need to rename it to libcimgui from just cimgui. I forget where imgui-cs is calling this. it needs cleaning up. there was an open issue at imgui-cs but it's disappeared.

se5a commented 5 years ago

currently looking at switching to imgui.net which is simular enough to imgui-cs that it should mostly be just syntax. however it currently requires a newer version of SDL2 than what mint 18 repositories provide. and I've had problems updating to mint 19, and trying to build and install SDL2 from source didn't apear to fix the problem. still got some things to try on that front.