Recent

Author Topic: Fpcupdeluxe  (Read 954083 times)

TRon

  • Hero Member
  • *****
  • Posts: 4377
Re: Fpcupdeluxe
« Reply #2580 on: April 04, 2025, 07:19:18 pm »
Code: Bash  [Select][+][-]
  1. sudo apt-get install -y libgtk2.0-0-dev
but I got message "Package libgtk2.0-0-dev could not be found". Maybe there is a typo too?

I'm not familiar with this stuff. Please could someone check (and correct) this? Thanks.
In order to list a package matching some text:
Code: Bash  [Select][+][-]
  1. apt search <text>
  2. e.g.
  3. apt search libgtk2
  4.  
Some versions do not contain the additional zero but the result from that command is able to tell you that (e.g. print exact names of all packages containing the text "libgtk2").


« Last Edit: April 04, 2025, 07:21:20 pm by TRon »
Today is tomorrow's yesterday.

Hartmut

  • Hero Member
  • *****
  • Posts: 1000
Re: Fpcupdeluxe
« Reply #2581 on: April 05, 2025, 09:27:31 am »
I tried
Code: Bash  [Select][+][-]
  1. apt search libgtk2
and on my Ubuntu 22.04 I got
Code: Text  [Select][+][-]
  1. libgtk2.0-dev
so my version does not contain the additional zero. Thanks TRon for clarification.

RDL

  • Jr. Member
  • **
  • Posts: 72
Re: Fpcupdeluxe
« Reply #2582 on: April 08, 2025, 04:43:21 am »
Hello.

Can anyone help with this problem?  :)

I have successfully installed the riscv64 cross compiler, but I can't figure out how to use it in Lazarus

https://github.com/LongDirtyAnimAlf/fpcupdeluxe/issues/752
« Last Edit: April 08, 2025, 04:45:22 am by RDL »
Sorry for my english, google translation!

Philippe1

  • Newbie
  • Posts: 6
Re: Fpcupdeluxe which version
« Reply #2583 on: April 17, 2025, 10:45:54 am »
Hello from France,
I'm looking for an advice. I made an application with Lazarus 3.6 plus several libraries. Now as I need to make it work for Android, I have two options :
  • Wait for a new version of Fpcupdeluxe working with the 3.6 version of Lazarus
  • Adapt my code to work with a previous version of Lazarus and the latest version of Fpcupdeluxe

What should I do? I believe it's a lot of work coding a new version of Fpcupdeluxe but if I'm not off the mark, could I have an approximate release date for the new version?

Thanks
Philippe


Philippe1

  • Newbie
  • Posts: 6
Re: Fpcupdeluxe
« Reply #2585 on: April 28, 2025, 03:09:12 pm »
Hello,
Thanks a lot, that was very helpfull.   :D
Philippe

Josh

  • Hero Member
  • *****
  • Posts: 1424
Re: Fpcupdeluxe
« Reply #2586 on: May 25, 2025, 07:57:14 am »
Hi

Trying to install macos cross compilers on trunk fpc and laz; and getting
No rule to make target `system.pp', needed by `system.ppu'

Using fpcupdeluxe-i386-win32 2.4.0f
I have a  fixes install in seperate folder that is fine and has cross compilers for x64, macos x64and aarch64.
All working fine.

Seperate folder
Base installis fine, cross compiler for win-x64 is fine.
But macOs Crosscompilers fail with above message.
I have also tried adding -WM10.15 to custom options, no difference same error..

Any ideas??

The best way to get accurate information on the forum is to post something wrong and wait for corrections.

BSaidus

  • Hero Member
  • *****
  • Posts: 633
  • lazarus 1.8.4 Win8.1 / cross FreeBSD
Re: Fpcupdeluxe
« Reply #2587 on: June 08, 2025, 12:14:50 pm »
Hello @DonAlfredo.
Excuse me for this, but I wonder why we still using binary libs for OpenBSD 6.
Is it possible to Update Binary Libs for OpenBSD to minimum 7.4, 7.5, 7.6 or 7.7 for both i386 & x86_64 architectures.

Thank you.

