Recent

Author Topic: Android Module Wizard  (Read 705456 times)

renabor

  • Jr. Member
  • **
  • Posts: 73
Re: Android Module Wizard
« Reply #570 on: August 03, 2015, 07:48:34 am »

Hello People!

within a few hours I will make an update to github, trying to solve some instability of lamw wizard
and jImageBtn ... [yes, the wizard lamw will become more smart!]

Thanks to All!

Hello jmpessoa!

here some question related to jSqlite and Cursor .

freepascal don't permit to overload functions and procedure with same parameters, so

function jSqliteDataAccess.Select cannot be used!

Adding a second parameter to the procedure (i.e. gotolast: boolean def to false) can make possible to use the function Select.

In Controls there are some typos:
Code: [Select]
    public String SelectS(String selectQuery) { //return String
...
                    try
----->>>>>       this.cursor = null; // without this a second query will find the Cursor randomly positioned!!!

.............

    public void SelectV(String selectQuery) {   //just set the cursor! return void..
        this.cursor = null;
        try{         
        if (mydb!= null) {
           if (!mydb.isOpen()) {
              mydb = this.Open(); //controls.activity.openOrCreateDatabase(DATABASE_NAME, Context.MODE_PRIVATE, null);
           }
        }                                
      this.cursor  = mydb.rawQuery(selectQuery, null);
----->>>>>>         this.cursor.moveToFirst();            
        mydb.close();        
     }catch(SQLiteException se){
         Log.e(getClass().getSimpleName(), "Could not select:" + selectQuery);
     }                      
}


thank you!

FPC 3.2.2 | Lazarus 2.2.3 | Kubuntu 22.04 64bit

jmpessoa

  • Hero Member
  • *****
  • Posts: 2297
Re: Android Module Wizard
« Reply #571 on: August 04, 2015, 06:36:12 am »
Hi All!

There is an updated Lamw revision!

Version 0.6 - rev. 36 - 03 August 2015 -

   IMPROVEMENT!   

      Wizard forms usability [and code] redesigned!
         Eclipe/Ant project [finally] unified!
         Fixed [Lamw NoGUI] project //<<----Thanks to @leledumbo!          
               
   IMPROVEMENT!   

      jBluetooth
         News methods:
            PairDeviceByAddress
            UnpairDeviceByAddress
      
   FIXED! 

      jImageBtn //<<----Thanks to @renabor!         

      jSqliteDataAccess.Select //<<----Thanks to @renabor!

   NEW!
      "GET START" The Wiki-Page //<<----Thanks to @jc99!
         Ref. http://wiki.freepascal.org/Talk:Android_tutorial

            
   HINT 1: Old Projects: Please, upgrade your project code templates !
         Lazarus IDE --> menu Tools --> [Lamw] Android Module Wizard --> Upgrade code Templates [*.lpr, *.java]

   HINT 2:   When prompt "Read error" [Unknown Property] just choice "Continue Loading"!
         [After any form/component/property  changed and saved.... Problem solved!]

Thanks to All!  Special thanks to renabor, jc99 and leledumbo!

Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

Leledumbo

  • Hero Member
  • *****
  • Posts: 8746
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Android Module Wizard
« Reply #572 on: August 04, 2015, 07:49:32 am »
Eclipe/Ant project [finally] unified!
Nice, less unneeded option since practically all Eclipse projects are Ant-compatible, just provide a proper build.xml.

Fatih KILIÇ

  • New Member
  • *
  • Posts: 23
Re: Android Module Wizard
« Reply #573 on: August 05, 2015, 06:36:07 pm »
Hi jmpessoa.

When i every open options menu and closed, menu item is adding same menu item to the options menu.

Thanks.

renabor

  • Jr. Member
  • **
  • Posts: 73
Re: Android Module Wizard
« Reply #574 on: August 06, 2015, 08:49:31 am »
@jmpessoa

With last revision, under Linux, it is still impossible to create a new Application.
Selecting JNI Android Module [Lamw GUI] from New menu the error message is:
"Unable to create file build-debug.bat"

@jmpessoa

With new revision 36, on Linux, this problem is resolved, thank you!
Now compiling this is the error message:

Fatal: Cannot find unit system used from controls in LCLBase.

LCLBase is used only on Windows system and is not required on Linux.
Where do I find the reference to LCLBase?

Thank you!
FPC 3.2.2 | Lazarus 2.2.3 | Kubuntu 22.04 64bit

m4u_hoahoctro

  • Full Member
  • ***
  • Posts: 160
Re: Android Module Wizard
« Reply #575 on: August 06, 2015, 04:53:38 pm »
I can't use this code in lamw,app will close when I excute asynctask, I don't know why  :o . I am using unit fphttpclient

Code: [Select]
procedure TAndroidModule1.jAsyncTask1DoInBackground(Sender: TObject;
  progress: integer; out keepInBackground: boolean);
begin
 link:=trim(link);
 Try
 http1.HTTPMethod('GET',link,stream1,code);
 for i:=0 to http1.RequestHeaders.Count-1 do
 if pos('Location:',http1.ResponseHeaders.Strings[i])>0 then
 begin
 link:=StringReplace(trim(StringReplace(link,'Location:','',[])),' ','%20',[rfReplaceall]);
 for k:=length(link) downto 1 do if link[k]='/' then
 begin
 name:=copy(link,k,length(link)-k);
 break;
 end;
 stream2:=TFileStream.Create('/sdcard/'+name+'.mp3',fmcreate);
 http1.HTTPMethod('GET',link,stream1,code);
 stream1.Position:=0;
 stream2.CopyFrom(stream1,stream1.size);
 break;
 end;
 finally
   stream1.free;
   stream2.free;
   http1.free;
 end;
 keepinbackground:=false;
end;                   

jmpessoa

  • Hero Member
  • *****
  • Posts: 2297
Re: Android Module Wizard
« Reply #576 on: August 06, 2015, 06:07:56 pm »
@Fatih KILIÇ

Ok, I will do some test...

@renabor

LCLBase is need only to install components Icons as resource  [LResources.pas] ... but

a 'Lamw" cross-compile project do not need any reference to it!

@m4u_hoahoctro

Please, use jHttpClient! there some demo....
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

renabor

  • Jr. Member
  • **
  • Posts: 73
Re: Android Module Wizard
« Reply #577 on: August 06, 2015, 06:29:09 pm »

@renabor

LCLBase is need only to install components Icons as resource  [LResources.pas] ... but

a 'Lamw" cross-compile project do not need any reference to it!

Yes, I guess it! but ... something where wrong creating a new App.
Here the code for unit1.pas
Code: [Select]
unit unit1;

{$mode delphi}

interface

uses
  Classes, SysUtils, And_jni, And_jni_Bridge, Laz_And_Controls,
    Laz_And_Controls_Events, AndroidWidget;

type

  { TAndroidModule1 }

  TAndroidModule1 = class(jForm)
    jButton1: jButton;
   procedure jButton1Click(Sender: TObject);
  private
    {private declarations}
  public
    {public declarations}
  end;

var
  AndroidModule1: TAndroidModule1;

implementation

{$R *.lfm}

{ TAndroidModule1 }

procedure TAndroidModule1.jButton1Click(Sender: TObject);
begin
  ShowMessage('Hello World!');
end;

end.

[/quote]

and for unit1.lfm

Quote
object AndroidModule1: TAndroidModule1
  Left = 468
  Top = 260
  Width = 474
  Height = 442
  MarginLeft = 0
  MarginTop = 0
  MarginRight = 0
  MarginBottom = 0
  Text = 'AndroidModule1'
  ActivityMode = actMain
  BackgroundColor = colbrDefault
  object jEditText1: jEditText
    Left = 184
    Top = 80
    Width = 80
    Height = 39
    MarginLeft = 5
    MarginTop = 10
    MarginRight = 5
    MarginBottom = 10
    Visible = True
    PosRelativeToAnchor = []
    PosRelativeToParent = []
    LayoutParamWidth = lpOneFifthOfParent
    LayoutParamHeight = lpWrapContent
    Text = 'jEditText1'
    Alignment = taLeft
    InputTypeEx = itxText
    MaxTextLength = -1
    BackgroundColor = colbrDefault
    FontColor = colbrDefault
    FontSize = 0
    HintTextColor = colbrSilver
    ScrollBarStyle = scrNone
    MaxLines = 1
    HorScrollBar = True
    VerScrollBar = True
    WrappingLine = False
    Editable = True
    FontSizeUnit = unitDefault
    Id = 0
  end
  object jButton1: jButton
    Left = 184
    Top = 144
    Width = 80
    Height = 40
    MarginLeft = 2
    MarginTop = 4
    MarginRight = 2
    MarginBottom = 4
    Visible = True
    PosRelativeToAnchor = []
    PosRelativeToParent = []
    LayoutParamWidth = lpOneFifthOfParent
    LayoutParamHeight = lpWrapContent
    Text = 'jButton1'
    BackgroundColor = colbrDefault
    FontColor = colbrDefault
    FontSize = 0
    FontSizeUnit = unitDefault
    OnClick = jButton1Click
    Id = 0
  end
end
[/code]

All is ok, but it fail on compile, with error related to LCL.
Projects created with previous versions works fine and I can compile it without errors!

FPC 3.2.2 | Lazarus 2.2.3 | Kubuntu 22.04 64bit

jmpessoa

  • Hero Member
  • *****
  • Posts: 2297
Re: Android Module Wizard
« Reply #578 on: August 06, 2015, 09:55:30 pm »

@renabor

few attempts:

1.may be accidentally your project became  LCL  dependent...
[Project --> Project Inspector ]

2.If you got an "old" project then try  "Run" -->> "Clean up and Bulid"

3. You can try open "tfpandroidbridge_pack.lpk" --->> "recompile clean" --->> Install


Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

jmpessoa

  • Hero Member
  • *****
  • Posts: 2297
Re: Android Module Wizard
« Reply #579 on: August 08, 2015, 09:52:03 pm »
@Fatih KILIÇ

Quote
..When i every open options menu and closed, menu item is adding same menu item to the options menu...

I try some test ... and ... I do not have any problem...

You can get my test project here:

https://jmpessoa.opendrive.com/files?Ml85OTMxMzg2Nl9hbjR5bg

Can you post your project somewhere?

Thank you!
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

Fatih KILIÇ

  • New Member
  • *
  • Posts: 23
Re: Android Module Wizard
« Reply #580 on: August 09, 2015, 09:42:10 am »
Hi jmpessoa.

I created a new project now and tested again again, the error not occurs; Interesting   %). I am sorry.

