Problems compiling sqlite-d

Nestor via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jan 27 04:01:30 PST 2017


Hi,

I was trying to use https://github.com/UplinkCoder/sqlite-d

Unfortunately even something as simple as this doesn´t compile 
(at least on Windows):

import std.stdio, sqlited;

void main(string[] args) {
   string filename = (args.length == 2 ? args[1] : "data.db");
   Database db = Database(filename);
}

See the error:
OPTLINK (R) for Win32  Release 8.00.17
Copyright (C) Digital Mars 1989-2013  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
z1_app.obj(z1_app)
  Error 42: Symbol Undefined _D7sqlited8Database6__initZ
z1_app.obj(z1_app)
  Error 42: Symbol Undefined 
_D7sqlited8Database6__ctorMFNcAyabZS7sqlited8Database
Error: linker exited with status 107814472

Is there any other native D implementation of sqlite reader?



More information about the Digitalmars-d-learn mailing list