× CodeTyphon Cross-Build Development, discussions and problems

Question compile ppcjvm jvm-android-java not found

  • zeljko
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 3 months ago #7909 by zeljko
os: debian 8 jessie 64 (architecture i386)
CT 5.50
LCL widget type: qt5
Typhon 32 and Typhon 64 (multi arch)

compile
/usr/lib/codetyphon/fpcsrc/compiler/ppcjvm
build cross element: jvm-java, jvm-android
unit Project1;

{$mode objfpc}{$H+}
{$modeswitch unicodestrings}
{$namespace com.zeljus.button}
interface
uses
   androidr14;
type
  MainActivity = class(AAActivity)
    procedure onCreate(savedInstanceState: AOBundle); override;
  end;
implementation
procedure MainActivity.onCreate(savedInstanceState: AOBundle);
var
 layout: AWLinearLayout;
begin
  inherited onCreate(savedInstanceState);
  layout:= AWLinearLayout.Create(Self);
  layout.setOrientation(AWLinearLayout.VERTICAL);
  setContentView(layout);
end;
end.
Error: Assembler jvm-android-java not found, switching to external assembling

Work to project create new android project, create apk comand line
Help to compile ppcjvm

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
6 years 3 months ago - 6 years 3 months ago #7910 by Sternas Stefanos
Replied by Sternas Stefanos on topic compile ppcjvm jvm-android-java not found
Thanks Sir
we have the same problem with FreePascal
can't build jvm-android-java and jvm-java

Wow, Debian MultiArch and QT5 ?

PilotLogic Architect and Core Programmer
Last edit: 6 years 3 months ago by Sternas Stefanos.

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

  • zeljko
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 3 months ago #7911 by zeljko
Replied by zeljko on topic compile ppcjvm jvm-android-java not found
Thanks,
How can the Debian or qt ?

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

  • zeljko
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 3 months ago - 6 years 3 months ago #7912 by zeljko
Replied by zeljko on topic compile ppcjvm jvm-android-java not found
compile to comand line

-Fu/usr/lib/codetyphon/fpc/fpc32/units/jvm-android/rtl
permissen denied
chmod 0777 -R /usr/lib/codetyphon/fpc/fpc32/units/jvm-android/rtl

work compile comand line
/usr/lib/codetyphon/fpc/fpc64/bin/x86_64-linux/ppcjvm -n -Tandroid -Fu/usr/lib/codetyphon/fpc/fpc32/units/jvm-android/rtl -FEbin/classes /home/zeljko/RAZVOJ/Android/Projekti/TEMP/Button.pas
Last edit: 6 years 3 months ago by zeljko.

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
6 years 3 months ago #7913 by Sternas Stefanos
Replied by Sternas Stefanos on topic compile ppcjvm jvm-android-java not found
Sir, give us time
we fix the problem on Windows, we must test now on Linux...

PilotLogic Architect and Core Programmer

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