-
Notifications
You must be signed in to change notification settings - Fork 6
Developing using Ubuntu
Notes as I go along
-
Install Codeblocks.
-
Check out the source code: git clone https://github.com/peterkvt80/wxted.git
-
Go to Project->Build Options and click on wxTED
-
Select Compiler settings -> Other compiler options and enter this complete with backticks:
wx-config --cflags
-
Select Linker settings --> Other linker options and enter this complete with backticks:
wx-config --libs
-
Select Search directories and clear everything from all the lists.
-
Select Custom variables and clear them all.
-
Get wxwidgets from source and install as per the web site. https://wiki.wxwidgets.org/Compiling_and_getting_started
-
git clone https://github.com/peterkvt80/wxted.git
-
gcc --version
-
sudo apt install build-essential
-
sudo apt install libgtk2.0-dev
-
cd wxWidgets-3.0.5/
-
mkdir gtk-build
-
cd gtk-build/
-
../configure --with-contrib-plugins=all
-
make -j3
-
sudo make install
-
Also install wxSmith It was not obvious because this package conflicted. sudo apt remove codeblocks-libwxcontrib0 sudo apt-get install codeblocks-contrib
I may have also done these to make it work
sudo apt install libwxsmithlib0
sudo apt install valgrind gamin gamin0
How do you know if it is installed? Plugins->Manage plugins should have wxSmith in the list.
- Project->Build Settings:
Some of the features do not work. Look for WXMSW define for windows features only.
- FTP is not available because there is no network wininet.
- Many special keys do not work. Not sure why
- Launch to edit.tf/zxnet and clipboard has now been fixed. (June 2021).
Sadly, the symbol picker dialog doesn't work on Ubuntu. Comment out all references to SymbolPickerDialog1 so that you don't get link errors.