updated README.md
This commit is contained in:
@@ -10,10 +10,14 @@ Of course it is not without usage, I will prepare the app to be hooked in Hyprla
|
|||||||
- SDL3
|
- SDL3
|
||||||
|
|
||||||
## Installations
|
## Installations
|
||||||
#### Macos
|
> As of now the only like-indented working implementation is for macOS.
|
||||||
|
|
||||||
|
#### macOS
|
||||||
- `brew install sdl3`
|
- `brew install sdl3`
|
||||||
- clone this repo and navigate into it
|
- clone this repo and navigate into it
|
||||||
- `gcc SimpleImageViewer.c -o SimpleImageViewer -Wall -Werror -o3 $(pkg-config --cflags --libs sdl3)` or with `clang`
|
- `gcc SimpleImageViewer.c -o SimpleImageViewer -Wall -Werror -o3 $(pkg-config --cflags --libs sdl3)` or with `clang`
|
||||||
|
- additional compiler arguments for ide: `-I/opt/homebrew/include -L/opt/homebrew/lib -Wl,-rpath,/opt/homebrew/lib -lSDL3 `
|
||||||
|
|
||||||
#### Linux
|
#### Linux
|
||||||
- TODO
|
- `sudo pacman -S sdl3 --noconfirm`
|
||||||
|
- `gcc SimpleImageViewer.c -o SimpleImageViewer -Wall -Werror -o3 $(pkg-config --cflags --libs sdl3) -lm` or with `clang`
|
||||||
|
|||||||
Reference in New Issue
Block a user