Installation
Requirements
Section titled “Requirements”Before building, make sure you have:
- a Linux environment with an active X11 session
ccmake- X11 runtime and development libraries
- local
minilibx/sources (already in this repo) - local
libft/sources (already in this repo and built automatically by theMakefile)
Optional but recommended:
valgrindnm(used in bonus test checks)
Build mandatory:
makeBuild bonus:
make bonusUseful rebuild commands:
make cleanmake fcleanmake remake rebonusExpected binaries:
./cub3D./cub3D_bonus
Run mandatory:
./cub3D tests/mandatory/validation/good.cubRun bonus:
./cub3D_bonus tests/bonus/retro_small.cubWhat to verify after the first launch
Section titled “What to verify after the first launch”After first launch, verify these points immediately:
- the window opens correctly
ESCcloses the program cleanly- movement and rotation react to inputs
- no instant crash on valid map
- invalid input (
no arg, wrong extension, bad map) returnsError\n...
If mlx_init failed, check your graphical X11 session/environment first.