Welp, I realized after some head scratching that I was including Context.h instead of Context.hpp. After using hpp my linker problems appear to be resolved... but none of the events appear to get handled or drawn correctly.
Glad you at least partially solved this already -- I wouldn't be able to discover that without seeing the source. Can you elaborate on how the events are incorrect? Are they not handled at all? Or are they happening at wrong positions? etc. Including relevant parts of the source code would help also, thanks! :)
I can compile but not link the ImGui example currently (Windows, VS2019). I get linker errors regarding the event handlers in Context:
My relevant CMake script that sets up Magnum:
And because I set this all up from a subdirectory under the repo root I provide a global interface library to avoid having to repeat myself for anything that uses Magnum:
My application adds
kpns_graphicsto it's PRIVATE target_link_libraries.
So, everything compiles fine, CLion resolves all symbols etc. But when linking it fails and I'm not sure why. I'd appreciate any helpful advice.
The text was updated successfully, but these errors were encountered: