New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to build Imgui example? #64
Comments
Hi, thank you for the very detailed report. For the second case the project is missing a copy of the set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/modules/" ${CMAKE_MODULE_PATH}) set in CMake (assuming the For the first problem -- it looks like there's some clash of targets. Since it worked when building the integration library itself (which depends on imgui from vcpkg), I don't think it's due to vcpkg being broken -- but somehow the @Squareys, any chance you ever encountered this issue? |
Here is another person with the same problem: microsoft/vcpkg#5911 |
I found solution. but my test project still dont works. |
The linked problem is different from what you are encountering here and the solution to that one is identical to what I said above.
Glad to hear there's some solution :) Interesting -- can you check how the
Is it still complaining about |
I think this file has not changed. spoiler
You're right, thank you. I have not copied the modules to my project.
But I didn't understand this message then because I didn't copy 'FindSDL2'.cmake' and didn't see any problems with SDL2. And still don't know why reinstalling all packages without '-static' helped build the examples. |
No worries, you're not the first one getting stuck on this ;) I updated the ImGuiIntegration docs to hopefully make this requirement clearer (mosra/magnum-integration@221030a). |
I have no problems with compiling MagnumIntegration::ImGui but Imgui example can't builded.
All packages installed via vcpkg.
And this my try to integrate imgui to new project.
The text was updated successfully, but these errors were encountered: