i99dev / mlx_42_examples

This repository Explains some techniques for Use with MLX library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MLX 42 Example 🚧 Under construction 🚧


MLX library is available for Linux and MacOS.

And this repository use Two different MLX libraries depending on the OS , you can check Makefile for more details.

What is included in this repository ?


How to Develop with MLX at Docker?


OK , Good question , I will show you how to develop game through Docker first You need to install Docker not matter what OS you are using and next you need install : x11 for Linux and MacOS , and Xming for Windows.

when everything is done.

This project come with .devcontainer folder , that means you can use with vcode run with conatiner and after docker run and you have access to your terminal on docker container.

set Display to <HOST IP>:0.0

export DISPLAY=<HOST IP>:0.0

On your PC not docker make sure write this command to your terminal :

for MAC Or Linux

xhost + .

For windows

Search on windows app for Xlunch and run it.

  • Select Muiltiple windows.
  • Select Start no client.
  • Make sure you check N Access Control

Then make sure everything work fine by write on Docker terminal : Xclock , should show you a clock with a red cross.

Now You can start development with Docker.

Resources

Contributors

any questions , feel free to contact me on Github or Slack 42 Network oal-tena.

About

This repository Explains some techniques for Use with MLX library


Languages

Language:C 65.5%Language:Objective-C 22.7%Language:Roff 8.3%Language:Makefile 2.2%Language:Shell 0.7%Language:Dockerfile 0.5%Language:Perl 0.3%