Linking errors with backends and vcpkg #7168
Torino1564
started this conversation in
Build/Link/Run/Fonts issues ONLY!
Replies: 1 comment
-
This config worked for me. vcpkg.json:
Then include the following headers in your code:
Edit: the backends aren't stored in the typical
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Good evening. Im in the process of switching to using vcpkg as a packet manager instead of building the source code myself, and Im having trouble with the backends. I have my static library that a vcpkg.json property file that adds imgui as a dependency with its respective backends.
"name": "tryn-core", "version": "0.1.0", "dependencies": [ "assimp", "cli11", { "name": "imgui", "features": [ "docking-experimental", "win32-binding", "dx11-binding", "dx12-binding" ], "platform": "(windows & x64)" } ]
Im then linking this library to my executable project, and thats where Im getting the linker errors regarding the backend function calls. I dont have any issues with the imgui library itself nor with any other library, but the moment I tried to use vcpkg for the backends thats when I got this issue. Any suggestions as of what I could be doing wrong are greatly appreciated it.
Beta Was this translation helpful? Give feedback.
All reactions