Welcome, Guest
Username: Password: Remember me
CodeTyphon Cross-Build Development, discussions and problems
  • Page:
  • 1

TOPIC:

CT6-CrossBuild: Error in LCL6.01 compilation 7 years 2 weeks ago #10524

  • Segami Steve
  • Segami Steve's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 0
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.

CT6-CrossBuild: Error in LCL6.01 compilation 7 years 2 weeks ago #10525

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1023
  • Thank you received: 140
Can you attach (zip first) a sample project ?
PilotLogic Core Programmer

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

CT6-CrossBuild: Error in LCL6.01 compilation 7 years 2 weeks ago #10526

  • Segami Steve
  • Segami Steve's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 0
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.

CT6-CrossBuild: Error in LCL6.01 compilation 7 years 2 weeks ago #10527

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1023
  • Thank you received: 140
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

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

Last edit: by Matis A..
  • Page:
  • 1