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

TOPIC:

compile android application 11 years 2 months ago #3032

  • zeljko
  • zeljko's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 207
  • Thank you received: 38
debian gnome 6.0.3 64 bit

CodeTyphon 3.10


problem compile library

message:


Options changed, recompiling clean with -B
/usr/lib/codetyphon/fpc/bin/x86_64-linux/arm-linux-ld: warning: /home/zeljko/programs/exampl/proba01/android/libs/armeabi/link.res contains output sections; did you forget -T?
/usr/lib/codetyphon/fpc/bin/x86_64-linux/arm-linux-ld: BFD (GNU Binutils) 2.22 assertion fail elf32-arm.c:8098
/usr/lib/codetyphon/fpc/bin/x86_64-linux/arm-linux-ld: BFD (GNU Binutils) 2.22 assertion fail elf32-arm.c:8098
/usr/lib/codetyphon/fpc/bin/x86_64-linux/arm-linux-ld: BFD (GNU Binutils) 2.22 internal error, aborting at elf32-arm.c line 7273 in elf32_arm_add_dynreloc
/usr/lib/codetyphon/fpc/bin/x86_64-linux/arm-linux-ld: Please report this bug.
project1.lpr(38) Error: Error while linking
project1.lpr(38) Fatal: There were 1 errors compiling module, stopping

android application
sory

The application LCL test (process com.pascal.lcl ....

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

compile android application 11 years 2 months ago #3044

  • zeljko
  • zeljko's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 207
  • Thank you received: 38
problem compile android application winxp 32 and CodeTyphon 3.10

1._____________________________
LAZARUS 1.1
FPC Version 2.7.1
svn 39670

compile library liblclapp.so, build_debug_apk.bat and adb_install.bat

android application work

2._____________________________________
CodeTyphon 3.10

lazarus change application:

Project -> options -> Other
add -FLlibdl.so

LCLWidgetType change LCLWidgetType1

compile library liblclapp.so, build_debug_apk.bat and adb_install.bat

android application not work

emulator message:

Sorry!

The application LCL Test
(process com.pascal.lcltest)
has stopped unexpectedly.
Please try again.


Test compile options:

HINT: using config file C:\codetyphon\fpc\bin\i386-win32\fpc.cfg
WARNING: ppu exists twice: C:\codetyphon\fpc\units\arm-linux\fv\dialogs.ppu, C:\codetyphon\lazarus\lcl\units\arm-linux\dialogs.ppu
WARNING: ppu exists twice: C:\codetyphon\fpc\units\arm-linux\fv\menus.ppu, C:\codetyphon\lazarus\lcl\units\arm-linux\menus.ppu

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

Last edit: by zeljko.

compile android application 11 years 1 month ago #3313

  • zeljko
  • zeljko's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 207
  • Thank you received: 38
Wndows XP 32:

I installed codetyphon 4.0 and the problem is the same

extract laz4android-38150.rar and compile examples\androidlcl
compile library android\libs\armeabi\liblclapp.so

1. build_debug_apk.bat
2. adb_install.bat (send to emulator)
aplication to emulator work

delete library android\libs\armeabi\liblclapp.so

CodeTyphon 4.0 open examples\androidlcl (same)
Options other add (-FLlibdl.so)
compile library android\libs\armeabi\liblclapp.so

1. build_debug_apk.bat
2. adb_install.bat (send to emulator)
aplication to emulator not work

Sory!

The application LCL Test
(process com.pascal.lcltest)
has stopped unexpectedly.
Please try again.

what is the difference in configuration?

CodeTyphon 4.0 change compiler path to ..\laz4android\fpc\2.5.1\bin\i386-win32\fpc.exe
problem UTF8Process.pas
change
95 //FExecutableUTF8:=SysToUTF8(inherited Executable);
97 //Src:=inherited Parameters;
135 //inherited Executable:=UTF8ToSys(FExecutableUTF8);
158 //inherited Parameters:=sl;

then
compile library android\libs\armeabi\liblclapp.so

1. build_debug_apk.bat
2. adb_install.bat (send to emulator)
aplication to emulator work

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

Last edit: by zeljko.

compile android application 11 years 3 weeks ago #3429

  • zeljko
  • zeljko's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 207
  • Thank you received: 38
Windows XP 32, CodeTyphon 4.10

compile androidlcltest, windows message:
arm-linux-ld.exe has encountered a problem and neds to close.
We are sorry for the inconvevenience.

Debug Send Error Report Don't Send

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

compile android application 11 years 3 weeks ago #3446

  • zeljko
  • zeljko's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 207
  • Thank you received: 38
if anyone has an example of graphics on Android with CodeTyphon 4.1 winxp 32 and without java

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

  • Page:
  • 1