youtube video: https://youtu.be/O5OwJBbEdyY?si=n2LqrRvUT8oYr94r
-
Install miniLibX, pthread, and math libraries.
-
Read about libraries:
-
MiniLibX: A simple graphics library for creating basic graphics without needing to know about X-Window or Cocoa. It helps you make windows, draw shapes, handle images, and manage events easily.
-
X-Window: A system that helps display graphics on Unix computers, allowing programs to show images and windows.
-
Installation:
sudo apt-get update && sudo apt-get install xorg libxext-dev zlib1g-dev libbsd-dev -
Download MiniLibX:
git clone https://github.com/42Paris/minilibx-linux.git mlx_linux cd mlx_linux make ./configure -
Create a Makefile in your main project to compile the source code.
-
-
pthread: Typically included with the system libraries, include
pthread.hin your code.


