- Instale as dependências
make install
- Compile o Programa
make
- Rode :)
make run
- Remova o compilador MinGW instalado
- Instale o MSYS2
winget install MSYS2.MSYS2
- Atualize o MSYS2, abra o terminal do MSYS2 e digite
pacman -Syu
- Instale o MinGW pelo MSYS2
pacman -S mingw-w64-x86_64-gcc
- Instale o Make (Caso ainda não tenha instalado)
winget install GnuWin32.Make
- Adicione o Make ao PATH, o caminho é
C:\Program Files (x86)\GnuWin32\bin
- Adicione o MinGW ao PATH, o caminho padrão é
C:\msys64\mingw64\bin
- Compile o programa
make windows
- Rode o programe
make run_windows
Q -> zoom out
E -> zoom in
W, A, S, D -> move screen
C -> reset screen position and zoom
H -> Creates a big random 2D rectangle
J -> Creates a medium random 2D rectangle
K -> Creates a small random 2D rectangle
L -> Creates a smaller random 2D rectangle
B -> Creates a big random 1D rectangle
N -> Creates a medium random 1D rectangle
M -> Creates a small random 1D rectangle
U -> Insert rectangles with best fit
I -> Insert rectangles with first fit
O -> Insert rectangles with next fit