undefined reference to `ImGui:: #5989
zih-an
started this conversation in
New Users Build/Link/Run issues ONLY!
Replies: 2 comments 5 replies
-
I've never used vcpkg with CMake before, but this doesn't look right to me. I would assume it's supposed to be |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
Almost 3 years later, this issue persists. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I use vcpkg manifest to install imgui,
vcpkg.json:{ "name": "vcpkgtest", "version": "1.0.0", "description": "learn vkpg & glfw & imgui & cmake", "dependencies": [ "glfw3", { "name": "imgui", "features": ["glfw-binding", "opengl3-binding"] } ] }CMakeLists.txt:I got the folloing error messages:
I've directly used the source code of imgui before to run the main.cpp successfully.
It's my first time to use vcpkg+imgui, but it seems that the lib missed something. I'm sure that
["glfw-binding", "opengl3-binding"]are installed because I can see the corresponding header files in./cmake-build-debug/vcpkg_installed/x64-windows/include. So what's the problem?Beta Was this translation helpful? Give feedback.
All reactions