#1 2012-04-08 01:52:13

BrentG
Member
Registered: 2012-04-05
Posts: 31

Can't compile Synopse\Sqlite3\Samples: File not found: 'sqlite3fts3.ob

I just downloaded "http://synopse.info/fossil/info/1bc71e61bc" and the example programs won't compile.

I am using Delphi XE2 and the "02 - Embedded Sqlite3 ORM" and "03 - NamedPipe Client-Server" projects can't be compiled ("01 - In Memory ORM" works). I suspect none of the SQLite3 related projects will compile. A search did not turn up "sqlite3fts3.obj" anywhere on the computer.

I have both directories:
\Dev\Synopse
\Dev\Synopse\Sqlite3

defined in my Delphi library path.

What am I missing here? Am I suppose to compile SQLite3? If so, can you point me to the instructions?
TIA
Brent


[DCC Error] SynSQLite3.pas(2423): E1026 File not found: 'sqlite3fts3.obj'
[DCC Error] SynSQLite3.pas(306): E2065 Unsatisfied forward or external declaration: 'sqlite3_initialize'
.... .pas(446): F2063 Could not compile used unit 'SynSQLite3.pas'
Failed
Elapsed time: 00:00:01.4

Offline

#2 2012-04-08 03:20:57

BrentG
Member
Registered: 2012-04-05
Posts: 31

Re: Can't compile Synopse\Sqlite3\Samples: File not found: 'sqlite3fts3.ob

D'uh, never mind. smile
I found the missing .OBJ files in sqlite3obj.7z.

Suggestion: It would be nice if there was a readme.txt file in SynopseSQLite3.zip that listed the other steps that are needed to complete the downloads and get it installed properly in Delphi (or a link to the website that has this readme page). In fact all zip files should have a ReadMe.txt that explains where these files are used. That way the developer sees the layout of how the puzzle (download files) fits together instead of just one piece of the jigsaw at a time.

- Just one guy's opinion. smile

Brent

Offline

#3 2012-04-08 06:16:42

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

Re: Can't compile Synopse\Sqlite3\Samples: File not found: 'sqlite3fts3.ob

If you click on the "Downloads" link above each page of the forum, you'll find out the steps to retrieve the framework.
See http://synopse.info/fossil/wiki?name=Downloads

The documentation is also available there.

I'll add a ReadMe.txt file, if it can help.

Offline

#4 2012-04-08 08:09:20

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

Re: Can't compile Synopse\Sqlite3\Samples: File not found: 'sqlite3fts3.ob

I've added a ReadMe.txt file.
See http://synopse.info/fossil/info/9dd5cece32

Hope it helps.
Thanks for the feedback.

Offline

#5 2012-04-08 17:56:39

BrentG
Member
Registered: 2012-04-05
Posts: 31

Re: Can't compile Synopse\Sqlite3\Samples: File not found: 'sqlite3fts3.ob

Thanks for the quick response.

The Readme file I was hoping for, was the install instructions for the file that was downloaded and should appear at the very top of the Readme file you just wrote.

Example:
Steps to install mORMot (Works with Delphi "x" to Delphi XE2 32-bit/64-bit)

1) Download mORMot framework from http://synopse.info/fossil/wiki?name=Downloads (in case user later forgot where he downloaded software from)

2) There is no install program, so unzip the files to your Delphi component directory.
      Example: c:\Delphi_Dev\Synopse\
    When finished, your directory structure should be:
        c:\Delphi_Dev\Synopse\HtmlView
        c:\Delphi_Dev\Synopse\LVCL
        c:\Delphi_Dev\Synopse\RTL7 etc.

3) Modify the Delphi Library Path to include:
        c:\Delphi_Dev\Synopse;c:\Delphi_Dev\Synopse\Sqlite3;

4) Add the directory "x" to your Windows Path (probably not necessary in this case because there are no dll's or utilities that I can see)

5) Run Delphi and compile the project "c:\Delphi_Dev\Synopse\Sqlite3\TestSQL3.Dpr" and run it to make sure it passes all tests.
    If any of these tests fail, here is the link  http://synopse.info/fossil/wiki?name=TestSQL3Fail that offers solutions to the problem you encountered.

6) Sample programs are found in: c:\Delphi_Dev\Synopse\Sqlite3\Samples and the explanation of each is found in their ReadMe.Pdf file

7) Download the Sqllite3/mORMot documentation from http://synopse.info/fossil/wiki?name=Downloads.
   The "GettingStarted.Pdf" will get you up and running quickly, then proceed to "BeAmazed.Pdf" for a more thorough approach to using mORMot.

8) Additional files/utilities that you may find useful are:
       Program     Description           Download Link
          "x"           Sqlite3 Mgr               http://...
          "y"           Sqlite3 Importer         http://...
          "z"           "GettingStarted.Pdf"   http://...
       Books         "Sqlite For Mummies"   http://...

I prefer using a Readme.PDF for my software because I can sneak in graphics (screen shot) if I have to. I used to use Readme.Rtf or Readme.Txt and it was too limiting in getting my message across.

I hope this has been of some help. (Returning the favor for you guys creating such great looking software).
I am reading through your documentation pdf files and have made some annotations. Let me know if there is an email address I can send it to. Newbies like me can offer some good feedback because we usually trip over stuff that isn't obvious.

I hope to spend a lot of time with mORMot over the next month and will no doubt have questions for the forum.
All the best.

Brent

Offline

#6 2012-04-08 18:09:19

BrentG
Member
Registered: 2012-04-05
Posts: 31

Re: Can't compile Synopse\Sqlite3\Samples: File not found: 'sqlite3fts3.ob

I forgot Step 2b, which is what started this thread.

Step 2b)
Download sqlite3obj.7z from http://synopse.info/files/sqlite3obj.7z and extract these two files "sqlite3.obj" and "sqlite3fts3.obj" to the c:\Delphi_Dev\Synopse\Sqlite3 directory.

Brent

Offline

#7 2012-04-10 09:34:39

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

Re: Can't compile Synopse\Sqlite3\Samples: File not found: 'sqlite3fts3.ob

I've updated the ReadMe.txt file.

See http://synopse.info/fossil/info/20f4d3d894

Not fully featured yet (according to your good remarks), but may be a good starting point.

If you have any recommendation / or modifications to the main documentation, you're welcome.
The source code of the documentation is:
- The comments of the interface part of each unit source code;
- The .pro text file, available in http://synopse.info/fossil/dir?name=SQL … umentation

You can use the SynProject tool to modify the documentation.
Then supply the patches or the modified .pro file for update of the main documentation.

Offline

Board footer

Powered by FluxBB