You are not logged in.
Hi @ab, when compiling a project that use sqlite3 the following errors are reported:
Build
[Error] SynSQLite3Static.pas(747): Unsatisfied forward or external declaration: 'CodecGetReadKey'
[Error] SynSQLite3Static.pas(748): Unsatisfied forward or external declaration: 'CodecGetWriteKey'
[Error] SynSQLite3Static.pas(977): Unsatisfied forward or external declaration: 'sqlite3_key'
[Error] SynSQLite3Static.pas(978): Unsatisfied forward or external declaration: 'sqlite3_rekey'
[Error] SynSQLite3Static.pas(1083): Unsatisfied forward or external declaration: 'sqlite3_trace_v2'
[Error] SynSQLite3Static.pas(1): Unsatisfied forward or external declaration: 'winRead'
[Error] SynSQLite3Static.pas(1): Unsatisfied forward or external declaration: 'winWrite'
[Fatal Error] uMain.pas(346): Could not compile used unit 'SynSQLite3Static.pas'
with previous version no errors.
This also fails in TestSQL3.dpr
Thanks.
Last edited by EMartin (2018-03-27 20:44:59)
Esteban
Offline
You didn't update your .obj files.
Please check http://blog.synopse.info/post/2018/03/1 … encryption
Offline
Sorry, I did read the article but I forgot that part.
I downloaded and copied all content from zip file to the "static" folder and I put the "static" folder in "Search Path" (Delphi 7) but the error continue. My target and development OS is Windows 32bit.
I'm sure I did something wrong but I don't know what.
Thanks.
Last edited by EMartin (2018-03-28 01:28:38)
Esteban
Offline
Read again. "static" is for FPC, not for Delphi. It contains .o files.
As I wrote, you need to update your .obj files for Delphi.
As stated by https://synopse.info/files/html/Synopse … l#TITL_113
From http://synopse.info/files/sqlite3obj.7z
Offline
yes, the sqlite3.obj files was the problem.
Sorry and thanks.
Esteban
Offline
@EMartin you can get all needed files using git.
C:\> git pull
And it's done.
Offline
@Junior/RO, I used Fossil, in git are these this files ?
Esteban
Offline
The files are part of github repository, whereas with fossil, you need to download them separately.
See https://synopse.info/files/html/Synopse … l#TITL_113
Offline
SynProject and HTMLView folders are not in GitHub.com, is the idea ?
Thanks.
Esteban.
Esteban
Offline
Yes, SynProject has its own repository https://github.com/synopse/SynProject
Since it is uncoupled from the framework itself.
HtmlView is just a fork, with no real change.
I did put it there just to show how to work with SynPdf...
Offline