Using CMake to build the IMGUI Demo program

your imgui library is declared as SHARED (ie, imgui.so) but you say your actual libimgui file is .a. So if you change it to a STATIC library, does that fix it?