#1 2016-04-12 12:55:25

JD
Member
Registered: 2015-08-20
Posts: 101

Cannot compile examples with Lararus 2.6/fpc 3.0 32bit Windows 7 64bit

Hi there everyone,

I use Lararus 2.6/fpc 3.0 32bit on Windows 7 64bit. I've been trying to compile test project & examples (TestSQL3 & 01 - In Memory ORM) of the mORMot framework & I keep getting a strange error on line 23363 in mormot.pas


SetID(fIDColumn[Row],result) else

The error is as stated below:

mORMot.pas(23363,7) Error: Internal error 2006111510

I noticed that this has already been reported before but I don't know if it has been resolved.

Thanks a lot for your time.

JD

Last edited by JD (2016-04-12 13:00:20)

Offline

#2 2016-04-12 15:09:15

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

Re: Cannot compile examples with Lararus 2.6/fpc 3.0 32bit Windows 7 64bit

Sounds more than a FPC issue to me...
I do not have problem with my own FPC here.
Could you try with the latest FPC version from http://www.getlazarus.org/ ?

Offline

#3 2016-04-13 08:59:06

JD
Member
Registered: 2015-08-20
Posts: 101

Re: Cannot compile examples with Lararus 2.6/fpc 3.0 32bit Windows 7 64bit

Thanks a lot for your reply. I did as you suggested & I installed the getlazarus package. But after trying to compile TestSQL3 I got the following compiler errors even after I put sqlite3.dll in the project directory


Compile Project, Mode: linux, Target: fpc\i386-win32\TestSQL3.exe: Exit code 1, Errors: 3
TestSQL3.dpr(190,1) Error: Can't open object file: fpc-win32\sqlite3.o
TestSQL3.dpr(190,1) Error: Can't open object file: libkernel32.a
TestSQL3.dpr(190,1) Error: Can't open object file: libgcc.a

Regards,

JD

Offline

#4 2016-04-13 09:15:20

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

Re: Cannot compile examples with Lararus 2.6/fpc 3.0 32bit Windows 7 64bit

Please read the doc about FPC setup.
You need to download http://synopse.info/files/sqlite3fpc.7z

See http://synopse.info/files/html/Synopse% … l#TITL_113

Offline

Board footer

Powered by FluxBB