Help needed setting up LAMW... lazarus / 32-Linux ---------------------------------------------------------------------- silvercoder70 · 2025-06-16 22:20 Background - Starting with Lazarus 4.0 - Installed Android Studio and installed parts needed (ndk, command line tools, etc.) - Using fpcupdeluxe to install LAM4 and then cross compiler - At end of cross compiler addition ... Code: Text  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i fpcupdeluxe: info: FPC Cross Installer (BuildModuleCustom: FPC): Adding fpc.cfg config snippet for target aarch64-android.fpcupdeluxe: info: FPCCrossInstaller (InsertFPCCFGSnippet: fpc.cfg): Inserting snippet in /home/tim/freepascal/fpc/bin/x86_64-linux/fpc.cfg done.fpcupdeluxe: info: FPC Cross Installer (BuildModuleCustom: FPC): Building cross-compiler for aarch64-android finished.fpcupdeluxe: info: FPC Cross Installer (CreateFPCScript): fpc.sh launcher script already exists (/home/tim/freepascal/fpc/bin/x86_64-linux/fpc.sh); trying to overwrite it.fpcupdeluxe: info: FPC Cross Installer (CreateFPCScript): Created launcher script for FPC:/home/tim/freepascal/fpc/bin/x86_64-linux/fpc.sh.fpcupdeluxe: info: FPC Cross Installer (BuildModule: FPC): Removal of stale build files and directories for aarch64-android. May take a while.fpcupdeluxe: info: FPC Cross Installer (BuildModule: FPC): Removal of stale build files and directories for x86_64-linux. May take a while.  and when starting Lazarus (I tried to create a LAMW project): Code: [Select]Compiler "/home/tim/freepascal/fpc/bin/x86_64-linux/fpc.sh" does not support target aarch64-android and contents of that file are: Code: [Select]#!/bin/sh # This script starts the fpc compiler installed by fpcup # and ignores any system-wide fpc.cfg files # Note: maintained by fpcup; do not edit directly, your edits will be lost. /home/tim/freepascal/fpc/bin/x86_64-linux/fpc -n @/home/tim/freepascal/fpc/bin/x86_64-linux/fpc.cfg "$@" lastly this was added to fpc.cfg: Code: [Select]# begin fpcup do not remove aarch64-android # Inserted by up v2.4.0f on 17-6-25 07:59:44 # Cross compile settings dependent on both target OS and target CPU #IFDEF FPC_CROSSCOMPILING #IFDEF ANDROID #IFDEF CPUAARCH64 -FD/home/tim/freepascal/cross/bin/all-android/bin -XPaarch64-linux-android- -Xd -Fl/home/tim/Android/Sdk/ndk/29.0.13599879/toolchains/llvm/prebuilt/li nux-x86_64/sysroot/usr/lib/aarch64-linux-android/35 #ENDIF CPUAARCH64 #ENDIF ANDROID #ENDIF FPC_CROSSCOMPILING # end fpcup do not remove I have messed something up?!? Any clues to get past that error message. Any assistance greatly appreciated! ---------------------------------------------------------------------- silvercoder70 · 2025-06-17 10:12 fixed that error by using the rescan function. But now when I create a project Code: [Select]SetPrimaryConfigPath NewValue="/home/tim/freepascal/config_lazarus" Hint: (lazarus) Using config file: "/home/tim/freepascal/lazarus/lazarus.cfg" Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] PrimaryConfigPath="/home/tim/freepascal/config_lazarus" Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] SecondaryConfigPath="/etc/lazarus" TLResourceList.Sort 153 DUPLICATE RESOURCE FOUND: jzbarcodescannerview:PNG Hint: (lazarus) [TMainIDE.DoOpenProjectFile] "/home/tim/freepascal/pro jects/LAMWProjects/AppLAMWProject7/jni/controls.lpi" Hint: (lazarus) [TBuildManager.SetBuildTarget] Old=x86_64-linux--gtk2 New=aarch64-android--gtk2 Changed: OS/CPU=True LCL=False ---------------- ### TCodeToolManager.HandleException: [20170421194936] "no pascal code found (first token is )" in "unit1.pas" Hint: [TGtk2WidgetSet.AppRemoveStayOnTopFlags] ignoring active window: x=-2071043168 y=32115 -2106244544x0 TApplication.HandleException: EListError List index (5) out of bounds   Stack trace:   $00000000005208C9   $0000000000E8CBDE  GETDSGNCOMPONENTBASECLASSNAME,  line 8470 of sourcefilemanager.pas   $0000000000E7E063  CREATENEWFORM,  line 4809 of sourcefilemanager.pas   $0000000000E755BE  NEWFILE,  line 2556 of sourcefilemanager.pas   $00000000004BEBE0  DONEWFILE,  line 5823 of main.pp   $0000000000AEDE78  DONEWEDITORFILE,  line 824 of lazideintf.pas   $00000000016DAC2A  CREATESTARTFILES,  line 3928 of androidwizard_intf.pas   $0000000000E7A6BF  INITNEWPROJECT,  line 3954 of sourcefilemanager.pas   $00000000004C12E8  DONEWPROJECT,  line 6502 of main.pp   $0000000000E759D2  NEWOTHER,  line 2638 of sourcefilemanager.pas   $00000000004B4666  MNUNEWOTHERCLICKED,  line 3271 of main.pp   $0000000000AE87DF  MENUITEMCLICK,  line 563 of menuintf.pas   $0000000000AEC610  MENUITEMCLICK,  line 1721 of menuintf.pas   $00000000005D0E11  CLICK,  line 83 of include/menuitem.inc   $00000000005D1728  DOCLICKED,  line 297 of include/menuitem.inc   $00000000004327EA   $0000000000651100  DELIVERMESSAGE,  line 3801 of gtk2/gtk2proc.inc