Projekt for Testing SDL2 Funktions to Build an Gui

First Test / Create new DrawFunktions

Circle then dificult Funktion First

add --v=9 to commandline to see all log Verbose level 9 (Performens is slower)


  • sdl2 sdl2_net sdl2_image sdl2_ttf sdl2_mixer: GUI
  • libuvdev: USB Hotplug detection
  • cairo libosmscout-cairo: Map (not in the repositories)
  • cimg: Covers images manipulation

Known Bugs

  • Inhalt bei ziehen anzeigen no Redraw beim ziehen unter Windows SDL2 Bug ?
  • SDL_SetWindowsMessageHook ein weg ? Ist aber Plattform abh�ngig egal da Windows nicht die Ziel Plattform ist.
  • Nach dem Bildschirmschoner schwarzen Fenster Auf dem PI gibt es keinen Bildschrim Bildschirmschoner
  • High DPI Aware k�nnte bei machne Displays ein Thema werden
  • search for an funktion/logik to insert the screen before statusbar an action because theare always on top

Used Debian Packages


Text to speech ? sudo apt-get install libttspico0 libttspico-utils libttspico-data libttspico-dev Create a Texture vielleicht doch mal probieren aber 38 Stunden um was zu Testen ?

Google Icons


Building for Cairo,Librsvg D:\Tools\NASM for libjpeg-turbo

Raspberry Auflösungen Install SDL2 mit einem Script Compiling resource mingw Infos zum Touch unter Linux -> Crosscompiling -> Jede menge Cmake zeugs




Mathe Spieler reien

Lokale Hinweise

D:\Mine\C++\FremderSource\AGui\UIlib D:\Mine\C++\MYGUI_3.2.0_win32 D:\Mine\CarPC - Selbstbau\canine\thirdparty\Entypo+ SVG Icons D:\Mine\OpenSource\gtk-windows-build D:\Mine\C++\OGRESvg D:\Mine\OpenSource\SDL_anigif-1.0.0\SDL_anigif.c -> Animated Gifs (Spinner /waiting Cursor) D:\Mine\OpenSource\Cairo-VS-master

Rotate Texture

Verstehen und dran denken

The Rule of Three Rule-of-Three becomes Rule-of-Five with C++11?

Linuxcode compiler with Visualstudio Infos

MSVC++ 14.0 _MSC_VER == 1900 (Visual Studio 2015) MSVC++ 12.0 _MSC_VER == 1800 (Visual Studio 2013) MSVC++ 11.0 _MSC_VER == 1700 (Visual Studio 2012) MSVC++ 10.0 _MSC_VER == 1600 (Visual Studio 2010) MSVC++ 9.0 _MSC_VER == 1500 (Visual Studio 2008) MSVC++ 8.0 _MSC_VER == 1400 (Visual Studio 2005) MSVC++ 7.1 _MSC_VER == 1310 (Visual Studio .NET 2003) MSVC++ 7.0 _MSC_VER == 1300 MSVC++ 6.0 _MSC_VER == 1200



Weg finden die ausagabe von leakage.htm in der IDE zu sehen (VisualStudio) Modal Dialog Color Manager Load Layout from disk musicbrainz support D:\Mine\OpenSource\libmusicbrainz-5.1.0 needs neon (http) xml2 D:\Mine\OpenSource\neon-0.30.2 needs D:\Tools\Expat Watch dog aktivieren vielleicht ? RTC (Uhr) wenn wir kein Internet haben hat der PI keine Zeit. SDL_HasScreenKeyboardSupport SDL_SetTextInputRect() (Spracherkennung) UPDATE mytable SET mycol=REPLACE(REPLACE(mycol, x'0D0A', x'0A'), x'0D', x'0A'); UPDATE mediasource SET source=REPLACE(source, x'C4', "Ä"); libgps-dev

Links leider Tod sqlitebrowser

Demon für den Hintergrund

Problem how shutdown linux

SSL Tcp für Android App (Remote Steuerung) (TCP Android)

Gpio lib

Custom Buadrate /home/punky/develop/Test/custombaud.c

Install Service

sudo cp ./src/CarnineBackendD/CarnineBackendD.service /lib/systemd/system/ sudo cp ./bin/Linux/CarnineBackendD.bin /sbin/

