[vtkusers] VTK5.10 building problem
Jothybasu Selvaraj
jothybasu at gmail.com
Tue Apr 3 06:42:58 EDT 2012
Hi all,
I am trying to build vtk with mingw 4.4 with Qt support.
I have set USE_QT and GUI_SUPPORT flags ON in cmake.
But the build fails while trying to build QVTK.
This is the error I get (something related to vtkSQLDatabase).
Any hints why this is happening?
[100%] Building CXX object
GUISupport/Qt/CMakeFiles/QVTK.dir/moc_QVTKWidget2.cxx
.obj
Linking CXX shared library ..\..\bin\libQVTK.dll
Creating library file: ..\..\bin\libQVTK.dll.a
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLDatabase.cxx.obj):vtkQtSQLDatabase.cxx:(.t
ext+0x60): undefined reference to
`_imp___ZN14vtkSQLDatabase29RegisterCreateFrom
URLCallbackEPFPS_PKcE'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLDatabase.cxx.obj):vtkQtSQLDatabase.cxx:(.t
ext+0x3d2): undefined reference to
`_imp___ZN11vtkSQLQuery11SetDatabaseEP14vtkSQ
LDatabase'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLDatabase.cxx.obj):vtkQtSQLDatabase.cxx:(.t
ext+0x415): undefined reference to `_imp___ZN14vtkSQLDatabaseC2Ev'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLDatabase.cxx.obj):vtkQtSQLDatabase.cxx:(.t
ext+0x474): undefined reference to `_imp___ZN14vtkSQLDatabaseD2Ev'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLDatabase.cxx.obj):vtkQtSQLDatabase.cxx:(.t
ext+0x4a1): undefined reference to `_imp___ZN14vtkSQLDatabaseC2Ev'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLDatabase.cxx.obj):vtkQtSQLDatabase.cxx:(.t
ext+0x500): undefined reference to `_imp___ZN14vtkSQLDatabaseD2Ev'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLDatabase.cxx.obj):vtkQtSQLDatabase.cxx:(.t
ext+0x1231): undefined reference to `_imp___ZN14vtkSQLDatabaseD2Ev'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLDatabase.cxx.obj):vtkQtSQLDatabase.cxx:(.t
ext+0x125e): undefined reference to `_imp___ZN14vtkSQLDatabaseD2Ev'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLDatabase.cxx.obj):vtkQtSQLDatabase.cxx:(.t
ext+0x133c): undefined reference to `_imp___ZN14vtkSQLDatabaseD2Ev'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLDatabase.cxx.obj):vtkQtSQLDatabase.cxx:(.t
ext+0x1361): undefined reference to `_imp___ZN14vtkSQLDatabaseD2Ev'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLDatabase.cxx.obj):vtkQtSQLDatabase.cxx:(.t
ext+0x1440): more undefined references to `_imp___ZN14vtkSQLDatabaseD2Ev'
follow
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLDatabase.cxx.obj):vtkQtSQLDatabase.cxx:(.t
ext+0x150f): undefined reference to
`_imp___ZN14vtkSQLDatabase9PrintSelfERSo9vtk
Indent'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLDatabase.cxx.obj):vtkQtSQLDatabase.cxx:(.r
data$_ZTV16vtkQtSQLDatabase[vtable for vtkQtSQLDatabase]+0x88): undefined
refere
nce to `vtkSQLDatabase::GetColumnSpecification(vtkSQLDatabaseSchema*, int,
int)'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLDatabase.cxx.obj):vtkQtSQLDatabase.cxx:(.r
data$_ZTV16vtkQtSQLDatabase[vtable for vtkQtSQLDatabase]+0x8c): undefined
refere
nce to `vtkSQLDatabase::GetIndexSpecification(vtkSQLDatabaseSchema*, int,
int, b
ool&)'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLDatabase.cxx.obj):vtkQtSQLDatabase.cxx:(.r
data$_ZTV16vtkQtSQLDatabase[vtable for vtkQtSQLDatabase]+0x90): undefined
refere
nce to `vtkSQLDatabase::GetTriggerSpecification(vtkSQLDatabaseSchema*, int,
int)
'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLDatabase.cxx.obj):vtkQtSQLDatabase.cxx:(.r
data$_ZTV16vtkQtSQLDatabase[vtable for vtkQtSQLDatabase]+0x94): undefined
refere
nce to `vtkSQLDatabase::EffectSchema(vtkSQLDatabaseSchema*, bool)'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.text+0x
729): undefined reference to `_imp___ZN11vtkSQLQueryC2Ev'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.text+0x
80a): undefined reference to `_imp___ZN11vtkSQLQueryD2Ev'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.text+0x
94f): undefined reference to
`_imp___ZN11vtkSQLQuery9PrintSelfERSo9vtkIndent'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.text+0x
a9b): undefined reference to `_imp___ZN11vtkSQLQueryD2Ev'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.text+0x
af0): undefined reference to `_imp___ZN11vtkSQLQueryD2Ev'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.text+0x
b31): undefined reference to `_imp___ZN11vtkSQLQueryC2Ev'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.text+0x
c12): undefined reference to `_imp___ZN11vtkSQLQueryD2Ev'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.text+0x
d83): undefined reference to `_imp___ZN11vtkSQLQueryD2Ev'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.text+0x
de8): undefined reference to `_imp___ZN11vtkSQLQueryD2Ev'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.text+0x
eab): undefined reference to `_imp___ZN11vtkSQLQueryD2Ev'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.text+0x
f00): undefined reference to `_imp___ZN11vtkSQLQueryD2Ev'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.rdata$_
ZTV13vtkQtSQLQuery[vtable for vtkQtSQLQuery]+0x8c): undefined reference to
`vtkS
QLQuery::SetQuery(char const*)'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.rdata$_
ZTV13vtkQtSQLQuery[vtable for vtkQtSQLQuery]+0x90): undefined reference to
`vtkS
QLQuery::GetQuery()'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.rdata$_
ZTV13vtkQtSQLQuery[vtable for vtkQtSQLQuery]+0xa4): undefined reference to
`vtkS
QLQuery::BindParameter(int, unsigned char)'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.rdata$_
ZTV13vtkQtSQLQuery[vtable for vtkQtSQLQuery]+0xa8): undefined reference to
`vtkS
QLQuery::BindParameter(int, unsigned short)'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.rdata$_
ZTV13vtkQtSQLQuery[vtable for vtkQtSQLQuery]+0xac): undefined reference to
`vtkS
QLQuery::BindParameter(int, unsigned int)'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.rdata$_
ZTV13vtkQtSQLQuery[vtable for vtkQtSQLQuery]+0xb0): undefined reference to
`vtkS
QLQuery::BindParameter(int, unsigned long)'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.rdata$_
ZTV13vtkQtSQLQuery[vtable for vtkQtSQLQuery]+0xb4): undefined reference to
`vtkS
QLQuery::BindParameter(int, signed char)'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.rdata$_
ZTV13vtkQtSQLQuery[vtable for vtkQtSQLQuery]+0xb8): undefined reference to
`vtkS
QLQuery::BindParameter(int, short)'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.rdata$_
ZTV13vtkQtSQLQuery[vtable for vtkQtSQLQuery]+0xbc): undefined reference to
`vtkS
QLQuery::BindParameter(int, int)'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.rdata$_
ZTV13vtkQtSQLQuery[vtable for vtkQtSQLQuery]+0xc0): undefined reference to
`vtkS
QLQuery::BindParameter(int, long)'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.rdata$_
ZTV13vtkQtSQLQuery[vtable for vtkQtSQLQuery]+0xc4): undefined reference to
`vtkS
QLQuery::BindParameter(int, unsigned long long)'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.rdata$_
ZTV13vtkQtSQLQuery[vtable for vtkQtSQLQuery]+0xc8): undefined reference to
`vtkS
QLQuery::BindParameter(int, long long)'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.rdata$_
ZTV13vtkQtSQLQuery[vtable for vtkQtSQLQuery]+0xcc): undefined reference to
`vtkS
QLQuery::BindParameter(int, float)'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.rdata$_
ZTV13vtkQtSQLQuery[vtable for vtkQtSQLQuery]+0xd0): undefined reference to
`vtkS
QLQuery::BindParameter(int, double)'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.rdata$_
ZTV13vtkQtSQLQuery[vtable for vtkQtSQLQuery]+0xd4): undefined reference to
`vtkS
QLQuery::BindParameter(int, char const*)'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.rdata$_
ZTV13vtkQtSQLQuery[vtable for vtkQtSQLQuery]+0xd8): undefined reference to
`vtkS
QLQuery::BindParameter(int, char const*, unsigned int)'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.rdata$_
ZTV13vtkQtSQLQuery[vtable for vtkQtSQLQuery]+0xdc): undefined reference to
`vtkS
QLQuery::BindParameter(int, vtkStdString const&)'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.rdata$_
ZTV13vtkQtSQLQuery[vtable for vtkQtSQLQuery]+0xe0): undefined reference to
`vtkS
QLQuery::BindParameter(int, vtkVariant)'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.rdata$_
ZTV13vtkQtSQLQuery[vtable for vtkQtSQLQuery]+0xe4): undefined reference to
`vtkS
QLQuery::BindParameter(int, void const*, unsigned int)'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.rdata$_
ZTV13vtkQtSQLQuery[vtable for vtkQtSQLQuery]+0xe8): undefined reference to
`vtkS
QLQuery::ClearParameterBindings()'
CMakeFiles\QVTK.dir/objects.a(vtkQtSQLQuery.cxx.obj):vtkQtSQLQuery.cxx:(.rdata$_
ZTV13vtkQtSQLQuery[vtable for vtkQtSQLQuery]+0xec): undefined reference to
`vtkS
QLQuery::EscapeString(vtkStdString, bool)'
collect2: ld returned 1 exit status
mingw32-make[2]: *** [bin/libQVTK.dll] Error 1
mingw32-make[1]: *** [GUISupport/Qt/CMakeFiles/QVTK.dir/all] Error 2
mingw32-make: *** [all] Error 2
Thanks a lot!
--
Jothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120403/0c209fe1/attachment.htm>
More information about the vtkusers
mailing list