MantisBT - VTK
View Issue Details
0011978VTK(No Category)public2011-03-16 16:302016-08-12 09:55
Orion Poplawski 
David Partyka 
normalminorhave not tried
closedmoved 
LinuxFedora15
 
 
0011978: Link failure with VTK_USE_ODBC=ON
I'm getting:

Linking CXX executable ../../../../bin/QVTKCxxTests
cd /builddir/build/BUILD/VTK/build/GUISupport/Qt/Testing/Cxx && /usr/bin/cmake -E cmake_link_script CMakeFiles/QVTKCxxTests.dir/link.txt --verbose=1
/usr/lib64/ccache/c++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_UNICODE -Wno-deprecated CMakeFiles/QVTKCxxTests.dir/QVTKCxxTests.cxx.o CMakeFiles/QVTKCxxTests.dir/TestQtInitialization.cxx.o CMakeFiles/QVTKCxxTests.dir/TestQtSQLDatabase.cxx.o CMakeFiles/QVTKCxxTests.dir/TestQtTableModelAdapter.cxx.o CMakeFiles/QVTKCxxTests.dir/TestQtTreeModelAdapter.cxx.o CMakeFiles/QVTKCxxTests.dir/TestVtkQtTableView.cxx.o CMakeFiles/QVTKCxxTests.dir/QTestApp.cxx.o -o ../../../../bin/QVTKCxxTests -rdynamic -L/usr/lib/jvm/java/jre/lib/amd64/xawt -L/usr/lib/jvm/java/jre/lib/amd64/server ../../../../bin/libQVTK.so.5.6.1 ../../../../bin/libvtkQtChart.so.5.6.1 -lQtGui -lQtSql -lQtNetwork -lQtCore ../../../../bin/libvtkViews.so.5.6.1 ../../../../bin/libvtkInfovis.so.5.6.1 ../../../../bin/libvtkWidgets.so.5.6.1 ../../../../bin/libvtkHybrid.so.5.6.1 ../../../../bin/libvtkParallel.so.5.6.1 ../../../../bin/libvtkRendering.so.5.6.1 ../../../../bin/libvtkGraphics.so.5.6.1 ../../../../bin/libvtkImaging.so.5.6.1 ../../../../bin/libvtkIO.so.5.6.1 ../../../../bin/libvtkFiltering.so.5.6.1 ../../../../bin/libvtkCommon.so.5.6.1 -lm ../../../../bin/libvtksys.so.5.6.1 -ldl -Wl,-rpath,/usr/lib/jvm/java/jre/lib/amd64/xawt:/usr/lib/jvm/java/jre/lib/amd64/server:/builddir/build/BUILD/VTK/build/bin -Wl,-rpath-link,/builddir/build/BUILD/VTK/build/bin
../../../../bin/libvtkIO.so.5.6.1: undefined reference to `vtkODBCDatabase::New()'
collect2: ld returned 1 exit status
No tags attached.
Issue History
2011-03-16 16:30Orion PoplawskiNew Issue
2011-03-16 16:33David PartykaAssigned To => David Partyka
2011-03-16 16:33David PartykaStatusbacklog => tabled
2011-06-16 13:11Zack GalbreathCategoryCMake => (No Category)
2013-07-22 20:33Dave DeMarleStatusbacklog => expired
2013-07-22 20:33Dave DeMarleNote Added: 0031288
2013-07-26 18:40Orion PoplawskiNote Added: 0031349
2016-08-12 09:55Kitware RobotNote Added: 0037225
2016-08-12 09:55Kitware RobotStatusexpired => closed
2016-08-12 09:55Kitware RobotResolutionopen => moved

Notes
(0031288)
Dave DeMarle   
2013-07-22 20:33   
Dave P no longer works on the project. If these old issues still exist in 6.0.0, reopen them and assign to Dave DeMarle
(0031349)
Orion Poplawski   
2013-07-26 18:40   
Well, looks like ODBC support is just totally disabled at the moment. You have to specify -DModule_vtkIOODBC:BOOL=ON to activate the module. But then it fails to configure ODBC because VTK_USE_ODBC has been moved to CMake/OptionODBC.cmake which does not appear to be included, so FindODBC is not called.
(0037225)
Kitware Robot   
2016-08-12 09:55   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.