systemctl daemon-reload when config is change systemctl status CarnineBackendD sudo systemctl start CarnineBackendD sudo systemctl stop CarnineBackendD

sudo journalctl -xef

minicom -D/dev/ttyS0 115200 Baud default

sudo dmesg | grep tty -> Search for USB GPSMouse (USB to Serial)

Build neon

nmake /f neon.mak EXPAT_SRC=D:\Tools\Expat Not working at now decorator don't work ord don#t under stand try webp as image format round Control / Element Click Regetangle

Icons (D:\Mine\OpenSource\material-design-icons-3.0.1) -> Now Using


Tag reader for Mediabase builder,header:home-quickstart

Mp3 und die Tags


AVR / Controller D:\Program Files (x86)\Atmel\Studio\7.0\shellutils make tool 38400 Baud 8 MHz start zeit HDMI Box ca. 5 Sek. Umgebungs Variable Setzen AVR32_HOME F:\Tools\avr8-gnu-toolchain /dev/ttyAMA0 -> PI Device minicom -D/dev/ttyAMA0 -b38400 strg + a q -> Quit

PI 3 - Verstehen was mit dem Serial Port gemacht haben

Anmerkung zum Netzteil

USB Buchse ist komisch -> Standard Mini USB die Ankerkabel passen nicht Power per USB ? Wirklich gut USB-Hub plus Innen Masse aussen HDMI Splitter plus Innen Masse aussen Relais sind laut da hort man die Arbeit fg -> Echtzeit uhr

Later cross Compiling

pacman -S mingw-w64-i686-ninja mingw-w64-i686-meson pacman -S mingw-w64-x86_64-ninja mingw-w64-x86_64-meson sudo apt-get install gcc-6-arm-linux-gnueabihf

rsync -a -v --delete /home/punky/Musik pi@

Eigenes Image / ISO bauen

libosmscout map tool

cmake .. -DCMAKE_BUILD_TYPE=Debug cmake --build . sudo cmake --build . --target install cmake .. -DCMAKE_BUILD_TYPE=Release cmake --build . sudo cmake --build . --target install

make .. -G "Visual Studio 14 2015" -DCMAKE_SYSTEM_VERSION=10.0.10586.0 -DCMAKE_INSTALL_PREFIX=D:\Mine\OpenSource\osmlib cmake --build . --config Release --target install cmake --build . --config Debug export OSMSCOUT_LOG=DEBUG ./OSMScout2 -develop/libosmscout-code/maps/hessen-latest

cmake -DCMAKE_INSTALL_PREFIX=output/release -DCMAKE_BUILD_TYPE=RELEASE .. cmake -DCMAKE_INSTALL_PREFIX=output/debug -DCMAKE_BUILD_TYPE=DEBUG .. cmake --build . --config Debug --target install

cmake .. -G "MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=output/debug -DCMAKE_BUILD_TYPE=Debug cmake .. -G "MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=output/release -DCMAKE_BUILD_TYPE=RELEASE cmake --build . --config Release --target install

cmake .. -G"MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=/F/Mine/OpenSource/libosmscout-code/build/MinGW/Release -DOSMSCOUT_ENABLE_SSE=ON cmake --build . --target install --config Release


cmake .. -G"MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=/F/Mine/OpenSource/libosmscout-code/build/MinGW/Debug -DOSMSCOUT_ENABLE_SSE=ON -DCMAKE_BUILD_TYPE=Debug cmake --build . --config Debug --target install cmake .. -DCMAKE_BUILD_TYPE=Debug -DOSMSCOUT_BUILD_TESTS=OFF

cmake .. -DCMAKE_BUILD_TYPE=Release -DOSMSCOUT_BUILD_TESTS=OFF cmake --build . --config Release sudo cmake --build . --config Release --target install

SDL2 Build

rm -r SDL2-2.0.7 wget -N tar -xzf SDL2-2.0.9.tar.gz cd SDL2-2.0.9 ./ Linux -> ./configure PI -> ./configure --disable-pulseaudio --disable-esd --disable-video-mir --disable-video-wayland --disable-video-opengl --host=arm-raspberry-linux-gnueabihf make sudo make install

wget -N tar zxvf SDL2_image-2.0.4.tar.gz cd SDL2_image-2.0.4 ./ ./configure

wget -N tar zxvf SDL2_mixer-2.0.4.tar.gz cd SDL2_mixer-2.0.4 ./ ./configure

wget -N tar zxvf SDL2_net-2.0.1.tar.gz cd SDL2_net-2.0.1 ./ ./configure

Pi aufräumen
sudo apt-get purge --auto-remove idle idle3 sudo apt-get purge --auto-remove scratch sudo apt-get purge --auto-remove sonic-pi sudo apt-get purge --auto-remove squeak-vm sudo apt-get purge --auto-remove timidity sudo apt-get purge --auto-remove wolfram-engine sudo apt-get purge --auto-remove libreoffice sudo apt-get purge --auto-remove bluej sudo apt-get purge --auto-remove greenfoot* sudo apt-get purge --auto-remove python-pygame sudo apt-get purge --auto-remove penguinspuzzle sudo apt-get purge --auto-remove lxappearance sudo apt-get purge --auto-remove lxde lxde-common lxde-core lxmenu-data lxpanel lxpolkit lxrandr lxsession lxsession-edit lxshortcut lxtask lxterminal sudo apt-get purge --auto-remove lxde-icon-themexinput sudo apt-get purge --auto-remove leafpad menu-xdg omxplayer xarchiver sudo apt-get purge --auto-remove zenity pcmanfm blt python-tk python3-tk sudo apt-get purge --auto-remove dillo openbox sudo apt-get purge --auto-remove pistore sudo apt-get purge --auto-remove gnome-icon-theme-symbolic sudo apt-get purge --auto-remove pypy-setuptools pypy-upstream pypy-upstream-dev sudo apt-get purge --auto-remove epiphany-browser epiphany-browser-data sudo apt-get purge --auto-remove xinit xserver-xorg lightdm midori desktop-base gnome-icon-theme gnome-themes-standard sudo apt-get purge --auto-remove nodered sudo apt-get purge --auto-remove python3-pygame sudo apt-get autoremove sudo apt-get autoclean sudo apt-get clean sudo dpkg --purge deborphan

Zum und vom PI

pscp -batch -pw "raspberry" carnine.bin pi@ pscp -batch -pw "raspberry" CarnineBackendD.bin pi@

Performens Linux


Addon ? -> F:\Mine\C++\Nuclex.PluginArchitecture.Example

Remote Debug

set sysroot /home/punky/x-tools/rpiroot target remote continue


bluetoothctl agent on scan on

Build the Map data ../build/MinGW/Release/bin/Import hessen-latest.osm.pbf --typefile ../stylesheets/map.ost --destinationDirectory hessen-latest

cd /home/punky/develop/libosmscout-code/maps /usr/local/bin/Import hessen-latest.osm.pbf --typefile ../stylesheets/map.ost --destinationDirectory hessen-latest

/e/PrivatAktuell/SDL2GuiTests/bin/Windows/ /F/Mine/OpenSource/libosmscout-code/build/MinGW/Debug/bin/DumpData /F/Mine/OpenSource/libosmscout-code/maps/hessen-latest -wo 17231720 /F/Mine/OpenSource/libosmscout-code/build/MinGW/Release/bin DumpData /F/Mine/OpenSource/libosmscout-code/maps/hessen-latest -wo 17231720


On Screen Tastatur

SDL_HasScreenKeyboardSupport -> Draw Text SDL2 better ?

NetBeans IDE

run in msys64

cd "/C/Program Files/NetBeans 8.2/bin" ./netbeans.exe --jdkhome "C:\Program Files\Java\jre1.8.0_161"

Build and Check -> Very goot solution i found

mingw cmake -G "MSYS Makefiles" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DTARGET="mingw" ..


only run when IPV6 enabled


Text to Speech

Second screen device for routing infos or mediaplayer info PiTFT as Raw Framebuffer Device

100mA Uses the hardware I2C Pins (SDA & SCL), SPI pins (SCK, MOSI, MISO, CE0) as well as GPIO #25 and #24 Capacitive

Download Server vor the Maps

So ist der aufruf aus der Software