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

using 0.2.5 with D 1.014 on winxp

 
Post new topic   Reply to topic     Forum Index -> DDBI
View previous topic :: View next topic  
Author Message
negerns



Joined: 08 Jul 2006
Posts: 13

PostPosted: Mon May 07, 2007 7:29 am    Post subject: using 0.2.5 with D 1.014 on winxp Reply with quote

i get an error compiling the following program:
Code:

import dbi.odbc.all;
void main() {
   OdbcDatabase db = new OdbcDatabase();
   db.connect("Scratch", "dba", "sql");
}


using the following command:
Code:

C:\projects\ide>dmd odbc.d -debug -version=Phobos -L/SUBSYSTEM:windows:5 dbi.lib odbc32.lib
c:\dmd\bin\..\..\dm\bin\link.exe odbc,,,dbi.lib+odbc32.lib+user32+kernel32/noi/SUBSYSTEM:windows:5;

which produced the error:
Code:

odbc.obj(odbc)
 Error 42: Symbol Undefined _D3dbi4odbc12OdbcDatabase12OdbcDatabase7__ClassZ
odbc.obj(odbc)
 Error 42: Symbol Undefined _D3dbi4odbc12OdbcDatabase12OdbcDatabase5_ctorMFZC3db
i4odbc12OdbcDatabase12OdbcDatabase
--- errorlevel 2
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DDBI 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