[Insight-users] Problem Linking CXX executable DicomImageViewer

Kendra kendracorreo at gmail.com
Sat Jun 21 13:46:51 EDT 2008


Hi. When I compile DicomImageViewer I've got the next error when Linking CXX
executable DicomImageViewer. It seems due to Xft problem, but I have compile
FLTK library from Gentoo (with emerge, portage) without "noxft" use flag and
then Xft should be activated. And, of course, I've got x11-libs/libXft
installed too.

$ make
[  1%] Generating fltkTimeProbesCollectorGUI.cxx
[  3%] Generating fltkClippingPlane3DDrawerGUI.cxx
[  5%] Generating fltkDisplayGlWindowGUI.cxx
[  7%] Generating fltkDisplayGlWindowFlatGUI.cxx
[  9%] Generating fltkFrustumFunctionControlGUI.cxx
[ 10%] Generating fltkImageViewerGUI.cxx
[ 12%] Generating fltkImage2DViewerGUI.cxx
[ 14%] Generating fltkRGBImage2DViewerGUI.cxx
[ 16%] Generating fltkRegularStepGradientDescentGUI.cxx
[ 18%] Generating fltkSlice2DDrawerGUI.cxx
[ 20%] Generating fltkSlice3DDrawerGUI.cxx
[ 21%] Generating fltkSphereFunctionControlGUI.cxx
Scanning dependencies of target ITKFltkImageViewer
[ 23%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/FltkImageViewer/fltkBox3D.o
[ 25%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/FltkImageViewer/fltkCone3D.o
[ 27%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/FltkImageViewer/fltkClippingPlane3DDrawer.o
[ 29%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/FltkImageViewer/fltkCylinder3D.o
[ 30%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/FltkImageViewer/fltkFrustum3D.o
[ 32%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/FltkImageViewer/fltkGlWindow.o
[ 34%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/FltkImageViewer/fltkGlWindowInteractive.o
[ 36%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/FltkImageViewer/fltkGlWindowInteractiveFlat.o
[ 38%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/FltkImageViewer/fltkImage2DViewerWindow.o
[ 40%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/FltkImageViewer/fltkRGBImage2DViewerWindow.o
[ 41%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/FltkImageViewer/fltkLightButton.o
[ 43%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/FltkImageViewer/fltkProgressBar.o
[ 45%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/FltkImageViewer/fltkShape3D.o
[ 47%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/FltkImageViewer/fltkSphere3D.o
[ 49%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/FltkImageViewer/fltkWindowInteractive.o
[ 50%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/FltkImageViewer/fltkTimeProbeGUI.o
[ 52%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/FltkImageViewer/fltkTimeProbesCollector.o
[ 54%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/FltkImageViewer/fltkUtils.o
[ 56%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/fltkClippingPlane3DDrawerGUI.o
[ 58%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/fltkDisplayGlWindowGUI.o
[ 60%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/fltkDisplayGlWindowFlatGUI.o
[ 61%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/fltkFrustumFunctionControlGUI.o
[ 63%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/fltkImageViewerGUI.o
[ 65%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/fltkImage2DViewerGUI.o
[ 67%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/fltkRGBImage2DViewerGUI.o
[ 69%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/fltkRegularStepGradientDescentGUI.o
[ 70%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/fltkSlice2DDrawerGUI.o
[ 72%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/fltkSlice3DDrawerGUI.o
[ 74%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/fltkSphereFunctionControlGUI.o
[ 76%] Building CXX object
CMakeFiles/ITKFltkImageViewer.dir/fltkTimeProbesCollectorGUI.o
Linking CXX static library libITKFltkImageViewer.a
[ 98%] Built target ITKFltkImageViewer
Scanning dependencies of target DicomImageViewer
[100%] Building CXX object
CMakeFiles/DicomImageViewer.dir/DicomImageViewer.o
Linking CXX executable DicomImageViewer
/usr/lib/fltk-1.1/libfltk.a(fl_font.o): In function
`fl_destroy_xft_draw(unsigned long)':
(.text+0x3ac): undefined reference to `XftDrawChange'
/usr/lib/fltk-1.1/libfltk.a(fl_font.o): In function `fl_width(char const*,
int)':
(.text+0x576): undefined reference to `XftTextExtents8'
/usr/lib/fltk-1.1/libfltk.a(fl_font.o): In function `fontopen(char const*,
bool)':
(.text+0x747): undefined reference to `XftFontOpen'
/usr/lib/fltk-1.1/libfltk.a(fl_font.o): In function `fl_draw(char const*,
int, int, int)':
(.text+0xf55): undefined reference to `XftDrawChange'
/usr/lib/fltk-1.1/libfltk.a(fl_font.o): In function `fl_draw(char const*,
int, int, int)':
(.text+0xf82): undefined reference to `XftDrawSetClip'
/usr/lib/fltk-1.1/libfltk.a(fl_font.o): In function `fl_draw(char const*,
int, int, int)':
(.text+0x1031): undefined reference to `XftDrawString8'
/usr/lib/fltk-1.1/libfltk.a(fl_font.o): In function `fl_draw(char const*,
int, int, int)':
(.text+0x1088): undefined reference to `XftDrawCreate'
collect2: ld devolvió el estado de salida 1
make[2]: *** [DicomImageViewer] Error 1
make[1]: *** [CMakeFiles/DicomImageViewer.dir/all] Error 2
make: *** [all] Error 2

-- 
Esther.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20080621/26a8b4fb/attachment.htm>


More information about the Insight-users mailing list