LibreSprite / Dotto

A portable and modern pixelart editor, written from scratch.
MIT License
692 stars 19 forks source link

Confused on how to compile on Mac #26

Closed personal-note closed 1 year ago

personal-note commented 2 years ago

im a bit confused on what to do when compiling Dotto on Mac

pegvin commented 2 years ago

You'll Need To Have https://brew.sh installed, then you'll have to install some libraries needed by Dotto which can be done via this command:

brew install sdl2 sdl2_image lcms2 freetype v8 openssl pkg-config

after that first you'll need to clone the repository with all the submodules which can be done via this command:

git clone https://github.com/LibreSprite/Dotto --recursive

and go inside the cloned directory via cd command cd Dotto/ then just compile the program via make:

make DEBUG=true -j 4

replace the 4 in the above command with the number of cores you want/have.