Thank you.


renabor

  • Jr. Member
  • **
  • Posts: 73
Re: Android Module Wizard
« Reply #581 on: August 10, 2015, 03:41:23 pm »

@renabor

few attempts:

1.may be accidentally your project became  LCL  dependent...
[Project --> Project Inspector ]

2.If you got an "old" project then try  "Run" -->> "Clean up and Bulid"

3. You can try open "tfpandroidbridge_pack.lpk" --->> "recompile clean" --->> Install

@jmpessoa, you are rigth! That was, nr 1!

And now some improvements to code, related with jListView.
Implementing a floating panel that can be used as a lateral menu, I haved problems with fling at panel level.
In my form I have a jPanel and over it a jListView. The onFling method is handled by jPanel but jListView intercept the Event and block it delegating his handling to parent ViewGroup, not to jPanel.
Solution was to add an TouchListener in jListView code.

Code: [Select]
private OnTouchListener onTouchListener;
private float mDownX = -1;
private float mDownY = -1;
private float pressure = 1;
private final float SCROLL_THRESHOLD = 10;
private boolean isOnClick;
private boolean canClick;

onTouchListener = new OnTouchListener() {@Override
public boolean onTouch(View v, MotionEvent event) {
int action = event.getAction() & MotionEvent.ACTION_MASK;
switch (action) {
case MotionEvent.ACTION_DOWN:
canClick = false;
// Log.i("ACTION", "DOWN");
mDownX = event.getX();
mDownY = event.getY();
isOnClick = true; // blocco la propagazione
break;
case MotionEvent.ACTION_CANCEL:
case MotionEvent.ACTION_UP:
if (isOnClick) {
// Log.i("ACTION", "UP");
canClick = true;
} else {
//                                      Log.i("ACTION","UP NOT PROCESSED");
                                }
return false;
case MotionEvent.ACTION_MOVE:
if (isOnClick && (Math.abs(mDownX - event.getX()) > SCROLL_THRESHOLD || Math.abs(mDownY - event.getY()) > SCROLL_THRESHOLD)) {
// Log.i("ACTION", "MOVE");
isOnClick = false;
};
return false;
};
return false;
};
};
setOnTouchListener(onTouchListener);

