Re: [Therion] usr/bin/ld: cannot find -lvtkjpeg
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
What video card do you have? On Sunday 04 February 2007 1:55 am, Michael Lake wrote:
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 Therion@speleo.sk http://www.speleo.sk/mailman/listinfo/therion
Quoting Philip Schuchardt <ohc@vt.edu>:
What video card do you have?
Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller on a Dell Inspiron 620 laptop.
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$
Mike Lake
participants (2)
-
Michael Lake -
Philip Schuchardt