Does anyone know how to import the Imgui library into a C++ Project? I have tried many methods but none seem to work.
I am trying to get an example [Streams Alignment](librealsense/examples/align at master · IntelRealSense/librealsense · GitHub ) to work, but no matter what i try, #include <imgui.h> for example still does not work even though I have added it in Solution Explorer itself etc.
Apologies for such a question, this is challenging stuff for me. Only managed to figure out how to create a new project from scratch with the Intel Realsense D435 after many trials and error.
Would appreciate any guidance. Thank you once again
It seems that in your project's CMakeList.txt file, you should be referencing the location of the Imgui files (which are in the Third Party folder of the SDK). The example linked to below is from the Align project.
I do not use Visual Studio with RealSense for project compiling though (I develop in the Unity games engine), so others on this forum will be better able to advise you on how to set up and use CMake in your project.