therion-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Therion] usr/bin/ld: cannot find -lvtkjpeg


From: Michael Lake
Subject: Re: [Therion] usr/bin/ld: cannot find -lvtkjpeg
Date: Sun, 4 Feb 2007 17:55:04 +1100
User-agent: Internet Messaging Program (IMP) 3.1

Hi 

Thanks,

> 1. Compile VTK your self and link therion against this compilation.
> Usually vtkjpeg is created.
:-(

I tried number 2
> 2. Link therion against libjpeg already present in your system. For
> this, you need to do following changes:

* install libjpeg-devel package DONE
* in loch/lxImgIO.cxx:13 change #include <vtk_jpeg.h> to #include
<libjpeg.h> (or whatever libjpeg header is - I have no idea.)
Its <jpeglib.h>
* in Makefile replace -lvtkjpeg with -ljpeg
DONE
I also had to replace the -lvtkpng with -lpng and to remove the zlib.
Now it compiles but I get this error upon trying to run it.

The program 'loch' received an X Window System error.
This probably reflects a bug in the program.
The error was 'GLXBadContext'.
  (Details: serial 24 error_code 155 request_code 143 minor_code 5)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
loch$ 

I was using the Debian package before from Wookies site but decided to use the
source as it was so much later and its progressing so fast :-)


Mike Lake

_______________________________________________
Therion mailing list
address@hidden
http://www.speleo.sk/mailman/listinfo/therion




reply via email to

[Prev in Thread] Current Thread [Next in Thread]