[Paraview] Trying to build with system png (and other) libraries

Orion Poplawski orion at cora.nwra.com
Wed Mar 29 12:26:23 EST 2006


When compiling paraview 2.4.3 on Fedora Core 5 i386 using 
-DVTK_USE_SYSTEM_PNG:BOOL=ON, I get the following error:

Linking CXX shared library ../../bin/libKWWidgets.so
/usr/bin/cmake -E remove -f ../../bin/libKWWidgets.a 
../../bin/libKWWidgets.so
cd /builddir/build/BUILD/paraview-2.4.3/fedora/GUI/Widgets && g++ -fPIC 
  -shared -Wl,-soname,libKWWidgets.so -o ../../bin/libKWWidgets.so 
"CMakeFiles/KWWidgets.dir/vtkKWApplicationTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWApplicationSettingsInterfaceTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWBalloonHelpManagerTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWCanvasTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWChangeColorButtonTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWCheckButtonTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWCheckButtonWithChangeColorButtonTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWCheckButtonWithPopupFrameTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWColorPresetSelectorTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWColorTransferFunctionEditorTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWComboBoxTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWCompositeWidgetTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWCoreWidgetTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWCornerAnnotationEditorTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWDialogTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWDragAndDropTargetSetTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWEntryTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWEventMapTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWExtentTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWFrameTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWFrameWithLabelTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWFrameWithScrollbarTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWHSVColorSelectorTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWHeaderAnnotationEditorTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWHistogramTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWHistogramSetTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWIconTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWLabelTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWListBoxTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWListBoxToListBoxSelectionEditorTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWLoadSaveButtonTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWLoadSaveDialogTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWMaterialPropertyWidgetTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWMenuTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWMenuButtonTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWMessageTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWMessageDialogTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWMostRecentFilesManagerTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWMultiColumnListTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWNotebookTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWObjectTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWParameterValueFunctionEditorTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWParameterValueFunctionInterfaceTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWParameterValueHermiteFunctionEditorTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWPiecewiseFunctionEditorTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWPopupButtonTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWPopupFrameTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWPresetSelectorTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWProgressGaugeTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWPushButtonTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWPushButtonWithMenuTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWRadioButtonTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWRadioButtonSetTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWRangeTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWRegistryHelperTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWRenderWidgetTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWResourceUtilitiesTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWSaveImageDialogTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWScalarBarAnnotationTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWScalarComponentSelectionWidgetTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWScaleTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWScaleWithEntryTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWScrollbarTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWSegmentedProgressGaugeTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWSelectionFrameTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWSelectionFrameLayoutManagerTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWSeparatorTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWSimpleAnimationWidgetTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWSimpleEntryDialogTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWSpinBoxTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWSpinButtonsTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWSplashScreenTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWSplitFrameTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWSurfaceMaterialPropertyWidgetTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWTclInteractorTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWTextTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWTextPropertyEditorTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWThumbWheelTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWTkOptionsTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWTkUtilitiesTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWTkconTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWToolbarTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWToolbarSetTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWTopLevelTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWTreeTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWUserInterfaceManagerTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWUserInterfaceManagerDialogTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWUserInterfaceManagerNotebookTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWUserInterfacePanelTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWVolumeMaterialPropertyWidgetTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWVolumePropertyPresetSelectorTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWVolumePropertyWidgetTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWWidgetTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWWidgetSetTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWWidgetWithLabelTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWWidgetWithScrollbarsTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWWidgetWithSpinButtonsTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWWindowTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWWindowBaseTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWWindowLevelPresetSelectorTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWUNIXRegistryHelperTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWCheckButtonSetTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWComboBoxSetTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWEntrySetTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWLabelSetTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWLabelWithLabelSetTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWPushButtonSetTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWScaleSetTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWScaleWithEntrySetTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWCheckButtonWithLabelTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWCheckButtonSetWithLabelTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWComboBoxWithLabelTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWEntryWithLabelTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWLabelWithLabelTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWLoadSaveButtonWithLabelTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWMenuButtonWithLabelTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWMenuButtonWithSpinButtonsWithLabelTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWMessageWithLabelTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWPopupButtonWithLabelTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWPushButtonWithLabelTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWPushButtonSetWithLabelTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWRadioButtonSetWithLabelTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWScaleWithLabelTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWScaleWithEntrySetWithLabelTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWSpinBoxWithLabelTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWTextWithLabelTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWTextWithScrollbarsWithLabelTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWCanvasWithScrollbarsTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWListBoxWithScrollbarsTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWMultiColumnListWithScrollbarsTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWTextWithScrollbarsTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWTreeWithScrollbarsTcl.o" 
"CMakeFiles/KWWidgets.dir/vtkKWMenuButtonWithSpinButtonsTcl.o" 
"CMakeFiles/KWWidgets.dir/KWWidgetsInit.o" 
"CMakeFiles/KWWidgets.dir/vtkKWApplication.o" 
"CMakeFiles/KWWidgets.dir/vtkKWApplicationSettingsInterface.o" 
"CMakeFiles/KWWidgets.dir/vtkKWBalloonHelpManager.o" 
"CMakeFiles/KWWidgets.dir/vtkKWCanvas.o" 
"CMakeFiles/KWWidgets.dir/vtkKWChangeColorButton.o" 
"CMakeFiles/KWWidgets.dir/vtkKWCheckButton.o" 
"CMakeFiles/KWWidgets.dir/vtkKWCheckButtonWithChangeColorButton.o" 
"CMakeFiles/KWWidgets.dir/vtkKWCheckButtonWithPopupFrame.o" 
"CMakeFiles/KWWidgets.dir/vtkKWColorPresetSelector.o" 
"CMakeFiles/KWWidgets.dir/vtkKWColorTransferFunctionEditor.o" 
"CMakeFiles/KWWidgets.dir/vtkKWComboBox.o" 
"CMakeFiles/KWWidgets.dir/vtkKWCompositeWidget.o" 
"CMakeFiles/KWWidgets.dir/vtkKWCoreWidget.o" 
"CMakeFiles/KWWidgets.dir/vtkKWCornerAnnotationEditor.o" 
"CMakeFiles/KWWidgets.dir/vtkKWDialog.o" 
"CMakeFiles/KWWidgets.dir/vtkKWDragAndDropTargetSet.o" 
"CMakeFiles/KWWidgets.dir/vtkKWEntry.o" 
"CMakeFiles/KWWidgets.dir/vtkKWEvent.o" 
"CMakeFiles/KWWidgets.dir/vtkKWEventMap.o" 
"CMakeFiles/KWWidgets.dir/vtkKWExtent.o" 
"CMakeFiles/KWWidgets.dir/vtkKWFrame.o" 
"CMakeFiles/KWWidgets.dir/vtkKWFrameWithLabel.o" 
"CMakeFiles/KWWidgets.dir/vtkKWFrameWithScrollbar.o" 
"CMakeFiles/KWWidgets.dir/vtkKWGenericRenderWindowInteractor.o" 
"CMakeFiles/KWWidgets.dir/vtkKWHSVColorSelector.o" 
"CMakeFiles/KWWidgets.dir/vtkKWHeaderAnnotationEditor.o" 
"CMakeFiles/KWWidgets.dir/vtkKWHistogram.o" 
"CMakeFiles/KWWidgets.dir/vtkKWHistogramSet.o" 
"CMakeFiles/KWWidgets.dir/vtkKWIcon.o" 
"CMakeFiles/KWWidgets.dir/vtkKWLabel.o" 
"CMakeFiles/KWWidgets.dir/vtkKWListBox.o" 
"CMakeFiles/KWWidgets.dir/vtkKWListBoxToListBoxSelectionEditor.o" 
"CMakeFiles/KWWidgets.dir/vtkKWLoadSaveButton.o" 
"CMakeFiles/KWWidgets.dir/vtkKWLoadSaveDialog.o" 
"CMakeFiles/KWWidgets.dir/vtkKWMaterialPropertyWidget.o" 
"CMakeFiles/KWWidgets.dir/vtkKWMenu.o" 
"CMakeFiles/KWWidgets.dir/vtkKWMenuButton.o" 
"CMakeFiles/KWWidgets.dir/vtkKWMessage.o" 
"CMakeFiles/KWWidgets.dir/vtkKWMessageDialog.o" 
"CMakeFiles/KWWidgets.dir/vtkKWMostRecentFilesManager.o" 
"CMakeFiles/KWWidgets.dir/vtkKWMultiColumnList.o" 
"CMakeFiles/KWWidgets.dir/vtkKWNotebook.o" 
"CMakeFiles/KWWidgets.dir/vtkKWObject.o" 
"CMakeFiles/KWWidgets.dir/vtkKWParameterValueFunctionEditor.o" 
"CMakeFiles/KWWidgets.dir/vtkKWParameterValueFunctionInterface.o" 
"CMakeFiles/KWWidgets.dir/vtkKWParameterValueHermiteFunctionEditor.o" 
"CMakeFiles/KWWidgets.dir/vtkKWPiecewiseFunctionEditor.o" 
"CMakeFiles/KWWidgets.dir/vtkKWPopupButton.o" 
"CMakeFiles/KWWidgets.dir/vtkKWPopupFrame.o" 
"CMakeFiles/KWWidgets.dir/vtkKWPresetSelector.o" 
"CMakeFiles/KWWidgets.dir/vtkKWProgressGauge.o" 
"CMakeFiles/KWWidgets.dir/vtkKWPushButton.o" 
"CMakeFiles/KWWidgets.dir/vtkKWPushButtonWithMenu.o" 
"CMakeFiles/KWWidgets.dir/vtkKWRadioButton.o" 
"CMakeFiles/KWWidgets.dir/vtkKWRadioButtonSet.o" 
"CMakeFiles/KWWidgets.dir/vtkKWRange.o" 
"CMakeFiles/KWWidgets.dir/vtkKWRegistryHelper.o" 
"CMakeFiles/KWWidgets.dir/vtkKWRenderWidget.o" 
"CMakeFiles/KWWidgets.dir/vtkKWResourceUtilities.o" 
"CMakeFiles/KWWidgets.dir/vtkKWSaveImageDialog.o" 
"CMakeFiles/KWWidgets.dir/vtkKWScalarBarAnnotation.o" 
"CMakeFiles/KWWidgets.dir/vtkKWScalarComponentSelectionWidget.o" 
"CMakeFiles/KWWidgets.dir/vtkKWScale.o" 
"CMakeFiles/KWWidgets.dir/vtkKWScaleWithEntry.o" 
"CMakeFiles/KWWidgets.dir/vtkKWScrollbar.o" 
"CMakeFiles/KWWidgets.dir/vtkKWSegmentedProgressGauge.o" 
"CMakeFiles/KWWidgets.dir/vtkKWSelectionFrame.o" 
"CMakeFiles/KWWidgets.dir/vtkKWSelectionFrameLayoutManager.o" 
"CMakeFiles/KWWidgets.dir/vtkKWSeparator.o" 
"CMakeFiles/KWWidgets.dir/vtkKWSimpleAnimationWidget.o" 
"CMakeFiles/KWWidgets.dir/vtkKWSimpleEntryDialog.o" 
"CMakeFiles/KWWidgets.dir/vtkKWSpinBox.o" 
"CMakeFiles/KWWidgets.dir/vtkKWSpinButtons.o" 
"CMakeFiles/KWWidgets.dir/vtkKWSplashScreen.o" 
"CMakeFiles/KWWidgets.dir/vtkKWSplitFrame.o" 
"CMakeFiles/KWWidgets.dir/vtkKWSurfaceMaterialPropertyWidget.o" 
"CMakeFiles/KWWidgets.dir/vtkKWTclInteractor.o" 
"CMakeFiles/KWWidgets.dir/vtkKWText.o" 
"CMakeFiles/KWWidgets.dir/vtkKWTextPropertyEditor.o" 
"CMakeFiles/KWWidgets.dir/vtkKWThumbWheel.o" 
"CMakeFiles/KWWidgets.dir/vtkKWTkOptions.o" 
"CMakeFiles/KWWidgets.dir/vtkKWTkUtilities.o" 
"CMakeFiles/KWWidgets.dir/vtkKWTkcon.o" 
"CMakeFiles/KWWidgets.dir/vtkKWToolbar.o" 
"CMakeFiles/KWWidgets.dir/vtkKWToolbarSet.o" 
"CMakeFiles/KWWidgets.dir/vtkKWTopLevel.o" 
"CMakeFiles/KWWidgets.dir/vtkKWTree.o" 
"CMakeFiles/KWWidgets.dir/vtkKWUserInterfaceManager.o" 
"CMakeFiles/KWWidgets.dir/vtkKWUserInterfaceManagerDialog.o" 
"CMakeFiles/KWWidgets.dir/vtkKWUserInterfaceManagerNotebook.o" 
"CMakeFiles/KWWidgets.dir/vtkKWUserInterfacePanel.o" 
"CMakeFiles/KWWidgets.dir/vtkKWVolumeMaterialPropertyWidget.o" 
"CMakeFiles/KWWidgets.dir/vtkKWVolumePropertyPresetSelector.o" 
"CMakeFiles/KWWidgets.dir/vtkKWVolumePropertyWidget.o" 
"CMakeFiles/KWWidgets.dir/vtkKWWidget.o" 
"CMakeFiles/KWWidgets.dir/vtkKWWidgetSet.o" 
"CMakeFiles/KWWidgets.dir/vtkKWWidgetWithLabel.o" 
"CMakeFiles/KWWidgets.dir/vtkKWWidgetWithScrollbars.o" 
"CMakeFiles/KWWidgets.dir/vtkKWWidgetWithSpinButtons.o" 
"CMakeFiles/KWWidgets.dir/vtkKWWindow.o" 
"CMakeFiles/KWWidgets.dir/vtkKWWindowBase.o" 
"CMakeFiles/KWWidgets.dir/vtkKWWindowLevelPresetSelector.o" 
"CMakeFiles/KWWidgets.dir/vtkKWWidgetsInitializeCommand.o" 
"CMakeFiles/KWWidgets.dir/vtkKWBWidgetsInit.o" 
"CMakeFiles/KWWidgets.dir/vtkKWTablelistInit.o" 
"CMakeFiles/KWWidgets.dir/vtkKWTkconInit.o" 
"CMakeFiles/KWWidgets.dir/vtkKWUNIXRegistryHelper.o" 
"CMakeFiles/KWWidgets.dir/vtkKWCheckButtonSet.o" 
"CMakeFiles/KWWidgets.dir/vtkKWComboBoxSet.o" 
"CMakeFiles/KWWidgets.dir/vtkKWEntrySet.o" 
"CMakeFiles/KWWidgets.dir/vtkKWLabelSet.o" 
"CMakeFiles/KWWidgets.dir/vtkKWLabelWithLabelSet.o" 
"CMakeFiles/KWWidgets.dir/vtkKWPushButtonSet.o" 
"CMakeFiles/KWWidgets.dir/vtkKWScaleSet.o" 
"CMakeFiles/KWWidgets.dir/vtkKWScaleWithEntrySet.o" 
"CMakeFiles/KWWidgets.dir/vtkKWCheckButtonWithLabel.o" 
"CMakeFiles/KWWidgets.dir/vtkKWCheckButtonSetWithLabel.o" 
"CMakeFiles/KWWidgets.dir/vtkKWComboBoxWithLabel.o" 
"CMakeFiles/KWWidgets.dir/vtkKWEntryWithLabel.o" 
"CMakeFiles/KWWidgets.dir/vtkKWLabelWithLabel.o" 
"CMakeFiles/KWWidgets.dir/vtkKWLoadSaveButtonWithLabel.o" 
"CMakeFiles/KWWidgets.dir/vtkKWMenuButtonWithLabel.o" 
"CMakeFiles/KWWidgets.dir/vtkKWMenuButtonWithSpinButtonsWithLabel.o" 
"CMakeFiles/KWWidgets.dir/vtkKWMessageWithLabel.o" 
"CMakeFiles/KWWidgets.dir/vtkKWPopupButtonWithLabel.o" 
"CMakeFiles/KWWidgets.dir/vtkKWPushButtonWithLabel.o" 
"CMakeFiles/KWWidgets.dir/vtkKWPushButtonSetWithLabel.o" 
"CMakeFiles/KWWidgets.dir/vtkKWRadioButtonSetWithLabel.o" 
"CMakeFiles/KWWidgets.dir/vtkKWScaleWithLabel.o" 
"CMakeFiles/KWWidgets.dir/vtkKWScaleWithEntrySetWithLabel.o" 
"CMakeFiles/KWWidgets.dir/vtkKWSpinBoxWithLabel.o" 
"CMakeFiles/KWWidgets.dir/vtkKWTextWithLabel.o" 
"CMakeFiles/KWWidgets.dir/vtkKWTextWithScrollbarsWithLabel.o" 
"CMakeFiles/KWWidgets.dir/vtkKWCanvasWithScrollbars.o" 
"CMakeFiles/KWWidgets.dir/vtkKWListBoxWithScrollbars.o" 
"CMakeFiles/KWWidgets.dir/vtkKWMultiColumnListWithScrollbars.o" 
"CMakeFiles/KWWidgets.dir/vtkKWTextWithScrollbars.o" 
"CMakeFiles/KWWidgets.dir/vtkKWTreeWithScrollbars.o" 
"CMakeFiles/KWWidgets.dir/vtkKWMenuButtonWithSpinButtons.o" 
-L/builddir/build/BUILD/paraview-2.4.3/fedora/bin -L/usr/lib64 
-L/usr/X11R6/lib64 -lvtkCommonTCL -lvtkRendering -lvtkVolumeRendering 
-lvtkHybrid -lvtkWidgets -lvtkParallel -lvtkpng -lvtksys -ltcl -ltk 
-lvtkHybrid -lvtkRendering -lvtkGraphics -lvtkImaging -lvtkftgl 
-lfreetype -lGL -lXt -lSM -lICE -lSM -lICE -lSM -lICE -lX11 -lXext -lX11 
-lXext -lX11 -lXext -lvtkIO -lvtkFiltering -lvtkCommon -lpthread -ldl 
-lm -lvtkDICOMParser -lpng -lz -lz -ljpeg -ltiff -lexpat -lvtksys 
-lvtkMPEG2Encode -lvtkexoIIc -lvtkNetCDF
/usr/bin/ld: cannot find -lvtkpng
collect2: ld returned 1 exit status
make[2]: *** [bin/libKWWidgets.so] Error 1

Looks like vtkpng doesn't get built when using the system version, but 
doesn't get removed from the dependencies for libKWWidgets.

Perhaps paraview-2.4.3/GUI/Widgets/CMakeLists.txt needs fixing?

TARGET_LINK_LIBRARIES (KWWidgets vtkpng)

to something link (I'm very new to cmake):

IF(VTK_USE_SYSTEM_PNG)
   TARGET_LINK_LIBRARIES (KWWidgets vtkpng)
ELSE(VTK_USE_SYSTEM_PNG)
   TARGET_LINK_LIBRARIES (KWWidgets png)
ENDIF(VTK_USE_SYSTEM_PNG)

Although it looks like it is already picking up -lpng.

-- 
Orion Poplawski
System Administrator                   303-415-9701 x222
Colorado Research Associates/NWRA      FAX: 303-415-9702
3380 Mitchell Lane, Boulder CO 80301   http://www.co-ra.com


More information about the ParaView mailing list