info-inventor
[Top] [All Lists]

Re: observations from a linux user

To: daedalus@xxxxxxxxxxx
Subject: Re: observations from a linux user
From: jlim@xxxxxxxxxxxxxxxxxxxx (Jonathan Lim)
Date: Sun, 28 Jan 2001 22:30:07 -0800 (PST)
Cc: info-inventor@xxxxxxxxxxx
In-reply-to: <q32a7tcmm7l5441v1u2a43lit1cfrr1dti@xxxxxxx> from "daedalus@xxxxxxxxxxx" at Jan 29, 2001 07:07:30 AM
Sender: owner-inventor@xxxxxxxxxxx
On Sun Jan 28 22:07:30 2001, daedalus@xxxxxxxxxxx wrote:
> 
> SoText2.c++: In method `SbBool
> SoBitmapFontCache::convertToUCS(unsigned int, const SoMFString &)':
> SoText2.c++:780: passing `char **' as argument 2 of `iconv(void *,
> const char **, size_t *, char **, size_t *)' adds cv-quals without
> intervening `const'
> make[5]: *** [SoText2.o] Error 1

  We've gone through this before. Due to conflicts between the iconv()
  declaration on IRIX and various versions of glibc, I've decided to leave the
  argument passed in as char**.

> >!! inventor/libSoXt/GNUmakefile
> please try to add 
> LLDOPTS += -L../lib/
> 
> >!! inventor/doc/man/ivman/GNUmakefile
> please try to add -L../../..lib/ -L../../../libSoXt/
> LLDOPTS += -L../../..lib/ -L../../../libSoXt/

  This is not necessary. You should do a 'make install' (see README.FIRST).

> >!! inventor/apps/demos/textomatic/TextWrapper.c++

  See note about iconv() above.

> >!! inventor/apps/samples/widgets/libinventorWidget.a
> builds correctly, but componentTest gives "segmentation fault" for any
> widget I try.

  A stack trace would be more informative.

> When I run XFree86 4.0.2 @ 16 bpp and I try a "xwd" on the window
> where the demo app maze is running I get:
> 
> X Error of failed request:  BadValue (integer parameter out of range
> for operation)
>   Major opcode of failed request:  91 (X_QueryColors)
>   Value in failed request:  0xffff0440
>   Serial number of failed request:  158
>   Current serial number in output stream:  15

  That's probably a xwd bug. Following is an excerpt from the xwd man page for
  IRIX:

    Note that on systems with multiple visuals, this can
    result in xwd failing with protocol errors in
    XQueryColors, if the visual corresponding to the
    first installed colormap is different from the
    visual of the chosen window.


              Jonathan Lim  _  Silicon Graphics  _  Mountain View
              GPS Graphics     Computer Systems        CA, USA

<Prev in Thread] Current Thread [Next in Thread>