and for better cooperation with OnClickListener, some addition to its implementation

Code: [Select]
onItemClickListener = new OnItemClickListener() {@Override
public void onItemClick(AdapterView <? > parent, View v, int position, long id) {
lastSelectedItem = (int) position;
--->>> if (canClick) {
// Log.i("ACTION", "CLICK");
if (!isEmpty(alist)) { // this test is necessary !  //  <----- thanks to @renabor
if (highLightSelectedItem) {
if (lastSelectedItem > -1) {
DoHighlight(lastSelectedItem, textColor);
}
DoHighlight((int) id, highLightColor);
}
if (alist.get((int) id).widget == 2) { //radio fix 16-febr-2015
for (int i = 0; i < alist.size(); i++) {
alist.get(i).checked = false;
}
alist.get((int) id).checked = true;
aadapter.notifyDataSetChanged();
}
controls.pOnClickCaptionItem(PasObj, (int) id, alist.get((int) id).label);
} else {
controls.pOnClickCaptionItem(PasObj, lastSelectedItem, ""); // avoid passing possibly undefined Caption
}
}
}
};
setOnItemClickListener(onItemClickListener);

and same to OnItemLongClickListener
Code: [Select]
this.setOnItemLongClickListener(new AdapterView.OnItemLongClickListener() {@Override
public boolean onItemLongClick(AdapterView <?> parent, View view, int position, long id) {
--->>> if (canClick) {
if (!isEmpty(alist)) {  //  <----- thanks to @renabor
selectedItemCaption = alist.get((int) id).label;
controls.pOnListViewLongClickCaptionItem(PasObj, (int)id, alist.get((int)id).label);
return false;
};
lastSelectedItem = (int)id;
};
return false;
}
});

