If you want to use Eclipse, this guide might help you with the first steps.
First, you get the latest release of Eclipse CDT for C/C++ programmers, i.e.
$ wget http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/technology/epp/downloads/release/europa/winter/eclipse-jee-europa-winter-linux-gtk.tar.gz
Untar the archive:
$ tar xvzf eclipse-jee-europa-winter-linux-gtk.tar.gz
Then start eclipse:
It is convenient to install the Autotools plugin via the Eclipse Update Manager: Help → Software Updates → Find and Install. Select 'Search for new features to install', and add the new remote site 'http://sourceware.org/eclipse/update'. From there, install the autotools plugin.
Now you can create the project for ZORA. Click on File → New → Project.. and select GNU C++ Autotools Project. Give the project a name, uncheck 'Use Default Location', then browse for the folder with the zora sources.
As a last step, you will have to set up the launch configurations. Click on Run → Open Run Dialog, select 'C/C++ Local Application' and click on the 'New launch configuration' icon. Search the project for the zoracontrol application, this should typically be
build/src/.libs/zoracontrol. Then open the Environment tab, and add a new environment variable called
LD_LIBRARY_PATH and set it to
build/src/.libs/. Now click on Run in order to launch the project. Note that by using this configuration, also the Debugger in Eclipse should work out-of-the-box.
last modified on 2008/11/04 13:28