Kbz-8 281bf2dcd2 CI
2023-10-19 20:35:17 +02:00
CI
2023-10-19 20:35:17 +02:00
2023-08-10 08:52:46 +02:00
2023-04-07 17:27:23 +02:00
2022-10-05 17:08:36 +02:00
2022-10-05 17:08:36 +02:00
2023-08-10 08:46:31 +02:00

MacroLibX

A rewrite of School 42's MiniLibX using SDL2 and Vulkan. The goal of this version is to give a light, fast and modern graphical tool while keeping the same API as the version currently used at 42.

Installation

Linux

Dependances :

For Ubuntu/Debian

~ sudo apt update
~ sudo apt install libsdl2-2.0-0 libsdl2-dev build-essential

For Arch based distros

~ sudo pacman -S sdl2

MacOS

Dependances :

Get MacroLibX

~ git clone https://github.com/420verfl0w/MacroLibX.git
~ cd MacroLibX
~ make

Compile your project

clang myApp.c MacroLibX/libmlx.so -lSDL2

/!\ If you run into glitches when writing or reading pixels from images /!\

You need to add IMAGES_OPTIMIZED=false to your make mlx command

~ git clone https://github.com/420verfl0w/MacroLibX.git
~ cd MacroLibX
~ make IMAGES_OPTIMIZED=false
Description
Rewritten version of the minilibx graphics API used at 42school, using SDL2 & Vulkan.
https://macrolibx.kbz8.me/ Readme MIT 23 MiB
Languages
C++ 94.1%
C 4.6%
Makefile 0.5%
Meson 0.4%
Shell 0.2%
Other 0.2%