buggins / ddbc

DDBC is DB Connector for D language (similar to JDBC)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to set up environment to use ddbc ?

ASHIT-AXAR opened this issue · comments

hello
how do you set environment to run ddbc ?
i download 'ddbc-master' and copied whole ddbc folder in source into my project folder.
and those 3 files in ddbc\libs\win32 to system32 (and into my project folder just for sure).
and this:

// i use CodeBlocks IDE
module main;

import std.stdio;
import ddbc;

int main(string[] args)
{
    writefln("Hello World\n");
    return 0;
}

when i press compile, i get this error:

||=== Build: Debug in database (compiler: Digital Mars D Compiler) ===|
|| Symbol Undefined _D4ddbc12__ModuleInfoZ|
||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 1 second(s)) ===|

im new to dlang, what did i do wrong?

i didn't know what then problem was, but upgrading DMD to latest release, no errors anymore.