On Tuesday, 18 November 2014 at 05:06:59 UTC, impatient-dev wrote:
On Tuesday, 18 November 2014 at 03:41:42 UTC, uri wrote:
Are you linking with libsqlite3.a?
For example:
$ dmd prog.d -L-lsqlite3
That worked, thanks. I didn't know you had to anything special
to link with code in the standa
On Tuesday, 18 November 2014 at 03:41:42 UTC, uri wrote:
Are you linking with libsqlite3.a?
For example:
$ dmd prog.d -L-lsqlite3
That worked, thanks. I didn't know you had to anything special to
link with code in the standard library; is there documentation
for this somewhere?
Also, is t
On Tuesday, 18 November 2014 at 01:14:26 UTC, impatient-dev wrote:
I'm new to D, and I'm trying to use SQLite, but I can't get
this basic program to compile:
import etc.c.sqlite3 : sqlite3_open;
void main(string[] args){
sqlite3_open("test.sqlite", null);
}
When compiling with DMD v2.
Addendum: I'm using DDT for Eclipse, and the names I'm using come
up in its autocomplete. They also appear at
http://dlang.org/phobos/etc_c_sqlite3.html, which is why I'm
stumped. I get what the error means, but I don't understand why
it's occurring.
I'm new to D, and I'm trying to use SQLite, but I can't get this
basic program to compile:
import etc.c.sqlite3 : sqlite3_open;
void main(string[] args){
sqlite3_open("test.sqlite", null);
}
When compiling with DMD v2.066.1, I get this error:
test.o: In function `_Dmain':
test.d:(.tex