PS: If some one can help me ( packages needed to be installed ) I can try to help doing it.
lazarus 1.8.4 Win8.1 / cross FreeBSD
dhukmucmur vernadh!

Okoba

  • Hero Member
  • *****
  • Posts: 621
Re: Fpcupdeluxe
« Reply #2588 on: July 11, 2025, 03:56:30 am »
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:
Quote
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:
Quote
[ 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?

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1840
Re: Fpcupdeluxe
« Reply #2589 on: July 11, 2025, 08:17:16 am »
https://forum.lazarus.freepascal.org/index.php/topic,59716.msg446716.html#msg446716

Code: Pascal  [Select][+][-]
  1.   //{$LINKLIB kernel32}
  2.   //{$LINKLIB user32}
  3.  

Okoba

  • Hero Member
  • *****
  • Posts: 621
Re: Fpcupdeluxe
« Reply #2590 on: July 11, 2025, 12:51:18 pm »
Thank you. It worked and passed the error but now stucking on this:
Quote
fpcupdeluxe: info: FPC Native Installer (BuildModule: FPC): Removal of stale build files and directories for x86_64-win64. May take a while.
Found valid svn.exe application.
Found valid git.exe application.
Found valid hg.exe application.
Found valid make.exe application.
fpcupdeluxe: ERROR: Lazarus Native Installer (BuildModule: Lazbuild): C:\Development\Lazarus\lazarus\Makefile not found. Severe error. Should not happen. Aborting build Lazbuild.


ERROR: Fpcupdeluxe fatal error !
Sequencer (UserIDE): Failure running fpcupdeluxe: error executing sequence UserIDE
Sequencer (LazarusCleanBuildOnly): Failure running fpcupdeluxe: error executing sequence LazarusCleanBuildOnly
Sequencer (Only): Failure running fpcupdeluxe: error executing sequence Only

I commented those 2 lines, unset Get FPC/Laz from repositories and set FPC/Laz Build Only in Setup+.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1840
Re: Fpcupdeluxe
« Reply #2591 on: July 11, 2025, 01:04:37 pm »
This is to be expected.
Setting "FPC/Laz Build Only" does inhibit the download/update of the sources. To prevent changes from being overwritten by an update when running fpcupdeluxe.
So, uncheck this option and choose to install Lazarus only.

Sidenote.

If this option remains unchecked when updating the FPC sources, a patch will be created inside the fpc source directory. This patch contains your changes regarding the FPC sources.
You can add this patch in Setup+ to auto-magically apply your changes to the vanilla FPC sources.

Personally, I copy over the patch into the directory in which fpcupdeluxe is running, so the patch remains available.

Okoba

  • Hero Member
  • *****
  • Posts: 621
Re: Fpcupdeluxe
« Reply #2592 on: July 11, 2025, 06:07:25 pm »
Here are the steps, please fix if needed:
- Use "Only FPC"
- Disable the mentioned lines "2 lines in gdbint.pp (701 and 702)", kernel32 and user32.
- Using Setup+, unset "Get FPC/Laz repositories" and set "FPC/Laz rebuild only"
- Use "Only FPC" again
- Using Setup+, set "Get FPC/Laz repositories" and unset "FPC/Laz rebuild only"
- Use "Only Lazarus"

I tried to update from source again, but where is the mentioned patch is created?
Why the original issue is happening?
Is this a FPC bug?
Can it be resolved by fpcupdelux?
Does it happen for all X64 installs on ARM64?
Is there a way to have native ARM64 install on Windows ARM64?

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1840
Re: Fpcupdeluxe
« Reply #2593 on: July 12, 2025, 10:02:33 am »
FPC [trunk] does not [yet] support native ARM64 for Windows. However, X86[_64] should run without too many problems.
So, you do not need to use fpcupdeluxe. Just use the standard Windows x86_64 binaries from the FPC and Lazarus  downloads.

Okoba

  • Hero Member
  • *****
  • Posts: 621
Re: Fpcupdeluxe
« Reply #2594 on: July 12, 2025, 11:31:04 am »
I need the trunk, the reason I am using fpcupdelux. It is working now, thanks to you.

 

TinyPortal © 2005-2018