[vtkusers] Problem compiling with VS 2008 x64
Jonathan Morra
jonmorra at gmail.com
Mon Feb 27 16:15:45 EST 2012
When building VTK with VS 2008 x64 with Qt 4.8.0 (also built with the same
compiler), I get the following linker errors, any ideas?
1>------ Build started: Project: QVTK, Configuration: RelWithDebInfo x64
------
1>Linking...
1> Creating library C:\MVS\VTK\bin\x64\bin\RelWithDebInfo\QVTK.lib and
object C:\MVS\VTK\bin\x64\bin\RelWithDebInfo\QVTK.exp
1>vtkQtSQLDatabase.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: static int __cdecl
vtkSQLDatabase::IsTypeOf(char const *)" (__imp_?IsTypeOf at vtkSQLDatabase
@@SAHPEBD at Z) referenced in function "public: static int __cdecl
vtkQtSQLDatabase::IsTypeOf(char const *)" (?IsTypeOf at vtkQtSQLDatabase
@@SAHPEBD at Z)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static int __cdecl
vtkSQLDatabase::IsTypeOf(char const *)" (__imp_?IsTypeOf at vtkSQLDatabase
@@SAHPEBD at Z)
1>vtkQtSQLDatabase.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: static int __cdecl
vtkSQLQuery::IsTypeOf(char const *)" (__imp_?IsTypeOf at vtkSQLQuery@@SAHPEBD at Z)
referenced in function "public: static int __cdecl
vtkQtSQLQuery::IsTypeOf(char const *)" (?IsTypeOf at vtkQtSQLQuery@@SAHPEBD at Z)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static int __cdecl
vtkSQLQuery::IsTypeOf(char const *)" (__imp_?IsTypeOf at vtkSQLQuery@@SAHPEBD at Z
)
1>vtkQtSQLDatabase.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) protected: virtual __cdecl
vtkSQLDatabase::~vtkSQLDatabase(void)" (__imp_??1vtkSQLDatabase@@MEAA at XZ)
referenced in function "int `protected: __cdecl
vtkQtSQLDatabase::vtkQtSQLDatabase(void)'::`1'::dtor$0" (?dtor$0@
?0???0vtkQtSQLDatabase@@IEAA at XZ@4HA)
1>vtkQtSQLDatabase.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) protected: __cdecl
vtkSQLDatabase::vtkSQLDatabase(void)" (__imp_??0vtkSQLDatabase@@IEAA at XZ)
referenced in function "protected: __cdecl
vtkQtSQLDatabase::vtkQtSQLDatabase(void)" (??0vtkQtSQLDatabase@@IEAA at XZ)
1>vtkQtSQLDatabase.obj : error LNK2001: unresolved external symbol "public:
virtual class vtkStdString __cdecl vtkSQLDatabase::GetTablePreamble(bool)"
(?GetTablePreamble at vtkSQLDatabase@@UEAA?AVvtkStdString@@_N at Z)
1>vtkQtSQLDatabase.obj : error LNK2001: unresolved external symbol "public:
virtual class vtkStdString __cdecl
vtkSQLDatabase::GetColumnSpecification(class vtkSQLDatabaseSchema
*,int,int)" (?GetColumnSpecification at vtkSQLDatabase@@UEAA?AVvtkStdString@
@PEAVvtkSQLDatabaseSchema@@HH at Z)
1>vtkQtSQLDatabase.obj : error LNK2001: unresolved external symbol "public:
virtual class vtkStdString __cdecl
vtkSQLDatabase::GetIndexSpecification(class vtkSQLDatabaseSchema
*,int,int,bool &)" (?GetIndexSpecification at vtkSQLDatabase
@@UEAA?AVvtkStdString@@PEAVvtkSQLDatabaseSchema@@HHAEA_N at Z)
1>vtkQtSQLDatabase.obj : error LNK2001: unresolved external symbol "public:
virtual class vtkStdString __cdecl
vtkSQLDatabase::GetTriggerSpecification(class vtkSQLDatabaseSchema
*,int,int)" (?GetTriggerSpecification at vtkSQLDatabase@@UEAA?AVvtkStdString@
@PEAVvtkSQLDatabaseSchema@@HH at Z)
1>vtkQtSQLDatabase.obj : error LNK2001: unresolved external symbol "public:
virtual bool __cdecl vtkSQLDatabase::EffectSchema(class
vtkSQLDatabaseSchema *,bool)" (?EffectSchema at vtkSQLDatabase
@@UEAA_NPEAVvtkSQLDatabaseSchema@@_N at Z)
1>vtkQtSQLDatabase.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) protected: void __cdecl
vtkSQLQuery::SetDatabase(class vtkSQLDatabase *)"
(__imp_?SetDatabase at vtkSQLQuery@@IEAAXPEAVvtkSQLDatabase@@@Z) referenced in
function "public: virtual class vtkSQLQuery * __cdecl
vtkQtSQLDatabase::GetQueryInstance(void)"
(?GetQueryInstance at vtkQtSQLDatabase@@UEAAPEAVvtkSQLQuery@@XZ)
1>vtkQtSQLDatabase.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: static void __cdecl
vtkSQLDatabase::RegisterCreateFromURLCallback(class vtkSQLDatabase *
(__cdecl*)(char const *))"
(__imp_?RegisterCreateFromURLCallback at vtkSQLDatabase@@SAXP6APEAV1 at PEBD@Z at Z)
referenced in function "public: __cdecl
vtkQtSQLDatabaseInitializer::vtkQtSQLDatabaseInitializer(void)"
(??0vtkQtSQLDatabaseInitializer@@QEAA at XZ)
1>vtkQtSQLDatabase.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: virtual void __cdecl
vtkSQLDatabase::PrintSelf(class std::basic_ostream<char,struct
std::char_traits<char> > &,class vtkIndent)"
(__imp_?PrintSelf at vtkSQLDatabase@@UEAAXAEAV?$basic_ostream at DU?$char_traits at D
@std@@@std@@VvtkIndent@@@Z) referenced in function "public: virtual void
__cdecl vtkQtSQLDatabase::PrintSelf(class std::basic_ostream<char,struct
std::char_traits<char> > &,class vtkIndent)" (?PrintSelf at vtkQtSQLDatabase
@@UEAAXAEAV?$basic_ostream at DU?$char_traits at D@std@@@std@@VvtkIndent@@@Z)
1>vtkQtSQLQuery.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: virtual void __cdecl
vtkSQLQuery::PrintSelf(class std::basic_ostream<char,struct
std::char_traits<char> > &,class vtkIndent)" (__imp_?PrintSelf at vtkSQLQuery
@@UEAAXAEAV?$basic_ostream at DU?$char_traits at D@std@@@std@@VvtkIndent@@@Z)
referenced in function "public: virtual void __cdecl
vtkQtSQLQuery::PrintSelf(class std::basic_ostream<char,struct
std::char_traits<char> > &,class vtkIndent)" (?PrintSelf at vtkQtSQLQuery
@@UEAAXAEAV?$basic_ostream at DU?$char_traits at D@std@@@std@@VvtkIndent@@@Z)
1>vtkQtSQLQuery.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) protected: virtual __cdecl
vtkSQLQuery::~vtkSQLQuery(void)" (__imp_??1vtkSQLQuery@@MEAA at XZ) referenced
in function "int `protected: __cdecl
vtkQtSQLQuery::vtkQtSQLQuery(void)'::`1'::dtor$0" (?dtor$0@
?0???0vtkQtSQLQuery@@IEAA at XZ@4HA)
1>vtkQtSQLQuery.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) protected: __cdecl vtkSQLQuery::vtkSQLQuery(void)"
(__imp_??0vtkSQLQuery@@IEAA at XZ) referenced in function "protected: __cdecl
vtkQtSQLQuery::vtkQtSQLQuery(void)" (??0vtkQtSQLQuery@@IEAA at XZ)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual bool __cdecl vtkSQLQuery::IsActive(void)" (?IsActive at vtkSQLQuery
@@UEAA_NXZ)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual void __cdecl vtkRowQuery::SetCaseSensitiveFieldNames(bool)"
(?SetCaseSensitiveFieldNames at vtkRowQuery@@UEAAX_N at Z)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual bool __cdecl vtkRowQuery::GetCaseSensitiveFieldNames(void)"
(?GetCaseSensitiveFieldNames at vtkRowQuery@@UEAA_NXZ)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual void __cdecl vtkRowQuery::CaseSensitiveFieldNamesOn(void)"
(?CaseSensitiveFieldNamesOn at vtkRowQuery@@UEAAXXZ)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual void __cdecl vtkRowQuery::CaseSensitiveFieldNamesOff(void)"
(?CaseSensitiveFieldNamesOff at vtkRowQuery@@UEAAXXZ)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual bool __cdecl vtkSQLQuery::SetQuery(char const *)"
(?SetQuery at vtkSQLQuery@@UEAA_NPEBD at Z)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual char const * __cdecl vtkSQLQuery::GetQuery(void)"
(?GetQuery at vtkSQLQuery@@UEAAPEBDXZ)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual bool __cdecl vtkSQLQuery::BeginTransaction(void)"
(?BeginTransaction at vtkSQLQuery@@UEAA_NXZ)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual bool __cdecl vtkSQLQuery::CommitTransaction(void)"
(?CommitTransaction at vtkSQLQuery@@UEAA_NXZ)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual bool __cdecl vtkSQLQuery::RollbackTransaction(void)"
(?RollbackTransaction at vtkSQLQuery@@UEAA_NXZ)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual class vtkSQLDatabase * __cdecl vtkSQLQuery::GetDatabase(void)"
(?GetDatabase at vtkSQLQuery@@UEAAPEAVvtkSQLDatabase@@XZ)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual bool __cdecl vtkSQLQuery::BindParameter(int,void const *,unsigned
__int64)" (?BindParameter at vtkSQLQuery@@UEAA_NHPEBX_K at Z)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual bool __cdecl vtkSQLQuery::BindParameter(int,class vtkVariant)"
(?BindParameter at vtkSQLQuery@@UEAA_NHVvtkVariant@@@Z)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual bool __cdecl vtkSQLQuery::BindParameter(int,class vtkStdString
const &)" (?BindParameter at vtkSQLQuery@@UEAA_NHAEBVvtkStdString@@@Z)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual bool __cdecl vtkSQLQuery::BindParameter(int,char const *,unsigned
__int64)" (?BindParameter at vtkSQLQuery@@UEAA_NHPEBD_K at Z)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual bool __cdecl vtkSQLQuery::BindParameter(int,char const *)"
(?BindParameter at vtkSQLQuery@@UEAA_NHPEBD at Z)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual bool __cdecl vtkSQLQuery::BindParameter(int,double)"
(?BindParameter at vtkSQLQuery@@UEAA_NHN at Z)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual bool __cdecl vtkSQLQuery::BindParameter(int,float)"
(?BindParameter at vtkSQLQuery@@UEAA_NHM at Z)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual bool __cdecl vtkSQLQuery::BindParameter(int,__int64)"
(?BindParameter at vtkSQLQuery@@UEAA_NH_J at Z)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual bool __cdecl vtkSQLQuery::BindParameter(int,unsigned __int64)"
(?BindParameter at vtkSQLQuery@@UEAA_NH_K at Z)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual bool __cdecl vtkSQLQuery::BindParameter(int,long)"
(?BindParameter at vtkSQLQuery@@UEAA_NHJ at Z)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual bool __cdecl vtkSQLQuery::BindParameter(int,int)"
(?BindParameter at vtkSQLQuery@@UEAA_NHH at Z)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual bool __cdecl vtkSQLQuery::BindParameter(int,short)"
(?BindParameter at vtkSQLQuery@@UEAA_NHF at Z)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual bool __cdecl vtkSQLQuery::BindParameter(int,signed char)"
(?BindParameter at vtkSQLQuery@@UEAA_NHC at Z)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual bool __cdecl vtkSQLQuery::BindParameter(int,unsigned long)"
(?BindParameter at vtkSQLQuery@@UEAA_NHK at Z)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual bool __cdecl vtkSQLQuery::BindParameter(int,unsigned int)"
(?BindParameter at vtkSQLQuery@@UEAA_NHI at Z)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual bool __cdecl vtkSQLQuery::BindParameter(int,unsigned short)"
(?BindParameter at vtkSQLQuery@@UEAA_NHG at Z)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual bool __cdecl vtkSQLQuery::BindParameter(int,unsigned char)"
(?BindParameter at vtkSQLQuery@@UEAA_NHE at Z)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual bool __cdecl vtkSQLQuery::ClearParameterBindings(void)"
(?ClearParameterBindings at vtkSQLQuery@@UEAA_NXZ)
1>vtkQtSQLQuery.obj : error LNK2001: unresolved external symbol "public:
virtual class vtkStdString __cdecl vtkSQLQuery::EscapeString(class
vtkStdString,bool)" (?EscapeString at vtkSQLQuery@@UEAA?AVvtkStdString@@V2 at _N@Z
)
1>C:\MVS\VTK\bin\x64\bin\RelWithDebInfo\QVTK.dll : fatal error LNK1120: 45
unresolved externals
1>Build log was saved at
"file://c:\MVS\VTK\bin\x64\GUISupport\Qt\QVTK.dir\RelWithDebInfo\BuildLog.htm"
1>QVTK - 48 error(s), 0 warning(s)
2>------ Skipped Build: Project: INSTALL, Configuration: RelWithDebInfo x64
------
2>Project not selected to build for this solution configuration
========== Build: 0 succeeded, 1 failed, 49 up-to-date, 1 skipped ==========
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120227/f49cbdfd/attachment.htm>
More information about the vtkusers
mailing list