Closed bipul-mohanto closed 1 year ago
Looking at the errors it seems as if MSVC is pulling in ImGui from C:\vcpkg\installed\x64-windows\include\imgui.h
instead of your external sources folder prayground/ext/imgui/imgui.h
… These are different files and as both define the same symbols, those definitions clash.
To resolve this, make sure only one of these paths is visible as part of your library/include file search path in MSVC.
Thanks @BenBE, I deprecated the manually added library and using the vcpkg now.
Hi! I am using visual studio 2019 on Windows 10.
I have a
cmake project
on which I want to useimplot
to visualize some plots. The project already hasimgui
as an extension library. So, what I did, was copied theimplot.h, implot_internal.h, implot.cpp, implot_items.cpp, implot_demo.cpp
and pasted in the src folder.Now, while I am adding the headers to
app.h
, there are 223 build errors. I guess somehow implot is clashing with existing imgui.What technically am I doing wrong? Here is a list of errors: