There are two libraries available:
This is a release of ROX-CLib updated to work with GTK+ 2. In addition it contains code for options similar to that in ROX-Filer.
If you install this you should update the programs which use the library at the same time.
More information, including the downloads, is available at the ROX-CLib page.
If you use
Archive
to extract it from the downloaded archive then make sure you rename
it
to ROX-CLib.
This version is now obselete and should only be used if you cannot run GTK+ 2. Use Version 2.0 instead.
This is a library implemented using the application directory system.
ROX-CLib uses a variant of the standard AppRun file. It supports automatic compilation, but this is intended to produce a library. It does generate an executable, one that behaves like the gtk-config program in GTK+: it echos the options to add for compiling or linking with the library.
Versions up to 0.1.12 only support static libraries. Shared libraries are supported from 0.2.0 onwards.
To use this, first compile the library using ROX-CLib/AppRun --compile, then ensure that the run_rox program is in your PATH.
In your AppRun file you will need:
if [ -z "$LD_LIBRARY_PATH" ]; then
LD_LIBRARY_PATH=`rox_run ROX-CLib --runtime`
else
LD_LIBRARY_PATH=`rox_run ROX-CLib --runtime`:$LD_LIBRARY_PATH
fi
export LD_LIBRARY_PATH
My C apps and applets all use this.
Here is the recently added HTML help file.
If you have any questions or comments about this, please email me.
If you are using packages such as rpm or dev then you need the -devel versions.
| RISC OS | Software
× Nethack 3.3.1 |
| Glorantha | Cults
× Runes
× Game log
× Hero Wars |
| ROX | Utilities
× Wrappers
× Libraries
× Patches
× ARM Linux binaries |
| Misc | Java
× Comments
× Links
× Boring notes |
Last modified: Sat May 21 12:08:28 BST 2005