I have a simple hello world c++ program which links sqlite3.dll (64 bit version).
I have added sqlite3.h and sqlite3.dll correctly in the respective paths. The projects
Check if there is another sqlite3.dll in your path. When I tried it, I got the same error. It turns out there is a (32-bit?) sqlite3.dll in my python directory in the %PATH%. Copy the 64-bit dll to the same directory as your executable and run it again.
So as explained in comments, you need to download the DEF file from binary package: https://www.sqlite.org/2015/sqlite-dll-win64-x64-3090100.zip
Then you need to add this to cl
compilation command: /DEF:sqlite3.def
Now your DLL will have required entries in export table.