webwraith
Joined: 19 Mar 2009 Posts: 5 Location: Lavenham, near Ipswich, Suffolk, UK
|
Posted: Thu Feb 16, 2012 4:20 am Post subject: Trouble getting SQLite3 working with DSSS |
|
|
I'm trying to get SQLite3 working with DSSS. I've got a D file built for it, which I installed in DSSS, along with the DLL and Lib files, but every time I try the following, it chokes on linking;
command:
Quote: | dsss build test_sql.d |
test_sql.d:
Code: |
module test_sql;
import sqlite3;
int main(char[][] args){
sqlite3* sql;
sqlite3_open("./sqlite_db", &sql);
sqlite3_close(sql);
return 0;
}
|
I keep getting the errors;
Quote: | dsss_objs\D\test_sql.obj(_test_sql)
Error 42: Symbol Undefined _sqlite3_open
dsss_objs\D\test_sql.obj(_test_sql)
Error 42: Symbol Undefined _sqlite3_close |
How do I remedy this? Do I need to add the DLL to the dsss_objs directory, somewhere? |
|