I am trying my first Android app, using lazarus 3.2.2, on Windows 11. When I try to build the application, I get the error
C:\lazarus\fpc\3.2.2\bin\x86_64-win64\fpc.exe does not support target arm-linux. In the configurator "Build Lazarus", the settings I have are 'Profile to Build='Clean up + Build All'
LCL Widget Type=win32/win64
Target OS= linux
Target CPU=arm.
What's my next step to correct this?
Copilot AI says download cross-compiler for arm-linux -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20240922/0933b65f/attachment.htm>
Mailing lists / lazarus / 2024-09
Android applications
7 messages · 4 people · –
- LLarry Dalton 3
- JJean SUZINEAU 2
- JJohn Landmesser 1
- MMattias Gaertner 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
May be it would be easier to use LAMW Lazarus for Android module Wizard ?
It can install on Windows all the stuff needed to build applications for Android with Lazarus.
It?s already loaded and installed. Still get the same error code
On Sun, Sep 22, 2024 at 18:22 Jean SUZINEAU via lazarus <
Show quoted text 15 lines
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20240922/7c3aa198/attachment.htm>
Usually to build the application with LAMW, I use the? Lazarus menu "Run" /? "[LAMW] Build Android Apk and Run"
The LAMW application consist of a dll project controls.lpr loaded by the android java program through JNI.
For controls.lpr, the target OS is Android, target CPU arm.
I am trying my first Android app, using lazarus 3.2.2, on Windows 11. When I try to build…
Larry Dalton wroteI am trying my first Android app, using lazarus 3.2.2, on Windows 11. When I try to build the application, I get the error C:\lazarus\fpc\3.2.2\bin\x86_64-win64\fpc.exe does not support target arm-linux.
You need to install a fpc cross compiler for arm-linux. Copilot was correct here.
In the configurator "Build Lazarus", the settings I have are
'Profile to Build='Clean up + Build All'
The "Build Lazarus" is for building the IDE.
For your project look into Project / Project Options / Compiler Options.
Mattias
I need to know which cross compiler I need, and where I can download it
On Mon, Sep 23, 2024 at 03:25 Mattias Gaertner via lazarus <
Show quoted text 30 lines
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20240924/99afbf47/attachment.htm>
Perhaps have a
https://castle-engine.io/fpcupdeluxe#_cross_compilation_to_android
No. i never did that !
Good luck
John Landmesser
Larry Dalton wrote 36 lines
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20240925/40cd0296/attachment.htm>
