Hi,

I've managed to compile LyX 1.3.0cvs with Xforms including the use of
Xforms' Image Loader on FreeBSD 4.6 PC.
However, all graphics shows up in only total black, including the
intro LyX graphics at startup.

For the startup, "lyx -dbg graphics" produces:

---------------------------------------------------------------
$ src/lyx -dbg graphics
Setting debug level to graphics
Debugging `graphics' (Graphics conversion and loading)
Recognised Fileformat: xpm
[GrahicsCacheItem::convertToDisplayFormat]
        Attempting to convert image file:
/home/lahaye/SOFTWARE/lyx-devel/lib/images/banner.xpm
        with displayed filename: ~/SOFTWARE/lyx-devel/lib/images/banner.xpm
Recognised Fileformat: xpm

        The file contains xpm format data.

The image loader can load the following directly:
Windows/OS2 BMP file, extension "bmp"
NASA/NOST FITS, extension "fits"
CompuServ GIF, extension "gif"
JPEG/JFIF format, extension "jpg"
Portable Pixmap, extension "ppm"
Portable Graymap, extension "pgm"
Portable Bitmap, extension "pbm"
SGI Iris, extension "sgi"
Tag Image File Format, extension "tif"
X11 Bitmap, extension "xbm"
X Window Dump, extension "xwd"
XPM format, extension "xpm"

Of these, LyX recognises the following formats:
bmp, tiff, xpm

        No conversion needed (from == to)!
Loading image.
In InitColorLookup [rgb_db.c 85] can't find the rgb color database--No such file
or directory
In LookupColor [rgb_db.c 177] database uninitialized

[...last two lines another 25 times...]

In InitColorLookup [rgb_db.c 85] can't find the rgb color database--No such file
or directory
In LookupColor [rgb_db.c 177] database uninitialized
xforms image loader. Status : xpm
xforms image loader. Status : xpm
xforms image loader. Status : xpm
xforms image loader. Status : xpm
xforms image loader. Status : xpm
xforms image loader. Status : xpm
xforms image loader. Status : xpm
xforms image loader. Status : xpm
xforms image loader. Status : xpm
xforms image loader. Status : xpm
xforms image loader. Status : Done Reading xpm
Image loading succeeded.
Received unhandled X11 event
Type: 0xd Target: 0x120009c
---------------------------------------------------------------

And then I have the LyX window and a black logo inthere with
"1.3.0cvs" in bold yellow. LyX works as usual, only all graphics
is in total black!

The file "rgb_db.c is nowhere to be found on my system.
Is this another bug in Open Xforms 1.0.0 ?
Or is LyX doing something fishy here?

My version output is:
LyX 1.3.0cvs of Fri, May 3, 2002
Built on Jul 19 2002, 17:43:36
Configuration
  Host type:                      i386-unknown-freebsd4.6
  Special build flags:            warnings assertions xforms-image-loader
  C   Compiler:                   gcc
  C   Compiler flags:             -g -O2
  C++ Compiler:                   g++ (2.95.3)
  C++ Compiler flags:             -g -O -Wno-non-template-friend -W -Wall
  Linker flags:                   -L/usr/local/lib
  Frontend:                       xforms
    libXpm version:               4.11
    libforms version:             1.0.0
  LyX binary dir:                 /opt/bin
  LyX files dir:                  /opt/share/lyx


Regards,
Rob.

Reply via email to