SQLite3

Jack via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu May 8 04:48:12 PDT 2014


On Thursday, 8 May 2014 at 11:07:06 UTC, Arjan wrote:
> On Thursday, 8 May 2014 at 10:29:16 UTC, Jack wrote:
>> On Wednesday, 7 May 2014 at 19:03:34 UTC, Arjan wrote:
>>> On Wednesday, 7 May 2014 at 06:21:10 UTC, Jack wrote:
>>>> First off a Disclaimer: I'm a noob and still learning. Please
>>>> don't bash me like some forums.
>>>>
>>>> Now to the questions: I'm searching for a quick and easy way 
>>>> to
>>>> integrate SQLite3 in my application.
>>>
>>> maybe:
>>> https://github.com/buggins/ddbc/wiki ?
>>
>> I seem to have a problem with that library. Even if the 
>> modules have been imported and the libraries linked and yada 
>> yada, it spews error upon error. Sample code is this:
>>
>> import std.stdio;
>> import ddbc.drivers.sqliteddbc;
>>
>> void main(){
>>
>> SQLITEDriver driver = new SQLITEDriver();
>> writeln("SUCCESS");
>> }
>>
>>
>> Error spewed out is this:
>> hello.d|7|Error: undefined identifier SQLITEDriver|
>>
>> I think Code::Blocks is importing the modules but not 
>> detecting the modules. Been at it for a few hours now. Any 
>> help?
>
> Did you specify the configuration to use to dub?
> dub -c SQLite

Yes. I've also linked the library to it.
Dub:
http://puu.sh/8DYrR.png
Code::Blocks Configuration:
http://puu.sh/8DYug.png


More information about the Digitalmars-d-learn mailing list