X11 extension use in xcaverot - urgent help required

Olly Betts olly@survex.com
Sun, 10 Jun 2001 05:35:46 +0100


On Thu, Jun 07, 2001 at 04:54:53PM +0100, Wookey wrote:
> Adding this to the makfile, it all compiles - download it to the palmtop and
> Iam mildly astonished to find that it 'just works', although the compass and
> tilt thing talk up nearly half the screen!

You can set an enviromental variable before running xcaverot to change their
size.  For sh, bash and similar shells:

XCAVEROT_INDICATOR_RADIUS=10
export XCAVEROT_INDICATOR_RADIUS
xcaverot survey.3d &

The default size is 40.

> > Finally, survex and cavern work fine, and printps appears to (subject to
> > connecting a printer with the serila->parallel converter that arrived this
> > morning), but printdm gives a 'bug in program detected' error. I hope to
> > look into that before I go, otherwise it'll be when I get back....

Where does printdm die?

> so credit to the authors (probably largely ol) for portability.

It's really down to the portability of Linux...

> The basic runes are:
> export CC=arm-linux-gcc
> export OBJDUMP=arm-linux-objdump
> ./configure --includedir=/usr/arm-linux/include --libdir=/usr/arm-linux/lib
> 
> Then src/makefile needs the xcaverot_LDADD line changing to
> xcaverot_LDADD =    -L$(libdir) -lX11 -lXext

This should be getting probed automatically by autoconf (as happens on other
platforms).

What does config.log say?  And where are libXext.so and friends?

Cheers,
Olly

P.S. Have fun in China - I've just got back!