[vtk-developers] [VTK 0013597]: Does not link with CMAKE_BUILD_TYPE=Debug, VTK_USE_SYSTEM_HDF5=ON

Mantis Bug Tracker mantis at public.kitware.com
Thu Nov 1 11:05:37 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://vtk.org/Bug/view.php?id=13597 
====================================================================== 
Reported By:                Matthew McCormick
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   13597
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     backlog
Project:                    TBD 
Type:                       incorrect functionality 
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2012-11-01 11:05 EDT
Last Modified:              2012-11-01 11:05 EDT
====================================================================== 
Summary:                    Does not link with CMAKE_BUILD_TYPE=Debug,
VTK_USE_SYSTEM_HDF5=ON
Description: 
On Linux, using the system install hdf5:

[11/327] Linking CXX executable bin/vtkIOGeometryCxxTests
FAILED: : && /home/matt/bin/c++   -g  -Wl,--fatal-warnings -Wl,--no-undefined
-lc -Wl,--fatal-warnings -Wl,--no-undefined -lc
IO/Geometry/Testing/Cxx/CMakeFiles/vtkIOGeometryCxxTests.dir/vtkIOGeometryCxxTests.cxx.o
IO/Geometry/Testing/Cxx/CMakeFiles/vtkIOGeometryCxxTests.dir/TestProStarReader.cxx.o
IO/Geometry/Testing/Cxx/CMakeFiles/vtkIOGeometryCxxTests.dir/TestSimplePointsReaderWriter.cxx.o
IO/Geometry/Testing/Cxx/CMakeFiles/vtkIOGeometryCxxTests.dir/TestTecplotReader.cxx.o
IO/Geometry/Testing/Cxx/CMakeFiles/vtkIOGeometryCxxTests.dir/TestAMRReadWrite.cxx.o
 -o bin/vtkIOGeometryCxxTests  -rdynamic lib/libvtkFiltersGeometry-6.0.so.1
