Recent

Author Topic: Fpcupdeluxe  (Read 880764 times)

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1790
Re: Fpcupdeluxe
« Reply #2415 on: January 09, 2024, 11:24:32 am »
Fixes 3.2.3 is now in very good shape !
Even the mORMot2 runs 100% out of the box with fixes on Windows.
And fixes builds and runs Lazarus stable 100% on FreeBSD 14 also !!

BSaidus

  • Hero Member
  • *****
  • Posts: 605
  • lazarus 1.8.4 Win8.1 / cross FreeBSD
Re: Fpcupdeluxe
« Reply #2416 on: January 09, 2024, 06:40:06 pm »
@DonAlfredi, @marcov.
Thank you, and great thank for Freepascal/lazarus community.

lazarus 1.8.4 Win8.1 / cross FreeBSD
dhukmucmur vernadh!

avra

  • Hero Member
  • *****
  • Posts: 2532
    • Additional info
Re: Fpcupdeluxe
« Reply #2417 on: January 12, 2024, 12:45:07 am »
Fixes 3.2.3 is now in very good shape !
FYI, on Win11x64 and Win32i386 Laz fixes / FPC fixes FPCUpDeluxes finishes when "Include Help" is not checked, but fails when it is checked. Tested today.
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

lainz

  • Hero Member
  • *****
  • Posts: 4657
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: Fpcupdeluxe
« Reply #2418 on: January 20, 2024, 04:27:11 pm »
Hi @DonAlfredo.

Can you add lpangocairo-1.0 and lXtst for cross binutils for Linux x86/64?

I can cross compile my program with 32 bit cross compiler, but not with 64 bit cross compiler.

Thanks.


lainz

  • Hero Member
  • *****
  • Posts: 4657
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: Fpcupdeluxe
« Reply #2420 on: January 21, 2024, 10:29:28 am »
The libs do have them.
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/download/crosslibs_all/Linux_AMD64_Ubuntu_1804.zip
Do you mean you need them unversioned ?

Hi.

I don't know really, because I get the next errors when compiling:

Debug: C:\fpcupdeluxe\fpcupdeluxe\cross\bin\x86_64-linux\x86_64-linux-ld.exe: cannot find -lpangocairo-1.0: No such file or directory
Debug: C:\fpcupdeluxe\fpcupdeluxe\cross\bin\x86_64-linux\x86_64-linux-ld.exe: cannot find -lXtst: No such file or directory
MyProgram.lpr(93,1) Error: Error while linking
MyProgram.lpr(93,1) Verbose: There were 1 errors compiling module, stopping
Verbose: Compilation aborted
Verbose: C:\fpcupdeluxe\fpcupdeluxe\fpc\bin\i386-win32\ppcrossx64.exe returned an error exitcode

On my release linux64 there is this path for library
C:\fpcupdeluxe\cross\lib\x86_64-linux\

But it can't find it, I don't know why...

Edit: I'm using

Quote
FPCUPdeluxe V2.2.0q for i386-win32-win32
Running on Win64-10.0.22621
Build with: FPC 3.2.2 on Win11 x86_64

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1790
Re: Fpcupdeluxe
« Reply #2421 on: January 21, 2024, 10:43:12 am »
Try this.

Rename:
C:\fpcupdeluxe\cross\lib\x86_64-linux to C:\fpcupdeluxe\cross\lib\x86_64-linux-old

Download: https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/download/crosslibs_all/Linux_AMD64_Ubuntu_1804.zip

Unpack:
Unpack the new libs into C:\fpcupdeluxe\cross\lib\x86_64-linux

Rebuild your app.
Might be that libxtst.so.6 needs to be copied to libxtst.so

lainz

  • Hero Member
  • *****
  • Posts: 4657
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: Fpcupdeluxe
« Reply #2422 on: January 21, 2024, 02:34:20 pm »
I did that and now it says:

Quote
POSBerry.lpr(93,1) Warning: "crti.o" not found, this will probably cause a linking failure
POSBerry.lpr(93,1) Warning: "crtbeginS.o" not found, this will probably cause a linking failure
POSBerry.lpr(93,1) Warning: "crtendS.o" not found, this will probably cause a linking failure
POSBerry.lpr(93,1) Warning: "crtn.o" not found, this will probably cause a linking failure
C:\fpcupdeluxe\fpcupdeluxe\cross\bin\x86_64-linux\x86_64-linux-ld.exe: cannot find libc_nonshared.a: No such file or directory

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1790
Re: Fpcupdeluxe
« Reply #2423 on: January 22, 2024, 08:26:20 am »
@lainz
That is impossible. Please check the correct name of the directory in which you unpacked the libs.
In your setup, it must be: C:\fpcupdeluxe\fpcupdeluxe\cross\lib\x86_64-linux

