Problems compiling sqlite-d

Stefan Koch via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jan 27 04:04:06 PST 2017


On Friday, 27 January 2017 at 12:01:30 UTC, Nestor wrote:
> 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?

I take it you build without dub ?
Have you specified source/sqlite.d on your compile commandline ?



More information about the Digitalmars-d-learn mailing list