[Insight-users] Problem Linking CXX executable DicomImageViewer
Mathieu Malaterre
mathieu.malaterre at gmail.com
Mon Jun 23 12:25:44 EDT 2008
On Mon, Jun 23, 2008 at 6:20 PM, Kendra <kendracorreo at gmail.com> wrote:
> Thanks, I add Xft to LINK_LIBRARIES variable and It compiles! But.... now
> when I open a dicom image with the visor I obtain the output:
>
> $./DicomImageViewer
>
> Loading File:
> /home/kendra/13614193285030010/1.3.6.1.4.1.9328.50.3.1788/1.3.6.1.4.1.9328.50.3.1789/https-33727.dcm
> ...Done Loading File
> libGL error: open DRM failed (Operation not permitted)
> libGL error: reverting to (slow) indirect rendering
>
> Anybody knows why this error with libGL?
<start magic ball mode>
you have multiple libGL on your system, and out-of-luck you are not
picking the right one at startup.
What happen if you run glxgears or glxinfo (which should be installed
by default on your linux station) ?
If they both work, simply set LD_PRELOAD to the correct libGL as a
temporary fix:
$ LD_PRELOAD=/opt/my/exotic/path/libGL.so ./DicomImageViewer
</start magic ball mode>
HTH
--
Mathieu
More information about the Insight-users
mailing list