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