#1 2010-06-29 12:59:25

Tomas
Member
Registered: 2010-06-29
Posts: 2
Website

Errors with compiling SQLite3 and sample projects

Building sample projects on both Turbo Delphi 2006 and Delphi 2010 resulted in
[DCC Error] SampleData.pas(18): E2003 Undeclared identifier: 'RawUTF8'
and
[DCC Error] Unit1.pas(46): E2003 Undeclared identifier: 'StringToUTF8'
error messages.

That was resolved by adding SynCommons to Uses in both Unit1.pas and Sampledata.pas.

I'm sure there might be a better solution, I'm just posting this very newbie tip for those on similar skill level as I'm, as I have noted this issue was already raised on http://blog.synopse.info/post/2010/05/2 … ersion-1.7

And by the way, thanks a lot for SQLite3 Framework, this looks like exactly the thing I was looking for for development of small database desktop app with an embedded sqlite.

Offline

#2 2010-06-29 13:36:31

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

Re: Errors with compiling SQLite3 and sample projects

You're right, I didn't compile the sample projects since a long time. SynCommons is necessary for all applications: it contains some common types and functions, which were available from SQLite3Commons.pas.
I'll check the sample sources and fix this.

Thanks for your interest! smile

Offline

#3 2010-06-29 17:02:41

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

Re: Errors with compiling SQLite3 and sample projects

I've corrected the sample applications.

Source code has been uploaded to our source code repository.

Offline

#4 2010-06-29 22:00:01

Tomas
Member
Registered: 2010-06-29
Posts: 2
Website

Re: Errors with compiling SQLite3 and sample projects

Thanks. Time for me to start with fossil smile

Offline

#5 2010-06-30 06:59:21

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

Re: Errors with compiling SQLite3 and sample projects

Yes I don't want to publish the source code as a .zip since officialy the SQlite3 framework is still with version 3.6.23, and we already implemented 3.7 draft...
The 3.7 version should be officially out the 1st of July.

wink

Offline

#6 2010-07-06 19:29:13

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

Re: Errors with compiling SQLite3 and sample projects

But you can download the whole source code as a ready .zip archive directly from the main repository, see http://synopse.info/fossil/wiki?name=Get+the+source

You don't have to install fossil on your PC. Just follow the steps, and click...

Offline

Board footer

Powered by FluxBB