[Vala] Mysql binding

i'm trying mysql bindings now, and it doesn't work for me,

root CentOS-54-64-minimal ~/develop/vala # valac --pkg mysql mysql2.vala && ./mysql2
mysql2.vala:10.19-10.33: error: `Mysql.Database' does not have a default constructor
        Database mysql = new Database ();
Compilation failed: 1 error(s), 0 warning(s)

i've read maillist and it seem like a common error on later versons of
vala? :(

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]