cimgui / cimnodes

C wrapping of https://github.com/Nelarius/imnodes
29 stars 16 forks source link

Help generating dlls #3

Closed bootzin closed 3 years ago

bootzin commented 3 years ago

I'm trying to generate cimnodes.dll file to use with another project, but I'm having some trouble doing it.

I saw the makefile in cimgui, and tried making something similar for cimnodes (and cimguizmo, for that matter), but I can't get it to work. I don't have much experience wit c/c++, so I'm not sure on how to properly solve imgui dependencies.. Should I just include imgui.h and imgui_internals.h in the root folder?

Sorry if this seems simple, but I'm a bit confused as to how to proceed

sonoro1234 commented 3 years ago

No file needs to be moved at all, just set the include path in cmake or makefile. The only example I can provide for building is https://github.com/sonoro1234/LuaJIT-ImGui where all cimgui , a backend and related widgets are going to one dll.

For using with ImGui.NET, this https://github.com/mellinoe/ImGui.NET/pull/218#issuecomment-737815513 is you best advise