Welcome, Guest
Username: Password: Remember me
Discussions for CodeTyphon Studio Installation and Setup.
  • Page:
  • 1

TOPIC:

Cross compiling problem 5 years 3 months ago #13582

  • William
  • William's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 57
  • Thank you received: 1
I followed the instructions at www.pilotlogic.com/sitejoom/index.php/wiki?id=222
to build a simple android program.

If I compile with CodeTyphon32, I get this error:

Compile with CodeTyphon32
Error: Compiler "C:\codetyphon\fp(\fpc32\bin\i386—win32\fpc.exe" does not support target arm-android


If I compile with CodeTyphon64, I get this error:

Compile with CodeTyphon64
Linking C:\CodeTyphonProjects\Basichm\project1
c:\codetyphon\fpc\fpc64\bin\)<86_64-win64\arm-android-ld.exe: error: C:\CodeTyphonProjects\Basichm\link.res:350:8: syntax error, unexpected STRING
c:\c0detyphon\fpc\fpc64\bin\x86_64-win64\arm-android-Id.exe: fatal error: unable to parse script file C:\CodeTyphonProjects\BasicPgm\link.res
projectl.ppr(B,0) Error: Error while linking

link.res:350:8 = INSERT BEFORE .data1


Any help / suggestions appreciated.

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

Cross compiling problem 5 years 3 months ago #13583

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
For Typhon32 you must first build FPC32 cross-Element arm-android

please follow these steps www.pilotlogic.com/sitejoom/index.php/wiki?id=222

and please give us more info
your OS, RAM, CT ver, etc
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

Cross compiling problem 5 years 3 months ago #13585

  • William
  • William's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 57
  • Thank you received: 1
System Description:

Operating System Microsoft Windows 7 Pro 64-Bit
Manufacturer Dell Inc.
Model OptiPlex 980
Number of Processors 4
Processor Description Intel(R) Core(TM) i5 CPU 660 @ 3.33GHz
Total Memory 8192MB

I had build FPC32 cross-Element arm-android for 64, but not for 32.
It is compiling ok now in Typhon32.

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

Last edit: by William.

Cross compiling problem 5 years 3 months ago #13587

  • William
  • William's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 57
  • Thank you received: 1
Can someone tell me how I can package my executable into an APK so I can install it on my phone to test it?

Thanks

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

Cross compiling problem 5 years 3 months ago #13588

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir
CodeTyphon don't support apk.* files build.
ark file is a simple zip file and you can open it with applications like 7zip, Rar, etc

Please search on the web for a solution

PS: Your CodeTyphon version ?
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

Cross compiling problem 5 years 3 months ago #13589

  • William
  • William's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 57
  • Thank you received: 1
CodeTyphon 6.80.

I am not familiar with running an android app that wasn't installed. I can load my CodeTyphon android app on my phone, but I don't know how to execute it. It tries to open it with text browsers only.

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

  • Page:
  • 1