Hello!
I have problem with my program when I crosscompile it to Raspberry PI.
It is simple form with few labels (standard palette) on and two buttons.
procedure TForm1.Button1Click(Sender: TObject);
begin
Label1.Font.Height := 20;
Label2.Font.Size := 20;
Label3.Font.Color := clred;
Label4.Font.Style := [fsbold];
Button2.Font.Size := 15;
end;
procedure TForm1.Button2Click(Sender: TObject);
begin
Label1.Font.Height := 0;
Label2.Font.Size := 0;
Button2.Font.Size := 0;
end;
When I run this on win7 and I press Button1 I get labels modified according to code.
When I crosscompile this code on ARM (Raspberry PI), Label1 and Label2 dissapere from screen. Text in Button2 also dissapeare. Label3 become red and Label4 become bold.
When I press Button2 Label1 and Label2 are visible again in normal size. The same with button2.
The computer that I am using for programing is Win7, 32 bit PC.
Program is Typhon32IDE v4.8; FPC version 2.7.1; SVN revision: 44546
Library for crosscompile is arm-linux-pi downloades from server this week.
I susspect that it has something to do with compiling massage
Options changed, recompiling clean with -B
project1.lpr(22) Warning: "crti.o" not found, this will probably cause a linking failure
project1.lpr(22) Warning: "crtbegin.o" not found, this will probably cause a linking failure
project1.lpr(22) Warning: "crtend.o" not found, this will probably cause a linking failure
project1.lpr(22) Warning: "crtn.o" not found, this will probably cause a linking failure
Project "project1" successfully built
But surfing on the net didn't give me any good solution. Have any any idea how to solve this?
Regards, Matija