#1 2012-10-09 16:41:31

carlos
Member
Registered: 2012-06-03
Posts: 8

Main Demo error

Hi,

Using XE2, I get the error:

TSQLRestserverDB undeclared identifier.

in line
  TFileServer = class(TSQLRestserverDB)


Can you tell me why is this?

the "uses" of this unit did not give me any problem, so I would assume that all classes it needs to know are there...


thanks

Offline

#2 2012-10-09 16:52:43

carlos
Member
Registered: 2012-06-03
Posts: 8

Re: Main Demo error

also, Where do I get the SQLite obj files?

thanks

Offline

#3 2012-10-09 16:59:34

Leander007
Member
From: Slovenia
Registered: 2011-04-29
Posts: 113

Re: Main Demo error

carlos wrote:

also, Where do I get the SQLite obj files?

You can build it from sources with C compiler (e.g. c.bat uses bcc32) or download stable version of mORMot from "Downloads" which includes compiled obj files.

Last edited by Leander007 (2012-10-09 17:00:18)


"Uncertainty in science: There no doubt exist natural laws, but once this fine reason of ours was corrupted, it corrupted everything.", Blaise Pascal

Offline

#4 2012-10-09 17:15:08

carlos
Member
Registered: 2012-06-03
Posts: 8

Re: Main Demo error

Thanks Leander007.

I already solved that one.

the first problem I did not get..

Can you compile the main demo?

Offline

#5 2012-10-10 05:07:59

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

Re: Main Demo error

To get the source and the .obj, everything was clearly stated in http://synopse.info/fossil/wiki?name=Get+the+source

No problem for compiling and running the main demo in XE2.
I suspect your configuration is not correct.

Please consult the ReadMe.txt file, especially step 3 about paths to include for your project, or globally for your IDE.
Or you may have some old version in .dcu form somewhere in your path. Select "Build" not "Compile" in the IDE menu.

Offline

#6 2012-10-15 23:53:27

carlos
Member
Registered: 2012-06-03
Posts: 8

Re: Main Demo error

sorry for this post.

I had another unit in the search path with the name sqlite, as I used before sqlite interface for the C Dll in Delphi projects..

Offline

Board footer

Powered by FluxBB