lainz

  • Hero Member
  • *****
  • Posts: 4657
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: Fpcupdeluxe
« Reply #2424 on: January 22, 2024, 04:33:20 pm »
Hi, I've done this:

- renamed the folder so it's right

- libXtst.so without extra version
- libpangocairo-1.0.so without extra version

And now works =)

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1790
Re: Fpcupdeluxe
« Reply #2425 on: January 22, 2024, 06:51:04 pm »
Good !
I have updated the libs.

lainz

  • Hero Member
  • *****
  • Posts: 4657
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: Fpcupdeluxe
« Reply #2426 on: January 23, 2024, 01:59:17 pm »
Thankyou!

geraldholdsworth

  • Full Member
  • ***
  • Posts: 219
Re: Fpcupdeluxe
« Reply #2427 on: January 25, 2024, 10:38:08 am »
I have this new problem, and I'm not sure what's causing it. The main install of Lazarus is Darwin x86_64 v3.0. Installed using FPCUpDeluxe 2.4.0c onto macOS Sonoma 14.3.

My project has 9 builds which have, in previous installs, all compiled OK:
aarch64-darwin
aarch64-linux
arm-linux
i386-darwin
i386-linux
i386-win32
x86_64-darwin
x86_64-linux
x86_64-win64

However, now with this updated install (well, I had to completely remove the previous install and start from scratch as upgrading didn't work with FPCUpDeluxe) the i386-darwin compilation fails:
Code: [Select]
Compile checks, Hints: 1
Note: package DateTimeCtrls 1.5.1: passing compiler option -O twice with different values
Hint: (11030) Start of reading config file /Users/geraldholdsworth/fpcupdeluxe/fpc/bin/x86_64-darwin/fpc.cfg
Hint: (11031) End of reading config file /Users/geraldholdsworth/fpcupdeluxe/fpc/bin/x86_64-darwin/fpc.cfg
Free Pascal Compiler version 3.2.2-r0d122c49 [2024/01/02] for i386
Copyright (c) 1993-2021 by Florian Klaempfl and others
(1002) Target OS: Darwin for i386
(3104) Compiling lazutils.pas
(3104) Compiling lazutf8.pas
(3104) Compiling translations.pas
/Users/geraldholdsworth/fpcupdeluxe/lazarus/components/lazutils/translations.pas(252,13) Error: (3026) Wrong number of parameters specified for call to "CompareText"
/Users/geraldholdsworth/fpcupdeluxe/fpc/units/i386-darwin/univint/MacOSAll.ppu:StringCompare.pas(381,10) Error: (5088) Found declaration: CompareText(Pointer;Pointer;SmallInt;SmallInt;Handle):SmallInt;
/Users/geraldholdsworth/fpcupdeluxe/lazarus/components/lazutils/translations.pas(853,7) Error: (3026) Wrong number of parameters specified for call to "CompareText"
/Users/geraldholdsworth/fpcupdeluxe/fpc/units/i386-darwin/univint/MacOSAll.ppu:StringCompare.pas(381,10) Error: (5088) Found declaration: CompareText(Pointer;Pointer;SmallInt;SmallInt;Handle):SmallInt;
/Users/geraldholdsworth/fpcupdeluxe/lazarus/components/lazutils/translations.pas(870,19) Hint: (5091) Local variable "s" of a managed type does not seem to be initialized
translations.pas(1936) Fatal: (10026) There were 4 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /Users/geraldholdsworth/fpcupdeluxe/fpc/bin/x86_64-darwin/ppc386 returned an error exitcode
Seems that something is wrong in the Translations unit.

AlexTP

  • Hero Member
  • *****
  • Posts: 2519
    • UVviewsoft
Re: Fpcupdeluxe
« Reply #2428 on: January 28, 2024, 10:58:38 am »
@geraldholdsworth
Seems that your Lazarus version is not fully compat with your FPC version. FPC 3.2.2 ? try to update it to FPC 3.2.3 from last 'fixes_3_2' git branch. Or - update Lazarus to last 'fixes'.
« Last Edit: January 28, 2024, 11:00:53 am by AlexTP »


 

TinyPortal © 2005-2018