This post related to touch handling  is very interesting and has inspired me

http://www.codeproject.com/Articles/458042/Touch-handling-in-Android

Regards
FPC 3.2.2 | Lazarus 2.2.3 | Kubuntu 22.04 64bit

renabor

  • Jr. Member
  • **
  • Posts: 73
Re: Android Module Wizard
« Reply #582 on: August 12, 2015, 12:32:59 pm »
Hello @jmpessoa!

I need some helps.
Trying implementing FAB inside of jListView i'm unable to resolve 2 problems with image visualized.
Image appears and this is good, but centered in top of screen and not bottm right as I will.
And can't find a solution to inform my code that a click is succeded.
From pascal I use this line that works fine (source attached)

Code: [Select]
jListView1.SetFab(jImageFileManager1.LoadFromResources('ic_android'));

and this is code related added in Controls.java

Code: [Select]
public void setFab( android.view.ViewGroup viewgroup , Bitmap imageBmp) {
  ImageView imageView = new ImageView(ctx);
  imageView.setImageBitmap(imageBmp);
  imageView.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT,LayoutParams.WRAP_CONTENT, Gravity.BOTTOM));
  viewgroup.addView(imageView);
       imageView.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
//                Log.i("FAB","CLICK");
controls.pOnClickFab(PasObj);
            }
        });
}

