Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ Published at: https://thescienceofcode.com/
## Quick start

1. Pre-requisites:
* [Install Hugo](https://gohugo.io/installation/)
* Extract Hugo Binaries into the project's root folder.
* [Recommended 0.120.3](https://github.com/gohugoio/hugo/releases/tag/v0.120.3)
* [Fallback version 0.53](https://github.com/gohugoio/hugo/releases/tag/v0.53)
* [Install NodeJS](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
* Recommended **Github Desktop**:
* [Linux](https://github.com/shiftkey/desktop)
Expand Down Expand Up @@ -44,7 +46,13 @@ Published at: https://thescienceofcode.com/
4. Run the site (using another terminal):

```
hugo server -D
hugo serve -D
```

If you are using Powershell:

```
.\hugo serve -D
```

The Science of Code is a Free and Open Source initiative by [Equilaterus](https://equilaterus.com).
32 changes: 28 additions & 4 deletions content/post/sdl-vscode-c-cpp-debug.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,37 @@ Once this is done, you can see the project contents but before running and revie

2. **Install SDL2**:

* Browse to [SDL2 Releases](https://github.com/libsdl-org/SDL/releases/tag/release-2.28.5) and download **SDL2-devel-2.28.5-mingw.zip**. Open the zip file and inside it go to **SDL2-2.28.5\\x86_64-w64-mingw32\\**, extract the contents (four folders) into **c:\sdl2\\**.
* **Alternative A** (easy)

* Browse to [SDL2 Image Releases](https://github.com/libsdl-org/SDL_image/releases/tag/release-2.8.2) and download **SDL2_image-devel-2.8.2-mingw.zip**. Open the zip file and inside it go to **SDL2_image-2.8.2\x86_64-w64-mingw32**, extract the contents (three folders) into **c:\sdl2\\**.
Download [this zip file](https://mega.nz/file/YFlzyJyb#waq7p7JoCKys6JbZ1gD8rtdeXX5KohbrtRObA4egvr0) and extract its contents into your computer's root path **C:\\**.

* Browse to [SDL2 Mixer Releases](https://github.com/libsdl-org/SDL_mixer/releases/tag/release-2.8.0) and download **SDL2_mixer-devel-2.8.0-mingw.zip**. Open the zip file and inside it go to **SDL2_mixer-2.8.0\x86_64-w64-mingw32**, extract the contents (three folders) into **c:\sdl2\\**.
* **Alternative B** (manual download)

* Browse to [SDL2 TTF Releases](https://github.com/libsdl-org/SDL_ttf/releases/tag/release-2.22.0) and download **SDL2_ttf-devel-2.22.0-mingw.zip**. Open the zip file and inside it go to **SDL2_ttf-2.22.0\x86_64-w64-mingw32**, extract the contents (three folders) into **c:\sdl2\\**.
* Browse to [SDL2 Releases](https://github.com/libsdl-org/SDL/releases/tag/release-2.28.5) and download **SDL2-devel-2.28.5-mingw.zip**.

Open the zip file and inside it go to **SDL2-2.28.5\\x86_64-w64-mingw32\\**.

Extract the contents (four folders) into **c:\sdl2\\**.

* Browse to [SDL2 Image Releases](https://github.com/libsdl-org/SDL_image/releases/tag/release-2.8.2) and download **SDL2_image-devel-2.8.2-mingw.zip**.

Open the zip file and inside it go to **SDL2_image-2.8.2\x86_64-w64-mingw32**.

Extract the contents (three folders) into **c:\sdl2\\**.

* Browse to [SDL2 Mixer Releases](https://github.com/libsdl-org/SDL_mixer/releases/tag/release-2.8.0) and download **SDL2_mixer-devel-2.8.0-mingw.zip**.

Open the zip file and inside it go to **SDL2_mixer-2.8.0\x86_64-w64-mingw32**.

Extract the contents (three folders) into **c:\sdl2\\**.

* Browse to [SDL2 TTF Releases](https://github.com/libsdl-org/SDL_ttf/releases/tag/release-2.22.0) and download **SDL2_ttf-devel-2.22.0-mingw.zip**.

Open the zip file and inside it go to **SDL2_ttf-2.22.0\x86_64-w64-mingw32**.

Extract the contents (three folders) into **c:\sdl2\\**.

> **Note**: If you want to, you can download newer versions from the repositories. Though listed versions were tested by **The Science of Code**.


3. **Configure environment variables**:
Expand Down
32 changes: 28 additions & 4 deletions content/post/sdl-vscode-c-cpp-debug.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,37 @@ Realizado esto se puede ver el contenido del proyecto, pero antes de poder ejecu

2. **Instalar SDL2**:

* Abrir [SDL2 Releases](https://github.com/libsdl-org/SDL/releases/tag/release-2.28.5) y descargar **SDL2-devel-2.28.5-mingw.zip**. Abrir el archivo zip y una vez adentro, ir a **SDL2-2.28.5\\x86_64-w64-mingw32\\**, extraer el contenido (cuatro carpetas) en **c:\sdl2\\**.
* **Alternativa A** (fácil)

* Abrir [SDL2 Image Releases](https://github.com/libsdl-org/SDL_image/releases/tag/release-2.8.2) y descargar **SDL2_image-devel-2.8.2-mingw.zip**. Abrir el archivo zip y una vez adentro, ir a **SDL2_image-2.8.2\x86_64-w64-mingw32**, extraer el contenido (tres carpetas) en **c:\sdl2\\**.
Descargar [este archivo zip](https://mega.nz/file/YFlzyJyb#waq7p7JoCKys6JbZ1gD8rtdeXX5KohbrtRObA4egvr0) y extraer su contenido en la raiz de su computador **C:\\**.

* Abrir [SDL2 Mixer Releases](https://github.com/libsdl-org/SDL_mixer/releases/tag/release-2.8.0) y descargar **SDL2_mixer-devel-2.8.0-mingw.zip**. Abrir el archivo zip y una vez adentro, ir a **SDL2_mixer-2.8.0\x86_64-w64-mingw32**, extraer el contenido (tres carpetas) en **c:\sdl2\\**.
* **Alternativa B** (descarga manual)

* Abrir [SDL2 TTF Releases](https://github.com/libsdl-org/SDL_ttf/releases/tag/release-2.22.0) y descargar **SDL2_ttf-devel-2.22.0-mingw.zip**. Abrir el archivo zip y una vez adentro, ir a **SDL2_ttf-2.22.0\x86_64-w64-mingw32**, extraer el contenido (tres carpetas) en **c:\sdl2\\**.
* Abrir [SDL2 Releases](https://github.com/libsdl-org/SDL/releases/tag/release-2.28.5) y descargar **SDL2-devel-2.28.5-mingw.zip**.

Abrir el archivo zip y una vez adentro, ir a **SDL2-2.28.5\\x86_64-w64-mingw32\\**.

Extraer el contenido (cuatro carpetas) en **c:\sdl2\\**.

* Abrir [SDL2 Image Releases](https://github.com/libsdl-org/SDL_image/releases/tag/release-2.8.2) y descargar **SDL2_image-devel-2.8.2-mingw.zip**.

Abrir el archivo zip y una vez adentro, ir a **SDL2_image-2.8.2\x86_64-w64-mingw32**.

Extraer el contenido (tres carpetas) en **c:\sdl2\\**.

* Abrir [SDL2 Mixer Releases](https://github.com/libsdl-org/SDL_mixer/releases/tag/release-2.8.0) y descargar **SDL2_mixer-devel-2.8.0-mingw.zip**.

Abrir el archivo zip y una vez adentro, ir a **SDL2_mixer-2.8.0\x86_64-w64-mingw32**.

Extraer el contenido (tres carpetas) en **c:\sdl2\\**.

* Abrir [SDL2 TTF Releases](https://github.com/libsdl-org/SDL_ttf/releases/tag/release-2.22.0) y descargar **SDL2_ttf-devel-2.22.0-mingw.zip**.

Abrir el archivo zip y una vez adentro, ir a **SDL2_ttf-2.22.0\x86_64-w64-mingw32**.

Extraer el contenido (tres carpetas) en **c:\sdl2\\**.

> **Nota**: Si usted quiere, puede descargar versiones más nuevas de los repositorios. Sin embargo, las versiones listadas fueron probadas por **The Science of Code**.


3. **Configurar variables de entorno**:
Expand Down