#1 2012-01-02 20:59:10

tedroper
Member
Registered: 2011-12-24
Posts: 4

Error compiling SynSQLite3 - Delphi 2010

I get these errors on any project using SynSQLite3.pas

Compiling SynFile.dproj (Debug configuration)
dcc command line for "SynFile.dpr"
[DCC Error] SynSQLite3.pas(1): E2065 Unsatisfied forward or external declaration: 'sqlite3CodecAttach'
[DCC Error] SynSQLite3.pas(1): E2065 Unsatisfied forward or external declaration: 'sqlite3CodecGetKey'
[DCC Error] SynSQLite3.pas(1): E2065 Unsatisfied forward or external declaration: 'sqlite3_key'
[DCC Error] SynSQLite3.pas(1): E2065 Unsatisfied forward or external declaration: 'sqlite3_rekey'
[DCC Error] SynSQLite3.pas(1): E2065 Unsatisfied forward or external declaration: 'sqlite3_activate_see'
[DCC Fatal Error] SQLite3.pas(209): F2063 Could not compile used unit 'SynSQLite3.pas'
Failed

Can you help solve this problem?
tks,
ted

Offline

#2 2012-01-03 08:23:11

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: Error compiling SynSQLite3 - Delphi 2010

It seems as you try to compile the C sources with SEE on.

This is not implemented, and should not be in the close future (search for forum to guess why).

Use the supplied c.bat file in http://synopse.info/fossil/artifact/58e … bee809e85a which works fine.

Or use the sqlite3*.obj files as supplied in http://synopse.info/fossil/wiki?name=Get+the+source
They are always synchronized with the latest version from http://sqlite.org

Online

#3 2012-01-03 16:59:59

tedroper
Member
Registered: 2011-12-24
Posts: 4

Re: Error compiling SynSQLite3 - Delphi 2010

tks for the reply, but i am still lost.
i don't know what the C sources with SEE on is?  These are *.pas files.
how do you use the c.bat file or *.obj files?  do these file go into the project directory?
or is this not a delphi 2010 demo file?

i am just trying to compile a project in your sample directory.
ted

Offline

#4 2012-01-03 17:06:33

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: Error compiling SynSQLite3 - Delphi 2010

Which version are you trying to compile?

Use the supplied .obj and source from the 1.15 latest official release, or use http://synopse.info/fossil/wiki?name=Get+the+source for the latest 1.16 beta version from the source code repository.

I just compile SynFile with Delphi 2010, without any problem.

Online

Board footer

Powered by FluxBB