I am trying to compile a project using ImGui
however I get these errors:
Severity Code Description Project File Line Suppression State
Error C1083 Cannot open source file: 'src\vendor\imgui\imgui_widgets.cpp': No such file or directory SDL2_IMGUI_TEST D:\Not_Streaming\Commonly_Used\Programming\C++\Projects\SDL2_IMGUI_TEST\SDL2_IMGUI_TEST\c1xx 1
Error C1083 Cannot open source file: 'src\vendor\imgui\imgui.cpp': No such file or directory SDL2_IMGUI_TEST D:\Not_Streaming\Commonly_Used\Programming\C++\Projects\SDL2_IMGUI_TEST\SDL2_IMGUI_TEST\c1xx 1
Error C1083 Cannot open source file: 'src\vendor\imgui\imgui_demo.cpp': No such file or directory SDL2_IMGUI_TEST D:\Not_Streaming\Commonly_Used\Programming\C++\Projects\SDL2_IMGUI_TEST\SDL2_IMGUI_TEST\c1xx 1
Error C1083 Cannot open source file: 'src\vendor\imgui\imgui_draw.cpp': No such file or directory SDL2_IMGUI_TEST D:\Not_Streaming\Commonly_Used\Programming\C++\Projects\SDL2_IMGUI_TEST\SDL2_IMGUI_TEST\c1xx 1
Error C1083 Cannot open source file: 'src\vendor\imgui\imgui_impl_opengl3.cpp': No such file or directory SDL2_IMGUI_TEST D:\Not_Streaming\Commonly_Used\Programming\C++\Projects\SDL2_IMGUI_TEST\SDL2_IMGUI_TEST\c1xx 1
Error C1083 Cannot open source file: 'src\vendor\imgui\imgui_impl_sdl.cpp': No such file or directory SDL2_IMGUI_TEST D:\Not_Streaming\Commonly_Used\Programming\C++\Projects\SDL2_IMGUI_TEST\SDL2_IMGUI_TEST\c1xx 1
Error C1083 Cannot open source file: 'src\vendor\imgui\imgui_stdlib.cpp': No such file or directory SDL2_IMGUI_TEST D:\Not_Streaming\Commonly_Used\Programming\C++\Projects\SDL2_IMGUI_TEST\SDL2_IMGUI_TEST\c1xx 1
Error C1083 Cannot open source file: 'src\vendor\imgui\imgui_tables.cpp': No such file or directory SDL2_IMGUI_TEST D:\Not_Streaming\Commonly_Used\Programming\C++\Projects\SDL2_IMGUI_TEST\SDL2_IMGUI_TEST\c1xx 1
This is really quite odd because the files USED to be inside a folder called src\vendor
but are now in another folder called Dependencies\imgui
. It doesn't make sense to me why it is even mentioning a folder called vendor at all? Here are my search directories for #include
$(SolutionDir)Dependencies\imgui
$(SolutionDir)Dependencies\GLEW\include
$(SolutionDir)Dependencies\SDL2\include
There is a preprocessor for GLEW but not IMGUI, and there are linker settings for GLEW AND SDL2 but not IMGUI. These are compile errors. What could be the problem?