File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1+ variables :
2+ OPENCV_WIN_PATH : " "
3+ SDL2_WIN_PATH : " "
4+ SDL2_mixer_WIN_PATH : " "
15
26stages :
37 - build
@@ -42,7 +46,7 @@ windows:
4246 - windows
4347 stage : build
4448 script :
45- - cmake -G"Visual Studio 17 2022" -A x64 -DSDL2_DIR=$ SDL2_WIN_PATH -DSDL2_mixer_DIR=$ SDL2_mixer_WIN_PATH -DOpenCV_DIR=$ OPENCV_WIN_PATH -B build -S .
49+ - cmake -G"Visual Studio 17 2022" -A x64 -DSDL2_DIR="$env: SDL2_WIN_PATH" -DSDL2_mixer_DIR="$env: SDL2_mixer_WIN_PATH" -DOpenCV_DIR="$env: OPENCV_WIN_PATH" -B build -S .
4650 - cmake --build build --target ALL_BUILD --config Release
4751 - cmake --build build --target PACKAGE --config Release
4852 artifacts :
Original file line number Diff line number Diff line change 11#include " app.h"
22
3- int main ()
3+ int main (int argc, char * argv[] )
44{
55 App visionIO{};
66 visionIO.Initialize_Subsystems ();
77 visionIO.Run ();
8+ return 0 ;
89}
Original file line number Diff line number Diff line change @@ -22,3 +22,4 @@ add_library(imgui
2222 imgui/backends/imgui_impl_sdlrenderer2.cpp)
2323
2424target_include_directories (imgui PUBLIC ${CMAKE_SOURCE_DIR} /third_party/imgui ${CMAKE_SOURCE_DIR} /third_party/imgui/backends)
25+ target_link_libraries (imgui PRIVATE SDL2::SDL2)
You can’t perform that action at this time.
0 commit comments