Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazurus compile fails #378

Open
TehPlayer14 opened this issue Jul 7, 2017 · 6 comments
Open

Lazurus compile fails #378

TehPlayer14 opened this issue Jul 7, 2017 · 6 comments

Comments

@TehPlayer14
Copy link

TehPlayer14 commented Jul 7, 2017

Lazurus compile seems to fail or its broken

KM_Settings.pas(5,38) Fatal: Cannot find System.UITypes used by KM_Settings.

Out commenting this line reveals some unknown functions that make the compile fail

@reyandme
Copy link
Contributor

Yes, unfortunally Lazarus compilation is broken now. I tried to make quick fix for it, but then postponed that task to the future

@reyandme
Copy link
Contributor

I fixed it in my repository. But not sure if its easy to make PR now, since I am pretty far from Krom's repo now

@Rimplot
Copy link

Rimplot commented Jan 14, 2018

I have just tried Lazarus too, and it does not compile for me either – I thought that I might be doing something wrong, but then I found this issue.

Let me ask you: what compiler are you using then?

@LauraRozier
Copy link
Contributor

@reyandme
Copy link
Contributor

Delphi Tokio had some compilation issues, that made project not working properly.
Literaly some operations was not as they should be.
We have added some small fixes into the project, to make it better, but then had found other errors...
Then Delphi Tokio 10.2.2 main version was released, which probably should fix most of the issues. Not sure, though did they released Tokio Starter too.
So @akislb99 if any problems still occurs with Tokio starter, please report. Thank you.
In case you can use Delphi Berlin - use it, its working perfect.

@Danjb1
Copy link

Danjb1 commented Mar 10, 2019

Compilation errors in RXXPacker project using Lazarus v2.0.0 (32-bit):

Hint: (11030) Start of reading config file D:\lazarus\fpc\3.0.4\bin\i386-win32\fpc.cfg
Hint: (11031) End of reading config file D:\lazarus\fpc\3.0.4\bin\i386-win32\fpc.cfg
Free Pascal Compiler version 3.0.4 [2019/02/03] for i386
Copyright (c) 1993-2017 by Florian Klaempfl and others
(1002) Target OS: Win32 for i386
(3104) Compiling RXXPacker.dpr
(3104) Compiling RXXPackerForm.pas
(3104) Compiling D:\Danjb\Stuff\kam_remake_krom\src\KM_Defaults.pas
(3104) Compiling D:\Danjb\Stuff\kam_remake_krom\src\KM_Log.pas
(3104) Compiling D:\Danjb\Stuff\kam_remake_krom\src\KM_Utils.pas
(3104) Compiling D:\Danjb\Stuff\kam_remake_krom\src\KM_Points.pas
D:\Danjb\Stuff\kam_remake_krom\src\KM_Points.pas(463,45) Hint: (4079) Converting the operands to "Int64" before doing the add could prevent overflow errors.
(3104) Compiling D:\Danjb\Stuff\kam_remake_krom\src\KM_CommonTypes.pas
D:\Danjb\Stuff\kam_remake_krom\src\KM_Utils.pas(156,19) Hint: (5057) Local variable "st" does not seem to be initialized
D:\Danjb\Stuff\kam_remake_krom\src\KM_Utils.pas(193,44) Hint: (5057) Local variable "TZInfo" does not seem to be initialized
D:\Danjb\Stuff\kam_remake_krom\src\KM_Utils.pas(239,22) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake_krom\src\KM_Utils.pas(340,34) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake_krom\src\KM_Utils.pas(340,13) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake_krom\src\KM_Utils.pas(533,55) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake_krom\src\KM_Utils.pas(540,54) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake_krom\src\KM_Utils.pas(600,16) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake_krom\src\KM_Utils.pas(694,24) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake_krom\src\KM_Utils.pas(695,51) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake_krom\src\KM_Utils.pas(716,42) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake_krom\src\KM_Utils.pas(770,8) Error: (5000) Identifier not found "StartsStr"
D:\Danjb\Stuff\kam_remake_krom\src\KM_Utils.pas(829,15) Error: (5000) Identifier not found "SplitString"
KM_Utils.pas(837) Fatal: (10026) There were 2 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: D:\lazarus\fpc\3.0.4\bin\i386-win32\ppc386.exe returned an error exitcode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants