Re: Tree structure (Linux GUI)
- Posted by mattlewis (admin) May 22, 2013
- 3308 views
Some of the work is done by wxWidgets and the wxTreeCtrl.
Apparently, this is what I need. After examining my system (CrunchBang Linux 11), I found pre-installed packages "libwxgtk2.8-0" and "libwxbase2.8-0". That will be enough for installing wxEuphoria binaries? I read the files "readme.txt" and "install.txt", but they explains how to install from source. BTW, I do not have $EUINC, though the Euphoria was installed as deb-package.
The version I'm using with wxIDE is a bit more bleeding edge. It actually uses wxWidgets 2.9. They have basically the same dependencies, but differences in gcc and other library versions could mean that the uploaded binaries won't work for you. It was build on Kubuntu 12.04. I upgraded recently to 13.04, and those binaries still work for me, but I'm not familiar with CrunchBang.
To install wxEuphoria on Linux or FreeBSD:
Those are old instructions. You should be configuring your include paths using eu.cfg with 4.0+. If you need to build wxEuphoria yourself, download this tarball of wxEuphoria code.
There are instructions in the readme (and please ask if you need help):
To build wxEuphoria on Linux: * Download the latest wxWidgets 2.9 source from www.wxWidgets.org, or install wxWidgets 2.9.x using your package manager (in which case, you can skip the next two steps of building the wxWidgets binaries) * Dependencies: You must have the following packages installed in order to build wxEuphoria from source: * libwxgtk2.9-dev * gtk+-2.0-dev * libpango1.0-dev * On a Debian based system you can do: # agt-get build-dep libwxgtk2.8-0 (or whatever version of wxWidgets is in your package manager) * From the base directory where you decompressed wxWidgets, type: $ ./configure --enable-monolithic --enable-mediactrl --enable-unicode --enable-shared \ --disable-stc --disable-debug VENDOR=eu $ make $ make install * The binaries will be moved to a system directory. You may need to run ldconfig (or /sbin/ldconfig) on the directory where the binaries were installed. * From the wxEuphoria source directory, type: $ ./configure path/to/wxWidgets $ make $ make install * The shared library will be moved to a system directory. You may need to run ldconfig (or /sbin/ldconfig) on the directory where the binaries were installed (should be /usr/local/lib).
Matt