Hello
I am trying to install Lazarus on Windows Arm 64. The X64 stable setup from Lazarus website install and compiles just fine. But trying to get stable or fixes using fpcupdelux leads to error saying kernel32.dll header is not a match.
I got the latest fpcupdelux for Win64.
Installing using fpcupdelux for Win32 works fine, and Lazarus can compile and debug. I installed cross compile for win64, and works fine, Lazarus compiles but can not debug.
One point is that when I open fpcupdelux it starts with:
FPCUPdeluxe V2.4.0f for x86_64-win64-win32
Running on Win64-10.0.26100
Build with: FPC 3.2.3 on Win11 x86_64
It seems trying to install win32!
Here is the latest message leading to error:
[ 43%] Compiled package fv
Start compiling package gdbint for target x86_64-win64.
File libgdb.a not found
Compiling gdbint\src\gdbint.pp
The installer encountered the following error:
External command "C:/Development/Lazarus/fpcsrc/compiler/ppcx64.exe -Twin64 -FUgdbint\units\x86_64-win64\ -FuC:\Development\Lazarus\fpcsrc\rtl\units\x86_64-win64\ -Figdbint\src -Fl -Ur -Xs -O2 -n -vw-n-h-l-d-u-t-p-c- -dFPC_SOFT_FPUX80 -dx86_64 -dRELEASE -Sc -viq gdbint\src\gdbint.pp" failed with exit code 1. Console output:
Target OS: Win64 for x64
Compiling gdbint\src\gdbint.pp
User defined: using gdb 6.6.x
gdbint.pp(3726) Error: Invalid DLL C:\WINDOWS\system32\kernel32.dll, invalid header size
gdbint.pp(3726) Error: Invalid DLL C:\WINDOWS\system32\user32.dll, invalid header size
Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted
make.exe[1]: *** [packages_all] Error 2
C:\Development\Lazarus\fpcbootstrap\make.exe: *** [build-stamp.x86_64-win64] Error 2
fpcupdeluxe: ERROR: FPC Native Installer (BuildModule: FPC): Error running C:\Development\Lazarus\fpcbootstrap\make.exe for FPC failed with exit code 2
. Details: .
My end goal is to compile and debug Win64 programs on Windows Arm 64.
Is it possible?