lib/libvtkFiltersCore-6.0.so.1 lib/libvtkCommonExecutionModel-6.0.so.1
lib/libvtkCommonDataModel-6.0.so.1 lib/libvtkCommonMath-6.0.so.1
lib/libvtkCommonCore-6.0.so.1 lib/libvtksys-6.0.so.1
lib/libvtkCommonMisc-6.0.so.1 lib/libvtkCommonSystem-6.0.so.1
lib/libvtkCommonTransforms-6.0.so.1 lib/libvtkIOAMR-6.0.so.1
lib/libvtkFiltersAMR-6.0.so.1 lib/libvtkFiltersGeneral-6.0.so.1
lib/libvtkCommonComputationalGeometry-6.0.so.1 lib/libvtkParallelCore-6.0.so.1
lib/libvtkIOLegacy-6.0.so.1 lib/libvtkIOCore-6.0.so.1 lib/libvtkzlib-6.0.so.1
-lz -lrt -lm -lhdf5_hl -lhdf5 lib/libvtkRenderingOpenGL-6.0.so.1
lib/libvtkImagingHybrid-6.0.so.1 lib/libvtkIOImage-6.0.so.1
lib/libvtkDICOMParser-6.0.so.1 lib/libvtkmetaio-6.0.so.1 lib/libvtkjpeg-6.0.so.1
lib/libvtkpng-6.0.so.1 lib/libvtktiff-6.0.so.1 lib/libvtkImagingCore-6.0.so.1
lib/libvtkRenderingCore-6.0.so.1 lib/libvtkFiltersExtraction-6.0.so.1
lib/libvtkFiltersSources-6.0.so.1 lib/libvtkIOXMLParser-6.0.so.1
lib/libvtkexpat-6.0.so.1 lib/libvtkTestingRendering-6.0.so.1 -lGLU -lGL -lSM
-lICE -lX11 -lXext -lSM -lICE -lX11 -lXext -lXt lib/libvtkImagingCore-6.0.so.1
lib/libvtkRenderingCore-6.0.so.1 lib/libvtkFiltersGeometry-6.0.so.1
lib/libvtkIOImage-6.0.so.1 lib/libvtkDICOMParser-6.0.so.1
lib/libvtkmetaio-6.0.so.1 lib/libvtkpng-6.0.so.1 lib/libvtktiff-6.0.so.1
lib/libvtkjpeg-6.0.so.1 -lm lib/libvtkFiltersExtraction-6.0.so.1
lib/libvtkFiltersSources-6.0.so.1 lib/libvtkFiltersGeneral-6.0.so.1
lib/libvtkFiltersCore-6.0.so.1 lib/libvtkCommonComputationalGeometry-6.0.so.1
lib/libvtkIOXMLParser-6.0.so.1 lib/libvtkIOCore-6.0.so.1
lib/libvtkCommonExecutionModel-6.0.so.1 lib/libvtkCommonDataModel-6.0.so.1
lib/libvtkCommonSystem-6.0.so.1 lib/libvtkCommonTransforms-6.0.so.1
lib/libvtkCommonMisc-6.0.so.1 lib/libvtkCommonMath-6.0.so.1
lib/libvtkCommonCore-6.0.so.1 lib/libvtksys-6.0.so.1 -ldl
lib/libvtkzlib-6.0.so.1 lib/libvtkexpat-6.0.so.1
-Wl,-rpath,/home/matt/apps/vtk_gcc_db/lib && :
IO/Geometry/Testing/Cxx/CMakeFiles/vtkIOGeometryCxxTests.dir/TestProStarReader.cxx.o:
In function `vtkSmartPointer<vtkProStarReader>::New()':
/home/matt/apps/vtk_gcc_db/../../progs/VTK/Common/Core/vtkSmartPointer.h:113:
undefined reference to `vtkProStarReader::New()'
IO/Geometry/Testing/Cxx/CMakeFiles/vtkIOGeometryCxxTests.dir/TestTecplotReader.cxx.o:
In function `TestTecplotReader(int, char**)':
/home/matt/apps/vtk_gcc_db/../../progs/VTK/IO/Geometry/Testing/Cxx/TestTecplotReader.cxx:55:
undefined reference to `vtkTecplotReader::SetFileName(char const*)'
/home/matt/apps/vtk_gcc_db/../../progs/VTK/IO/Geometry/Testing/Cxx/TestTecplotReader.cxx:56:
undefined reference to `vtkTecplotReader::SetDataArrayStatus(char const*, int)'
/home/matt/apps/vtk_gcc_db/../../progs/VTK/IO/Geometry/Testing/Cxx/TestTecplotReader.cxx:84:
undefined reference to `vtkTecplotReader::SetFileName(char const*)'
/home/matt/apps/vtk_gcc_db/../../progs/VTK/IO/Geometry/Testing/Cxx/TestTecplotReader.cxx:85:
undefined reference to `vtkTecplotReader::SetDataArrayStatus(char const*, int)'
/home/matt/apps/vtk_gcc_db/../../progs/VTK/IO/Geometry/Testing/Cxx/TestTecplotReader.cxx:113:
undefined reference to `vtkTecplotReader::SetFileName(char const*)'
/home/matt/apps/vtk_gcc_db/../../progs/VTK/IO/Geometry/Testing/Cxx/TestTecplotReader.cxx:114:
undefined reference to `vtkTecplotReader::SetDataArrayStatus(char const*, int)'
IO/Geometry/Testing/Cxx/CMakeFiles/vtkIOGeometryCxxTests.dir/TestTecplotReader.cxx.o:
In function `vtkSmartPointer<vtkTecplotReader>::New()':
/home/matt/apps/vtk_gcc_db/../../progs/VTK/Common/Core/vtkSmartPointer.h:113:
undefined reference to `vtkTecplotReader::New()'
collect2: ld returned 1 exit status

Compilation completes with CMAKE_BUILD_TYPE=RelWithDebInfo
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-11-01 11:05 Matthew McCormickNew Issue                                    
======================================================================




More information about the vtk-developers mailing list