Skip to content

This repository Explains some techniques for Use with MLX library

Notifications You must be signed in to change notification settings

i99dev/mlx_42_examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.