necessary dependencies: For Ubuntu/Debian: sudo apt-get install libsdl2-dev For Fedora: sudo dnf install SDL2-devel
In order to run this file use following command:
gcc -o bfs_maze_solver bfs_maze_solver.c queue.c ./bfs_maze_solver
gcc -o dfs_maze_solver dfs_maze_solver.c stack.c ./dfs_maze_solver
gcc -o GUI_BFS GUI_BFS.c queue.c -lSDL2 ./GUI_BFS
gcc -o GUI_DFS GUI_DFS.c stack.c -lSDL2 ./GUI_DFS