Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


What tools to successfully compile 6.8.2 source code&#65

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
yazigegeda
Expert Cheater
Reputation: 0

Joined: 22 Jan 2019
Posts: 183

PostPosted: Sat Feb 23, 2019 5:54 am    Post subject: What tools to successfully compile 6.8.2 source code&#65 Reply with quote

An error occurred while I was compiling the code from the latest version of cheat engine 6.8.2. And ...


error.png
 Description:
 Filesize:  57.98 KB
 Viewed:  2550 Time(s)

error.png


Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Sat Feb 23, 2019 6:46 am    Post subject: Reply with quote

Compile CE 6.8.2 source code with Lazarus 1.6.4 (Lazarus 1.6.4 has few minor bugs)
(if you want those bugs removed, you have to apply this patch to Lazarus files, link and then rebuild Lazarus ("menu->tools->configure build lazarus" then choose optimal profile, then choose "clean all", then click "build"))



Lazarus 1.8.2 up to 2.0.0RC3 had few other annoying bugs.

CE 6.8.3 source code is compatible with lazarus1.6.4 and lazarus2.0.0

Lazarus2.0.0 looks like has most minor bugs (present in 1.6.4) and most other annoying bugs fixed.


If you want to use Lazarus2.0.0 with older CE source, you have to patch ceguicomponents.pas and formdesignerunit.pas files:
Code:
Index: ceguicomponents.pas
===================================================================
--- ceguicomponents.pas   (wersja 3659)
+++ ceguicomponents.pas   (wersja 3660)
@@ -533,6 +533,9 @@
 
 
 type TCEEdit=class(TCustomEdit)
+  private
+    fTextHintFontColor: TColor;
+    fTextHintFontStyle: TFontStyle;
   public
     property AutoSelected;
   published
@@ -596,8 +599,8 @@
     property SelText;
 
     property TextHint;
-    property TextHintFontColor;
-    property TextHintFontStyle;
+    property TextHintFontColor: Tcolor read fTextHintFontColor write fTextHintFontColor;
+    property TextHintFontStyle: TFontStyle read fTextHintFontStyle write fTextHintFontStyle;
   end;
 
 type TCEForm=class(TCustomForm)


Code:
Index: formdesignerunit.pas
===================================================================
--- formdesignerunit.pas   (wersja 3659)
+++ formdesignerunit.pas   (wersja 3660)
@@ -16,7 +16,6 @@
 
 
 
-
 type
 
   { TFormDesigner }
@@ -194,7 +193,7 @@
 { TFormDesigner }
 
 
-uses mainunit, DPIHelper;
+uses mainunit, DPIHelper{$if lcl_fullversion>=2000000}, LazMsgDialogs{$endif};
 
 resourcestring
   rsInvalidObject = '{Invalid object}';
@@ -589,8 +588,13 @@
   LazIDESelectDirectory:=IDESelectDirectory;
   idedialogs.InitIDEFileDialog:=self.InitIDEFileDialog;
   idedialogs.StoreIDEFileDialog:=self.InitIDEFileDialog;
+  {$if lcl_fullversion>=2000000}
+  LazMsgDialogs.LazMessageDialog:=self.IDEMessageDialog;
+  LazMsgDialogs.LazQuestionDialog:=self.IDEQuestionDialog;
+  {$else}
   idedialogs.IDEMessageDialog:=self.IDEMessageDialog;
   idedialogs.IDEQuestionDialog:=self.IDEQuestionDialog;
+  {$endif}
 
   SurfaceList:=tlist.create;
 

_________________
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites