Template project for running EEZ Flow firmware project using SDL
Go to file
2023-06-02 10:48:09 +02:00
cmake initial commit 2022-04-29 13:47:55 +02:00
eez-framework@5938dac098 update eez-framework 2023-04-18 13:58:24 +02:00
images added template folder 2022-07-12 10:38:18 +02:00
src update eez-framework 2022-11-25 11:07:23 +01:00
template image changed 2023-06-02 10:43:56 +02:00
.gitignore initial commit 2022-04-29 13:47:55 +02:00
.gitmodules update eez-framework 2022-11-25 11:07:23 +01:00
cmake.bat added template folder 2022-07-12 10:38:18 +02:00
CMakeLists.txt update eez-framework 2022-11-25 12:01:28 +01:00
eez-flow-template-sdl.eez-project Update eez-flow-template-sdl.eez-project 2023-06-02 10:48:09 +02:00
Oswald-Medium.ttf Create Oswald-Medium.ttf 2022-04-29 13:58:13 +02:00
README.md update README.md 2022-07-14 13:56:42 +02:00

Ownership and License

The contributors are listed in CONTRIB.TXT. This project uses the GPL v3 license, see LICENSE.TXT. This project uses the C4.1 (Collective Code Construction Contract) process for contributions. To report an issue, use the issues page tracker.

Build

First, build the project using EEZ Studio.

Linux

sudo apt-get update
sudo apt-get install -y git libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev cmake build-essential libbsd-dev
cd {{projectDirPath}}
mkdir -p build/linux
cd build/linux
cmake ../..
make

Start simulator with:

./{{projectName}}

Windows

Install Visual Studio Community 2017 and CMake.

Download and install SDL2 development libraries for Windows from https://www.libsdl.org/download-2.0.php.

Download and install SDL2_Image development libraries for Windows from https://github.com/libsdl-org/SDL_image/releases.

Update these environment variables in cmake.bat according to the location (and version) where SDL2 and SDL2_Image has been installed:

set SDL2DIR=..\SDL2-2.0.14
set SDL2IMAGEDIR=..\SDL2_image-2.0.4

Execute cmake.bat:

cd {{projectDirPath}}
.\cmake.bat

Visual Studio solution is created in {{projectDirPath}}\build\win32.

Use Visual Studio to build the solution.