我想使用這個庫連接到SQLite數據庫,但我甚至沒有把它與我的簡單源代碼一起編譯,我得到了許多編譯錯誤,編譯器編譯失敗,所以我不知道,如果有人可以幫助我展示我如何配置和編譯在Windows這個項目....使用ado-ada連接數據庫
ADO-ADA項目鏈接:https://code.google.com/p/ada-ado/
順便說一句,有另一種好辦法連接到MSSQL或SQLite或MySql數據庫?
C:\Users\AlexB\Desktop\testeSqlIte>gnatmake -P default.gpr
gcc -c -g -O2 -I- -gnatA C:\Users\AlexB\Desktop\ada-ado-0.4.0\src\ado-queries-lo
aders.adb
ado-queries-loaders.adb:25:06: "ADO.STATEMENTS (spec)" depends on "ADO.SCHEMAS (
spec)"
ado-queries-loaders.adb:25:06: "ADO.SCHEMAS (spec)" depends on "UTIL (spec)"
ado-queries-loaders.adb:25:06: "ADO.OBJECTS (spec)" depends on "UTIL (spec)"
ado-queries-loaders.adb:25:06: "ADO.DRIVERS.CONNECTIONS (spec)" depends on "ADO.
STATEMENTS (spec)"
ado-queries-loaders.adb:25:06: "ADO.STATEMENTS (spec)" depends on "ADO.OBJECTS (
spec)"
ado-queries-loaders.adb:25:06: "ADO.OBJECTS (spec)" depends on "ADO.SESSIONS (sp
ec)"
ado-queries-loaders.adb:25:06: "ADO.SESSIONS (spec)" depends on "UTIL (spec)"
ado-queries-loaders.adb:25:06: file "util.ads" not found
ado-queries-loaders.adb:25:06: "ADO.QUERIES.LOADERS (body)" depends on "ADO.DRIV
ERS.CONNECTIONS (spec)"
ado-queries-loaders.adb:25:06: "ADO.DRIVERS.CONNECTIONS (spec)" depends on "UTIL
(spec)"
ado-queries-loaders.adb:27:06: file "util.ads" not found
ado-queries-loaders.adb:28:06: file "util.ads" not found
ado-queries-loaders.adb:29:06: file "util.ads" not found
ado-queries-loaders.adb:30:06: file "util.ads" not found
ado-queries-loaders.adb:31:06: file "util.ads" not found
ado-queries-loaders.ads:19:20: "ADO.QUERIES (spec)" depends on "ADO (spec)"
ado-queries-loaders.ads:19:20: "ADO (spec)" depends on "UTIL (spec)"
ado-queries-loaders.ads:19:20: file "util.ads" not found
ado-queries-loaders.ads:19:20: "ADO.QUERIES (spec)" depends on "UTIL (spec)"
ado-queries-loaders.ads:19:20: "ADO.SQL (spec)" depends on "UTIL (spec)"
ado-queries-loaders.ads:19:20: "ADO.PARAMETERS (spec)" depends on "ADO.DRIVERS (
spec)"
ado-queries-loaders.ads:19:20: "ADO.DRIVERS (spec)" depends on "UTIL (spec)"
ado-queries-loaders.ads:19:20: "ADO.QUERIES.LOADERS (body)" depends on "ADO.QUER
IES.LOADERS (spec)"
ado-queries-loaders.ads:19:20: "ADO.QUERIES.LOADERS (spec)" depends on "ADO.QUER
IES (spec)"
ado-queries-loaders.ads:19:20: "ADO.QUERIES (spec)" depends on "ADO.SQL (spec)"
ado-queries-loaders.ads:19:20: "ADO.SQL (spec)" depends on "ADO.PARAMETERS (spec
)"
ado-queries-loaders.ads:19:20: "ADO.PARAMETERS (spec)" depends on "ADO.DRIVERS.D
IALECTS (spec)"
ado-queries-loaders.ads:19:20: "ADO.DRIVERS.DIALECTS (spec)" depends on "UTIL (s
pec)"
gnatmake: "C:\Users\AlexB\Desktop\ada-ado-0.4.0\src\ado-queries-loaders.adb" com
pilation error
呵呵,是的,我的PC上有cygwin ... btw,我怎麼安裝Dynamo和Ada Util庫,我在哪裏安裝? – Alexandre
好吧,當我嘗試構建securyt lib時,我遇到了很多錯誤... :( – Alexandre
是發電機的'securyt lib'部分嗎?我認爲你可以不用它。 –