info-inventor
[Top] [All Lists]

observations from a linux user

To: info-inventor@xxxxxxxxxxx
Subject: observations from a linux user
From: daedalus@xxxxxxxxxxx
Date: Mon, 29 Jan 2001 07:07:30 +0100
Sender: owner-inventor@xxxxxxxxxxx
>!! inventor/lib/database/src/so/nodes

/usr/bin/g++        -DIRIX_6 -DLIBRARYBUILD -I/usr/X11R6/include -I.
-I../../../../../lib/database/include
-I../../../../../lib/interaction/include
-I../../../../../lib/nodekits/include -I../../../../../libSoXt/include
-I../../../../../libFL/src -Inurbs/head -fPIC       -O -DNDEBUG   -c
SoText2.c++
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

Deleting -DIRIX_6 solved my problem, and make went on.
I am running Linux on i586, it's of Debian 2.2.16 with XFree 4.0.2 and
I use gcc-2.95.2 built from scratch.
I have read the previous posts, but I have found that this error still
happens as of inventor-2.1.5-6


>!! 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/

I got problems with makeManDirs
and ivman is executed before libinventor.so and libinventorSoXt.so is
installed.


>!! inventor/apps/demos/textomatic/TextWrapper.c++
maybe it is similar to -DIRIX_6 see above
(inventor/lib/database/src/so/nodes/SoText2.c++)
maybe #ifdef(s) should be added
because I get the same error

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

-----------------------
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

I don't think it's a problem regarding maze, because I got the same
error with the SceneViewer and ivview.
Maybe it's only a problem regarding only me, test and judge.
Or maybe I am ignoring something about XFree 4 and GLX, but I had no
problem with some glut library demos (i.e. ideas in motion).

Of course the problem vanishes when I run the X server @ 24 bpp.

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