LAMW projects do not compile anymore lazarus / 43-Android ---------------------------------------------------------------------- CC · 2021-05-06 16:18 Hi, I have not compiled a LAMW project for a while. After pulling the latest LAMW + ugdating FPC&Lazarus (fixes branches) with the latest  FPCUpDeluxe now I am getting this error even for a freshly created LAMW GUI project: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i Compile Project, OS: android, CPU: arm, Target: C:\A\Test\AppLAMWProject2\libs\armeabi-v7a\libcontrols.so: Exit code 1, Errors: 1Fatal: Cannot find system used by controls. Make sure all ppu files of a package are in its output directory. ppu in wrong directory=D:\fpcupdeluxe_fixes\fpc\units\arm-android\rtl\system.ppu.. What settings should I check? PS: I have read about LAMW Manager, but I prefer&use Windows 7 which is not supported by that. ---------------------------------------------------------------------- CC · 2021-05-07 08:42 To answer my question: FPCUpDeluxe earlier had  default options for android cross compilation which were suitable for LAMW. It is not the case any more, but it's setup  includes a "Cross build override" edit box. So the solution generally is to add the necessary options needed for your LAMW project. These worked for me: "Select CPU" = arm "Select OS" = android "Cross build override"  = -CaEABI -Xd -CfVFPv3 -CpARMV7A -XParm-linux- androideabi-  (maybe not all of them is actually necessary) "ARM target" = armhf tfpandroidbridge_pack.lpk "Compiler options" --> "Custom options" =$(IDEBuildOptions) -CfVFPV3 -CpARMV7A ---------------------------------------------------------------------- Mongkey · 2021-06-25 14:41 ---------------------------------------------------------------------- Guser979 · 2021-09-19 04:29 An alternative to Fpdeluxe:   I use Lazarus 64 bit v 2.0.2 (Windows) and I have cross-compilers working that way: 1- Install fpc-3.2.2.win32.and.win64.exe 2 - Install fpc-3.2.2.i386-win32.cross.android .exe 3 - Download zip https://sourceforge.net/projects/freepascal/files/Source/3.2.2/ and extract only the fpcsrc folder to FPC folder 4- In Tools\Options change Compiler Executable and FPC Source Directory 5- LAMW Android Project Options\Build change to ARMV7a+VFPv3 It was the fastest way to compile Win32 Win64 Android ( with ANT or Gradle) LAMW and FPC is a mystery to be solved. I tried to play it on a friend's pc, exactly what I did and it works on my pc. Result: Fail.   Now I'm investigating why this works for me. When I find out I'll do an update here.