Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
access violation using Indy 10 on Raspberry PI
#1
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
Reply


Messages In This Thread
access violation using Indy 10 on Raspberry PI - by KeesBl - 11-26-2020, 07:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)