11-26-2020, 07:12 PM
I still have trouble using Indy 10 cross compiling on Lazarus.
The mini project below
program testProject;
uses IdGlobal;
begin
writeln('Blah');
end.
compiles and links fine for targets Windows, Linux 64 bits and Linux on ArmV7.
The executables run fine on Win64 and Linux Ubuntu but on the Raspberry Pi I get
An unhandled exception occurred at $00010D40:
EAccessViolation: Access violation
$00010D40
Running with sudo does not help.
If I remove the line: uses IdGlobal and recompile and link, the executable runs without problems on the Raspberry Pi.
If I only add IdGlobal in the project inspector in Lazarus and remove the line 'uses IdGlobal', the executable runs without problems on the Raspberry Pi.
I did not install Indy 10 in Lazarus. I use the units directly.
I wonder whether this a problem with the compiler, fpcUpdeluxe or Indy 10.
Is it possible to run Indy 10 on the Raspberry PI?
Greetings,
Kees
The mini project below
program testProject;
uses IdGlobal;
begin
writeln('Blah');
end.
compiles and links fine for targets Windows, Linux 64 bits and Linux on ArmV7.
The executables run fine on Win64 and Linux Ubuntu but on the Raspberry Pi I get
An unhandled exception occurred at $00010D40:
EAccessViolation: Access violation
$00010D40
Running with sudo does not help.
If I remove the line: uses IdGlobal and recompile and link, the executable runs without problems on the Raspberry Pi.
If I only add IdGlobal in the project inspector in Lazarus and remove the line 'uses IdGlobal', the executable runs without problems on the Raspberry Pi.
I did not install Indy 10 in Lazarus. I use the units directly.
I wonder whether this a problem with the compiler, fpcUpdeluxe or Indy 10.
Is it possible to run Indy 10 on the Raspberry PI?
Greetings,
Kees