-
Notifications
You must be signed in to change notification settings - Fork 6
wxTED on Raspberry Pi
It is possible to develop and run wxTED on a Raspberry Pi. There is no installer so if you'd like to submit it to Flatpack that would be great. In the meantime, here is how to load and run it on a Pi. A Pi4 would be a great idea as the development environment is a bit heavy.
sudo apt install codeblocks
sudo apt install libwxsmithlib0
wget http://ftp.de.debian.org/debian/pool/main/h/hunspell/libhunspell-1.4-0_1.4.1-2+b2_armhf.deb
sudo dpkg -i libhunspell-1.4-0_1.4.1-2+b2_armhf.deb
sudo apt install codeblocks-contrib
Instructions at wxWidgets Go to the download location.
cd /home/pi/Downloads
cd wxWidgets-3.1.4/
mkdir gtk_build/
cd gtk_build/
../configure
sudo make install
... and after a long time test the install with this command, which should return the libraries
wx-config --libs
cd ~
git clone https://github.com/peterkvt80/wxted.git
cd wxted
Find teletext2.ttf and teletext4.ttf and install them by copying them to ~/.fonts
cd ~
mkdir .fonts
cd .fonts
cp ~/wxted/font/*.ttf .
Copy the Templates folder from wxtED to wxted/bin/Release. The Templates folder should be in the same folder as the wxTED executable binary.
Run Codeblocks
Load the project, wxted.cbp
Press build (gear icon) to build the project.
Then press run.
If Console mode is left on you'll see a console pop up with messages To hide this in future, go to Project->Properties->Build Targets and select "GUI application" instead of "Console Application"
For convenience, you can copy the Release folder and put it somewhere handy so you can run it without having to load the project and compile it each time.