Recent

Author Topic: Android export on linux  (Read 9100 times)

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • FPC developer.
Re: Android export on linux
« Reply #15 on: January 06, 2015, 08:17:08 pm »
Try putting

-CpARMv7a
-OoFASTMATH
-CfVFPv3

to the fpc.cfg

jjur

  • New Member
  • *
  • Posts: 14
    • PAKRAPOT
Re: Android export on linux
« Reply #16 on: January 06, 2015, 08:41:23 pm »
Added
Now it shows:
Code: [Select]
Options changed, recompiling clean with -B
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 3.1.1 [2015/01/05] for arm
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: Android for ARMEL
Compiling androidlcltest.lpr
androidlcltest.lpr(6,3) Fatal: Can not find unit customdrawnint used by androidlcltest. Check if package LCL is in the dependencies.

Code: [Select]
uses
  customdrawnint, Interfaces, Forms, mainform, secondform, sqlitejniandroid,
  customdrawn_android, customdrawndrawers, sqliteform;   

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • FPC developer.
Re: Android export on linux
« Reply #17 on: January 06, 2015, 10:52:12 pm »
Sorry, don't know much about customdrawn.

jjur

  • New Member
  • *
  • Posts: 14
    • PAKRAPOT
Re: Android export on linux
« Reply #18 on: January 07, 2015, 12:03:33 am »
It can't find any of this units.
When i delete missing unit, it show missing next unit.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8244
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Android export on linux
« Reply #19 on: January 07, 2015, 05:05:05 am »
Try putting

-CpARMv7a
-OoFASTMATH
-CfVFPv3

to the fpc.cfg
Better surrounded with:
Code: [Select]
#ifdef cpuarm
#ifdef android
and
Code: [Select]
#endif
#endif
It can't find any of this units.
When i delete missing unit, it show missing next unit.
the unit is part of lcl (see attached screenshot), open your lcl.lpk and check whether lcl's lib directory produce .ppu and .o for the unit.

 

TinyPortal © 2005-2018