View previous topic :: View next topic |
Author |
Message |
samhu.samhu
Joined: 05 Jan 2008 Posts: 6
|
Posted: Fri Jan 11, 2008 6:46 am Post subject: Please help on compile DDBI step by step |
|
|
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 |
|
|
stonecobra
Joined: 25 May 2004 Posts: 48 Location: Rough and Ready, CA
|
Posted: Fri Jan 11, 2008 3:49 pm Post subject: |
|
|
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 |
|
|
samhu.samhu
Joined: 05 Jan 2008 Posts: 6
|
Posted: Fri Jan 11, 2008 6:34 pm Post subject: |
|
|
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 |
|
|
|