This repository has been archived on 2024-12-14 . You can view files and clone it, but cannot push or open issues or pull requests.
OCRudoku
Folder structure
build/
: Contains the output files generated by the compilation process.src/
: Contains the source files of the project.src/utils/
: Contains all the utility functions used in the project.
Prepare the project
Install the required libraries
In order to make the project work, you need to install the following libraries:
- SDL2
- SDL2_image
- SDL2_ttf
You can install them using the following command (for Linux):
sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev
Link dependencies to clang
In order to compile the project, you need to link the dependencies to clang. You can do this by running the following command:
sudo apt-get install bear -y
make prepare
Compile the project
Compile everything
You can compile the project by running the following command:
make
Output files will be generated in the build
directory. You can run the project by executing the ocrudoku
binary.
Compile only one or multiple files (for debugging)
You can compile only one or multiple files by enter in the src/
folder and running the following command:
make [file name]
For example, if you want to compile the main.c
file, you can run the following command:
make main
Output files will be generated in the src
directory. You can run the project by executing the filename
binary.
Description
v1.0.2
Latest
Languages
C
98.4%
Makefile
1%
Dockerfile
0.6%