[odb-users] forced_rollback c'tor,
d'tor and copy c'tor are unresolved symbols
Maik Lathan
maik.lathan at hicknhack-software.com
Fri May 17 06:46:12 EDT 2013
I try to compile libodb-sqlite-vc10 with Visual Studio 2010. I followed
all described steps and compiled QSLite3 with provided Visual Studio
2010 Solution. Everything compiled fine.
When I try to build libodb-sqlite-vc10 I get this compiler warning:
x:\experiments\odb\libodb-sqlite-2.2.1\odb\sqlite\exceptions.cxx(21):
warning C4273: 'odb::sqlite::forced_rollback::what' : inconsistent dll
linkage
x:\experiments\odb\libodb-sqlite-2.2.1\odb\sqlite\exceptions.hxx(31) :
see previous definition of 'what'
and this linker errors:
error.obj : error LNK2001: unresolved external symbol "public: virtual
__thiscall odb::sqlite::forced_rollback::~forced_rollback(void)"
(??1forced_rollback at sqlite@odb@@UAE at XZ)
error.obj : error LNK2001: unresolved external symbol "public:
__thiscall odb::sqlite::forced_rollback::forced_rollback(struct
odb::sqlite::forced_rollback const &)"
(??0forced_rollback at sqlite@odb@@QAE at ABU012@@Z)
X:\experiments\odb\libodb-sqlite-2.2.1\odb\sqlite\..\..\bin\odb-sqlite-d-2.2-vc10.dll
: fatal error LNK1120: 3 unresolved externals
Normally the compiler would generate all the missing
constructors/destructor.
I wonder if this problem is related to this bugfix release:
http://www.codesynthesis.com/pipermail/odb-announcements/2013/000032.html
--
Maik Lathan
Geschäftsführer
Mobil: +49 (157) 747 090 11
HicknHack Software GmbH
Bayreuther Str. 32
D-01187 Dresden
Fon: +49 (351) 32 978 382
Web: http://hicknhack-software.com
Email: contact at hicknhack-software.com
Geschäftsführer:
Andreas Reischuck, Maik Lathan, Michael Starke
Sitz: Dresden
Handelsregister: Amtsgericht Dresden, HRB 30351
More information about the odb-users
mailing list