Best SQL library to use with local desktop app

Adam D. Ruppe destructionator at gmail.com
Wed Jan 3 20:52:49 UTC 2018


On Wednesday, 3 January 2018 at 20:39:59 UTC, wakhshti wrote:
>  Error 42: Symbol Undefined 
> _D4arsd6sqlite6Sqlite6__ctorMFAyaiZCQBiQBgQBc

That means you didn't link in the module.

The way I recommend doing it is listing them all on the command 
line:

dmd yourfile.d database.d sqlite.d

or if you put them in an arsd folder (optional)

dmd yourfile.d arsd\database.d arsd\sqlite.d



For sqlite, you also will need a sqlite.lib in the current 
directory or it will list a lot of Symbol Undefined like 
_sqlite3_open etc. And at runtime, you will need the sqlite.dll 
file along with your exe.

This is probably your general problem: you need to link in those 
libs too.

Here's the sqlite3.lib and dll too if you don't already have them:

http://arsdnet.net/dcode/sqlite3.lib
http://arsdnet.net/dcode/sqlite3.dll

just download them to the folder with your program.


More information about the Digitalmars-d mailing list