From 01af4a180dd455b0112f38cd9dfe24108f741c7c Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sun, 12 Feb 2023 15:10:29 +0000 Subject: A few typos --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index cf90a21..2024906 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ What is needed: - Cabal for Windows - GHC for Windows - MingGW-W64 -- SDL2 development for MinGW +- SDL2 and SDL2_Image development for MinGW - pkg-config-lite for Windows - Wine on a Linux host (used Debian 11) - Patience and luck! @@ -46,21 +46,22 @@ Currently I'm using: - SDL2 2.26.3 - SDL2_Image 2.6.3 -**Important**: you need to copy SDL2.dll and SDL2_image.dll to your `system32` directory in WINE, usually: +**Important**: you need to copy SDL2.dll and SDL2_image.dll to your `system32` directory in Wine, usually: ``` ~/.wine/drive_c/windows/system32/ ``` -This is needed to compile sdl2 and sdl2-image. When you have your binary, you need to distribute those two DLLs with your .EXE. +This is needed to compile sdl2 and sdl2-image. When you have your binary, you need to distribute those two DLLs with your `exe`. ## Updating packages Run `bin/cabal-wine update` and Cabal should download the latest package list from hackage. -## Building your peoject +## Building your project -Get into workdir/your-project and run: - -`../../bin/cabal-wine build --builddir build` +Get into `workdir/your-project` and run: +``` +../../bin/cabal-wine build --builddir build +``` And it should work! @@ -68,7 +69,7 @@ And it should work! **Extra logging** -Pass `-v` option when running `cabal-wine` for exta information. +Pass `-v` option when running `cabal-wine` for extra output (useful with pkg-config issues). **Failed to compile SDL2_Image** -- cgit v1.2.3