We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When configuring with -DSQLITE_ENABLE_ASSERT_HANDLER:BOOL=ON (and building static libs) the example1 fails to build on MSVC with
-DSQLITE_ENABLE_ASSERT_HANDLER:BOOL=ON
main.obj : error LNK2019: unresolved external symbol "void __cdecl SQLite::assertion_failed(char const *,int,char const *,char const *,char const *)" (?assertion_failed@SQLite@@YAXPEBDH000@Z) referenced in function main SQLiteCpp.lib(Database.obj) : error LNK2001: unresolved external symbol "void __cdecl SQLite::assertion_failed(char const *,int,char const *,char const *,char const *)" (?assertion_failed@SQLite@@YAXPEBDH000@Z) C:\Path\win64\bin\Release\SQLiteCpp_example1.exe : fatal error LNK1120: 1 unresolved externals
Can be easily fixed if the declarations of SQLite::assertion_failed are identical in
SQLite::assertion_failed
SQLiteCpp/examples/example1/main.cpp
Line 26 in 7dbcf48
and
SQLiteCpp/include/SQLiteCpp/Assertion.h
Line 29 in 7dbcf48
Note the const long apLine vs. const int apLine.
const long apLine
const int apLine
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When configuring with
-DSQLITE_ENABLE_ASSERT_HANDLER:BOOL=ON
(and building static libs) the example1 fails to build on MSVC withCan be easily fixed if the declarations of
SQLite::assertion_failed
are identical inSQLiteCpp/examples/example1/main.cpp
Line 26 in 7dbcf48
and
SQLiteCpp/include/SQLiteCpp/Assertion.h
Line 29 in 7dbcf48
Note the
const long apLine
vs.const int apLine
.The text was updated successfully, but these errors were encountered: