Hi,
Replace :
MyCapture.Bitmap.SaveToFile(ChangeFileExt(ParamStr(0), '.jpg'));
by :
MyCapture.SaveToFile(ChangeFileExt(ParamStr(0), '.jpg'));
This work because Bgrabitmap set automatically the image writer based on the
extension.
Patrick
29 avril 2021 17:49 "Bo Berglund via lazarus" a
The declaration of QueueAsyncCall is:
procedure QueueAsyncCall(const AMethod: TDataEvent; Data: PtrInt);
You must use "arg: PtrInt" otherwise it will fail on a 32bit system.
Patrick
12 février 2021 22:34 "Bo Berglund via lazarus"
a écrit:
> On Fri, 12 Feb 2021 21:23:19 +0100, Jean SUZINEAU
Hi,
I use fpc 3.2 from branches/fixes_3_2 because it is mandatory for aarch64.
No problem with Lazarus 2.0.6
Just beware that at the moment fixes are merged into this branch almost daily.
Any reason you want it for Mojave? for me fpc 3.0.4 work fine on this platform.
Patrick
--
It is probably possible to cross compile from Windows to Linux (Gtk2) but this
is difficult to setup because you need to copy a lot a Linux library to your
Windows system.
I don't know if Fpcupdeluxe can help with that?
The other way is much more easy because the win32 LCL do not expect the
I don't know your workflow and why you keep the old version of Lazarus? for
maintenance of older version of your applications?
In this case do not remove them but install the 2.0.2 Lazarus and
cross-compiler in a new Lazarus 2.0.2 directory then create a new config for
2.0.2 as usual.
Patrick
This is easy to do that, you only need one Lazarus, the 64bit version and the
cross-i386 fpc compiler, you can remove Lazarus 32.
The only point to be careful is the default target for a new project will be
Win64 and you have to add a Win32 build mode to all your projects. But the
default
here my patch, it is for the original synaser so line number can differ a bit
in lazsynaser:
https://github.com/pchev/skychart/blob/master/skychart/component/synapse/cdc_arm.patch
(https://github.com/pchev/skychart/blob/master/skychart/component/synapse/cdc_arm.patch)
--
This error "Can't call the assembler..." is because of insufficient memory with
the RPi.
Just add 1GB of swap and it will work.
Patrick
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus