#1 Yesterday 16:07:53

larand54
Member
Registered: 2018-12-25
Posts: 115

SQLite static files again

Few weeks ago I pulled a new version of mORMot2 and got the message of SQLite outdated version, ok I downloaded the static files and I was back on track again.
Today I pulled the latest version of mORMot1 and tried to compile/run an older Mormot1 project but got the error message also this time.
I've downloaded the static files but still got the message. Then I renamed all versions of the files I found and tried compile/run again I still get the same message:

"Linked version is 3.44.2 whereas the current/expected is 3.46.1."

To me it seems to be an existing file left somwhere that is accessed but where can it be?
I have checked delphi settings and it looks all ok.

So I need some ideas what to do/look at.

Thank's in advance!


Delphi-11, WIN10

Offline

#2 Yesterday 16:34:37

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 15,308
Website

Re: SQLite static files again

You need to download the static files for mORMot 1 too.

Offline

#3 Yesterday 18:10:58

larand54
Member
Registered: 2018-12-25
Posts: 115

Re: SQLite static files again

Well, my library settings in delphi fooled me,
My library settings in delphi/mormot was ../mORMot/static and not ../mORMot/sqlite3/static as it was before.

In mORMot2 it is set as:
{$L ..\..\static\delphi\sqlite3.o} CPU64
{$L ..\..\static\delphi\sqlite3.obj} CPU32
And that worked as it was the same as in github.

But in mORMot1 it is:
{$L sqlite3.o} CPU64
{$L sqlite3.obj} CPU32

So I needed to put the files ../mORMot/static/ instead of ../mORMot/sqlite3/static as what you get when you pull  from github.

So... sorry my fault again.


Delphi-11, WIN10

Offline

Board footer

Powered by FluxBB