I have a program in C. I need to use a SQLite library to read data from a database.
When I include sqlite3.h
to my source file I get unresolved symbol
errors on sqlite3
functions.
If I add lib
file as library I don't get any error but program requires sqlite3.dll
to run.
I already tried to play with compiler settings but nothing changed.
SQLite is written in C and my program is also C. Why do I need a DLL file to use SQLite?
How can I remove the DLL dependency.
I'm using MCVS2015 community edition IDE.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.