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

Please help on compile DDBI step by step

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



Joined: 05 Jan 2008
Posts: 6

PostPosted: Fri Jan 11, 2008 6:46 am    Post subject: Please help on compile DDBI step by step Reply with quote

I posted in another instance but no one reply,so I tried here...

I reinstalled DMD with tango and pobos side by side under the instruction of Method 1 on the webpage:
http://www.dsource.org/projects/tango/wiki/PhobosTangoCooperation
Now I can compile d source code either using phobos or using tango.But still can not compile DDBI under your instruction of


1) Get the SQLite3 DLL from http://www.sqlite.org/download.html
2) Download "Basic Utilities" from http://www.digitalmars.com/download/freecompiler.html
3) implib /s sqlite3.lib sqlite3.dll (Creates a Lib from a DLL)
4) place on [c:]\dmd\lib
5) place the dbi trunk on your path or use the -I option to pass it to.

I really need help to fix this problem ,for example ,It would be grateful if anybody would like give me a step by step instruction from the first step to the end,compile a testDdbi source.Thanks...

Sam
Back to top
View user's profile Send private message
stonecobra



Joined: 25 May 2004
Posts: 48
Location: Rough and Ready, CA

PostPosted: Fri Jan 11, 2008 3:49 pm    Post subject: Reply with quote

samhu.samhu,

To build ddbi with sqlite support, you need to do this:

1) Make sure you have dsss installed
2) set a flag in dmd's sc.ini or on the command-line for -version=dbi_sqlite
3) in the ddbi directory, run 'dsss build'

You should be able to get a working dbi lib file with your sqlite dll download and these instructions.
Back to top
View user's profile Send private message
samhu.samhu



Joined: 05 Jan 2008
Posts: 6

PostPosted: Fri Jan 11, 2008 6:34 pm    Post subject: Reply with quote

I do have dsss installed.
do me mean run below :
dsss build -version=dbi_sqlite

It does not work still.Error message is as below:
Could not detect versions.
Could not detect versions.
Could not detect versions.

testddbi.d=>testddbi
+d:\laguageD\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -Id:\laguageD\dsss\include\d -Sd:\laguageD\dss\lib -version=dbi_sqlite -Id:\laguageD\dsss\include\d -Sd:\laguageD\dsss\lib -oqdsss_objs\O testddbi.d -oftestddbi
Could not detect versions.
Command d:\laguageD\dsss\bin\rebuild.exe returned with code 1,aborting.
Error:Command failed,aborting.
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