Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Cross-Platform-Entwicklung (https://www.delphipraxis.net/91-cross-platform-entwicklung/)
-   -   compile Lockbox with compiler settings LINUX (https://www.delphipraxis.net/213345-compile-lockbox-compiler-settings-linux.html)

bernhard_LA 13. Jul 2023 15:13

compile Lockbox with compiler settings LINUX
 
ich kann leider TurboPower LockBox nicht für LINUX compilieren


Delphi-Quellcode:
function Add_uint64_WithCarry( x, y: uint64; var Carry: Boolean): uint64;
function Add_uint32_WithCarry( x, y: uint32; var Carry: Boolean): uint32;

function Subtract_uint64_WithBorrow( x, y: uint64; var Borrow: Boolean): uint64;
function Subtract_uint32_WithBorrow( x, y: uint32; var Borrow: Boolean): uint32;

function BitCount_8 ( Value: byte): integer;
function BitCount_16( Value: uint16): integer;
function BitCount_32( Value: uint32): integer;
function BitCount_64( Value: uint64): integer;
function CountSetBits_64( Value: uint64): integer;

Fehlermeldung:


Delphi-Quellcode:
[DCC Error] uTPLb_IntegerUtils.pas(46): E2065 Unsatisfied forward or external declaration: 'Add_uint64_WithCarry'
[DCC Error] uTPLb_IntegerUtils.pas(47): E2065 Unsatisfied forward or external declaration: 'Add_uint32_WithCarry'
[DCC Error] uTPLb_IntegerUtils.pas(49): E2065 Unsatisfied forward or external declaration: 'Subtract_uint64_WithBorrow'
[DCC Error] uTPLb_IntegerUtils.pas(50): E2065 Unsatisfied forward or external declaration: 'Subtract_uint32_WithBorrow'

peterbelow 13. Jul 2023 16:55

AW: compile Lockbox with compiler settings LINUX
 
Zitat:

Zitat von bernhard_LA (Beitrag 1524542)
ich kann leider TurboPower LockBox nicht für LINUX compilieren


Delphi-Quellcode:
function Add_uint64_WithCarry( x, y: uint64; var Carry: Boolean): uint64;
function Add_uint32_WithCarry( x, y: uint32; var Carry: Boolean): uint32;

function Subtract_uint64_WithBorrow( x, y: uint64; var Borrow: Boolean): uint64;
function Subtract_uint32_WithBorrow( x, y: uint32; var Borrow: Boolean): uint32;

function BitCount_8 ( Value: byte): integer;
function BitCount_16( Value: uint16): integer;
function BitCount_32( Value: uint32): integer;
function BitCount_64( Value: uint64): integer;
function CountSetBits_64( Value: uint64): integer;

Fehlermeldung:


Delphi-Quellcode:
[DCC Error] uTPLb_IntegerUtils.pas(46): E2065 Unsatisfied forward or external declaration: 'Add_uint64_WithCarry'
[DCC Error] uTPLb_IntegerUtils.pas(47): E2065 Unsatisfied forward or external declaration: 'Add_uint32_WithCarry'
[DCC Error] uTPLb_IntegerUtils.pas(49): E2065 Unsatisfied forward or external declaration: 'Subtract_uint64_WithBorrow'
[DCC Error] uTPLb_IntegerUtils.pas(50): E2065 Unsatisfied forward or external declaration: 'Subtract_uint32_WithBorrow'

Der Lockbox-Kode erkennt Linux als Platform nur wenn das Symbol LINUX64 für diese Platform definiert ist. Du kannst das notfalls händisch in die Projektkonfiguration eintragen, aber eigentlich sollte der Compiler das interern tun wenn der Support für diese Platform installiert ist.

Uwe Raabe 13. Jul 2023 17:07

AW: compile Lockbox with compiler settings LINUX
 
Delphi 10.2 Tokyo Professional unterstützt kein Linux als Target. Das geht erst ab Enterprise.

himitsu 13. Jul 2023 18:35

AW: compile Lockbox with compiler settings LINUX
 
Leider :cry:

Aber vielleicht wie bei mit?
Links steht stand früher mal mein eigenes Delphi (es es da noch den Unterschied gab)
und dann gibt's noch das auf Arbeit. (oder bei Manchen auch kostenlos runtergeladene Enterprise) :shock:


Alle Zeitangaben in WEZ +1. Es ist jetzt 09:23 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz