× CodeTyphon Cross-Build Development, discussions and problems

Question CT6-CrossBuild: Error in LCL6.01 compilation

  • Segami Steve
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 9 months ago #10524 by Segami Steve
CT6-CrossBuild: Error in LCL6.01 compilation was created by Segami Steve
Hi,

With Win7 (win32), CT cannot compile an application dedicated to android.

The messages are:

Compiler le paquet LCL 6.0.1 : Code de sortie 1 - Erreurs : 2 - Avertissements : 4
customdrawnproc.pas(89,17) Warning: An inherited method is hidden by "constructor Create;"
customdrawnwsforms_android.inc(1,2) Warning: Illegal compiler directive "$MAINFORM"
customdrawnwsforms_android.inc(6,32) Warning: Function result does not seem to be set
customdrawnwsforms_android.inc(103,65) Error: Wrong number of parameters specified for call to "AutoAdjustLayout"
wincontrol.inc(3838,23) Error: Found declaration: AutoAdjustLayout(TLayoutAdjustmentPolicy;const LongInt;const LongInt;const LongInt;const LongInt;const Boolean);
customdrawnwsforms_android.inc(140,24) Warning: Comment level 2 found

If someone has an idea to solve the problem...

Thanks

Best regards

Please Log in or Create an account to join the conversation.

More
4 years 9 months ago #10525 by Matis A.
Replied by Matis A. on topic CT6-CrossBuild: Error in LCL6.01 compilation
Can you attach (zip first) a sample project ?

PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.

  • Segami Steve
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 9 months ago #10526 by Segami Steve
Replied by Segami Steve on topic CT6-CrossBuild: Error in LCL6.01 compilation
Hi,

Before trying to cross-build a complex project, I have tested the cross-buid of a little project (in attachment) using only an edit, a label and a button...


Best Regards

File Attachment:

File Name: TestAndroid.zip
File Size:199 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
4 years 9 months ago - 4 years 9 months ago #10527 by Matis A.
Replied by Matis A. on topic CT6-CrossBuild: Error in LCL6.01 compilation
A temporary fix for this

replace files in
C:\codetyphon\typhon\lcl\interfaces\customdrawn

with 2 files exists in the attachment

and remove ARMV7 from Target processor (-Cp) option
Project options >>Config and Target set Target processor (-Cp) = Default


PilotLogic Core Programmer
Last edit: 4 years 9 months ago by Matis A..

Please Log in or Create an account to join the conversation.