All works as expected, but when I click on Fab image I get this error:

Code: [Select]
E/art     ( 9774): No implementation found for void com.suevoz.borsa.Controls.pOnClickFab(long) (tried Java_com_suevoz_borsa_Controls_pOnClickFab and Java_com_suevoz_borsa_Controls_pOnClickFab__J)
E/AndroidRuntime( 9774): java.lang.UnsatisfiedLinkError: No implementation found for void com.suevoz.borsa.Controls.pOnClickFab(long) (tried Java_com_suevoz_borsa_Controls_pOnClickFab and Java_com_suevoz_borsa_Controls_pOnClickFab__J)

One solution I tried was such a method in constructor, but is not working:

Code: [Select]
onFabClickListener = new OnClickListener handleOnClick(final Button button) {
View.OnClickListener handleOnClick(final Button button) {
    return new View.OnClickListener() {
        public void onClick(View v) {
          controls.pOnClickFab(PasObj);
        }
    };
}
------------
public  native void pOnClickFab(long pasobj);

any idea?

Thank you in advance!
FPC 3.2.2 | Lazarus 2.2.3 | Kubuntu 22.04 64bit

jmpessoa

  • Hero Member
  • *****
  • Posts: 2297
Re: Android Module Wizard
« Reply #583 on: August 12, 2015, 07:57:31 pm »
@renabor

1. Change here:

Code: [Select]
public void setFab(Bitmap imageBmp) {
  ImageView imageView = new ImageView(controls.activity);
  .....................
}

and Pascal side too!


2. what about "controls.pOnClickFab(PasObj)",  it is "well-defined"?

   2.1 you put a new entry in "ControlsEvents.txt"   -->>  "..\java" ?
         if true then --->> Lazarus IDE ---> Tools -->> Lamw ---> "upgrade code
templates"

             EDITED: You need put there  [ "..\java"] the your new "Controls.java"   too!!
« Last Edit: August 12, 2015, 08:15:36 pm by jmpessoa »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

xinyiman

  • Hero Member
  • *****
  • Posts: 2256
    • Lazarus and Free Pascal italian community
Re: Android Module Wizard
« Reply #584 on: August 26, 2015, 06:24:17 pm »
Solved my problem  when: sudo apt-get install gcc-arm-linux-androideabi




Hello , I'm trying to Install and configure everything on linux . He's following the lead

new_how_to_install_by_renabor.txt

but so far as to run the command me nuts , driving maybe not updated More ?

 make clean crossall OS_TARGET=android CPU_TARGET=arm

Code: [Select]
/usr/bin/ld: attenzione: link.res contiene sezioni di output; forse è stata dimenticata -T
make[2]: uscita dalla directory "/usr/share/fpcsrc/3.1.1/utils/fpcm"
make rtl_clean FPC=/usr/share/fpcsrc/3.1.1/compiler/ppcrossarm
make[2]: ingresso nella directory "/usr/share/fpcsrc/3.1.1"
make -C rtl clean
make[3]: ingresso nella directory "/usr/share/fpcsrc/3.1.1/rtl"
/bin/rm -f fpcmade.arm-android Package.fpc ./ppas.sh script.res link.res 
/bin/rm -f *.s *_ppas.sh
make -C android clean
make[4]: ingresso nella directory "/usr/share/fpcsrc/3.1.1/rtl/android"
/bin/rm -f /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/prt0.o /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/dllprt0.o
/bin/rm -f /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/system.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/uuchar.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/unixtype.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/ctypes.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/baseunix.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/strings.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/objpas.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/macpas.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/iso7185.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/syscall.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/unixutil.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/fpintres.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/heaptrc.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/lineinfo.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/lnfodwrf.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/termio.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/unix.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/linux.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/initc.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/cmem.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/linuxvcs.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/sysutils.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/typinfo.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/math.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/charset.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/cpall.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/character.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/getopts.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/errors.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/dl.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/dynlibs.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/types.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/sysconst.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/cthreads.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/classes.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/fgl.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/rtlconsts.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/dos.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/cwstring.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/fpcylix.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/unixcp.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/fpwidestring.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/exeinfo.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/cp1250.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/cp1251.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/cp1252.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/cp1253.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/cp1254.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/cp1255.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/cp1256.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/cp1257.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/cp1258.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/cp437.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/cp646.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/cp850.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/cp856.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/cp866.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/cp874.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/cp8859_1.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/cp8859_5.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/cp8859_2.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/cp852.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/syslinux.ppu /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/linux.ppu
/bin/rm -f /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/math.rst /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/typinfo.rst /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/sysconst.rst /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/rtlconsts.rst
/bin/rm -f fpcmade.arm-android Package.fpc ./ppas.sh script.res link.res 
/bin/rm -f *.s *_ppas.sh
make[4]: uscita dalla directory "/usr/share/fpcsrc/3.1.1/rtl/android"
make[3]: uscita dalla directory "/usr/share/fpcsrc/3.1.1/rtl"
make[2]: uscita dalla directory "/usr/share/fpcsrc/3.1.1"
make packages_clean FPC=/usr/share/fpcsrc/3.1.1/compiler/ppcrossarm
make[2]: ingresso nella directory "/usr/share/fpcsrc/3.1.1"
make -C packages clean
make[3]: ingresso nella directory "/usr/share/fpcsrc/3.1.1/packages"
make -C fpmkunit clean_bootstrap
make[4]: ingresso nella directory "/usr/share/fpcsrc/3.1.1/packages/fpmkunit"
/bin/rm -rf units_bs
make[4]: uscita dalla directory "/usr/share/fpcsrc/3.1.1/packages/fpmkunit"
make[3]: uscita dalla directory "/usr/share/fpcsrc/3.1.1/packages"
make[2]: uscita dalla directory "/usr/share/fpcsrc/3.1.1"
make rtl_all FPC=/usr/share/fpcsrc/3.1.1/compiler/ppcrossarm FPCFPMAKE=/usr/share/fpcsrc/3.1.1/compiler/ppc RELEASE=1 'OPT='
make[2]: ingresso nella directory "/usr/share/fpcsrc/3.1.1"
make -C rtl all
make[3]: ingresso nella directory "/usr/share/fpcsrc/3.1.1/rtl"
make -C android all
make[4]: ingresso nella directory "/usr/share/fpcsrc/3.1.1/rtl/android"
/bin/mkdir -p /usr/share/fpcsrc/3.1.1/rtl/units/arm-android
arm-linux-androideabi-as  -o /usr/share/fpcsrc/3.1.1/rtl/units/arm-android/prt0.o arm/prt0.as
make[4]: arm-linux-androideabi-as: comando non trovato
Makefile:3487: set di istruzioni per l'obiettivo "prt0.o" non riuscito
make[4]: *** [prt0.o] Errore 127
make[4]: uscita dalla directory "/usr/share/fpcsrc/3.1.1/rtl/android"
Makefile:2772: set di istruzioni per l'obiettivo "android_all" non riuscito
make[3]: *** [android_all] Errore 2
make[3]: uscita dalla directory "/usr/share/fpcsrc/3.1.1/rtl"
Makefile:2588: set di istruzioni per l'obiettivo "rtl_all" non riuscito
make[2]: *** [rtl_all] Errore 2
make[2]: uscita dalla directory "/usr/share/fpcsrc/3.1.1"
Makefile:2878: set di istruzioni per l'obiettivo "build-stamp.arm-android" non riuscito
make[1]: *** [build-stamp.arm-android] Errore 2
make[1]: uscita dalla directory "/usr/share/fpcsrc/3.1.1"
Makefile:2944: set di istruzioni per l'obiettivo "crossall" non riuscito
make: *** [crossall] Errore 2
« Last Edit: August 26, 2015, 09:26:19 pm by xinyiman »
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

 

TinyPortal © 2005-2018