Prerequisites
Environment
Section titled “Environment”This project is developed and tested in a Linux environment (42-style setup) with the vendored minilibx-linux directory.
Required tools:
cc(GNU/clang-compatible C compiler)makeX11runtime and development libraries (used by MiniLibX on Linux)- MiniLibX sources from the
minilibx/directory included in this repository timeout(used by the repository test scripts)python3(used by the repository test scripts to generate large temporary maps)
Optional but recommended:
valgrind(memory and file descriptor checks)nm(used by the bonus test script for symbol checks)
Before Continuing
Section titled “Before Continuing”Before building or testing, confirm these assumptions:
- OS: Linux with a working graphical X11 session
- Compiler flags:
-Wall -Wextra -Werror(from the projectMakefile) - External libs: MiniLibX + X11 (
-lmlx -lXext -lX11 -lm -lz) - Test helpers:
timeoutfor smoke tests,python3for generated map fixtures,nmonly for optional bonus symbol checks - School context: 42 evaluation constraints (Norminette, clean exits, no leaks, mandatory/bonus separation)
- Runtime note: in headless or no-display environments,
mlx_initmay fail even if parsing and compilation are correct