#1 2011-02-17 08:20:39

seaton
Member
From: Bunbury, Western Australia
Registered: 2011-02-17
Posts: 2
Website

Anyone had success with this framework and Lazarus/FPC?

G'day one and all,

I've just come across this framework and very interested to get it running under Lazarus/FPC, it seems to be exactly what I've been looking for, however I've hit a couple of errors when I've added it to my project, mainly in the ASM side of things and was wondering if any others have had success in getting the framework working in a project.

If so what compiler settings have you used etc.

Many Thanks
Stephen...

Offline

#2 2011-02-17 09:57:03

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

Re: Anyone had success with this framework and Lazarus/FPC?

I tried to make it at least compatible with FPC.
Just for example, I used PtrInt, and rely on external TypInfo unit for FPC, whereas the Delphi version has some optimized and dedicated faster functions.

But I didn't make the tests with the FPC compiler yet.

What you could try is to define the PUREPASCAL conditional (so it will bypass most asm blocks)

But in SQLite3.pas, you'll definitively have some problems with static linking of SQLite3.obj, because it was expecting an obj file as generated by BC++.
Perhaps an external SQLite3.dll will be necessary with FPC... or a SQlite3.o file as understood by the FPC linker...

You can post any question here, I'll try to find an answer.

Online

#3 2011-02-18 04:08:04

seaton
Member
From: Bunbury, Western Australia
Registered: 2011-02-17
Posts: 2
Website

Re: Anyone had success with this framework and Lazarus/FPC?

Thanks for the reply AB,

Just after I posted I started poking around in the source and found the the PUREPASCAL definition which I uncommented, however I then had a quite a few errors with unicode and JSON, along with a number of other things.  I'll need to look at it more seriously later if I decide to go down this path.

I think the external SQLite3.dll would be a good thing.

I just wanted to evaluate it, so at the moment it wasn't too successful sad 

Regards,

Stephen...

Offline

Board footer

Powered by FluxBB