FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Trouble getting SQLite3 working with DSSS

 
Post new topic   Reply to topic     Forum Index -> DSSS
View previous topic :: View next topic  
Author Message
webwraith



Joined: 19 Mar 2009
Posts: 5
Location: Lavenham, near Ipswich, Suffolk, UK

PostPosted: Thu Feb 16, 2012 4:20 am    Post subject: Trouble getting SQLite3 working with DSSS Reply with quote

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DSSS All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group