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 


Compilation Error:Error:Incompatible type

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

Joined: 11 Mar 2015
Posts: 136

PostPosted: Sun May 29, 2016 7:04 pm    Post subject: Compilation Error:Error:Incompatible type Reply with quote

Incompatible type for arg no. 5: Got "TMsgDlgBtn", expected "AnsiString"

1.3+fpc 2.7.1



2016-05-30_080714.png
 Description:
 Filesize:  28.35 KB
 Viewed:  28285 Time(s)

2016-05-30_080714.png


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

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

PostPosted: Mon May 30, 2016 2:17 pm    Post subject: Reply with quote

Download and install Lazarus 1.6


copy newer files into C:\lazarus\lcl\interfaces\win32

from this archive https://github.com/cheat-engine/cheat-engine/files/241598/win32callback.zip




Now DB is using official lazarus 1.6 with that one file updated.
(without that newer file, foundlist will blink)

_________________
Back to top
View user's profile Send private message MSN Messenger
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25252
Location: The netherlands

PostPosted: Tue May 31, 2016 7:02 am    Post subject: Reply with quote

There's also http://bugs.freepascal.org/view.php?id=30178 which I bypassed
and treeview.inc also has a small patch so that shift selecting won't call makevisible for every selected entry

but those are just minor gui things

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
xxhehe
Expert Cheater
Reputation: 0

Joined: 11 Mar 2015
Posts: 136

PostPosted: Wed Jun 01, 2016 10:15 pm    Post subject: Reply with quote

thank you
Back to top
View user's profile Send private message
BenBo
Newbie cheater
Reputation: 0

Joined: 03 Sep 2015
Posts: 13

PostPosted: Thu Aug 25, 2016 10:14 pm    Post subject: Reply with quote

xxhehe wrote:
thank you


这位兄弟,你能成功编译这段时间最新的CE吗?是不是lazarus需要更新啊。

Help ,DB!
I had compiled CE successfully two month ago , but cant compile the latest CE source .

need I update my Lazarus or download some plugin ?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25252
Location: The netherlands

PostPosted: Fri Aug 26, 2016 5:09 am    Post subject: Reply with quote

you may have to do a clean build. Delete the .res files, lib folder

(Try doing a run->cleanup and build)

Or try fixing the error you get another way

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
BenBo
Newbie cheater
Reputation: 0

Joined: 03 Sep 2015
Posts: 13

PostPosted: Tue Aug 30, 2016 2:24 am    Post subject: Reply with quote

Dark Byte wrote:
you may have to do a clean build. Delete the .res files, lib folder

(Try doing a run->cleanup and build)

Or try fixing the error you get another way


i think there's something wrong with " windres.exe “.
my os(win10) dont have this file. i download from internet and put it in folder "windows/system32".

I do cleanup and build, but the warnings comes again.


what can i do ?



QQ图片20160830150003.jpg
 Description:
 Filesize:  60.25 KB
 Viewed:  26132 Time(s)

QQ图片20160830150003.jpg


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

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

PostPosted: Tue Aug 30, 2016 3:44 am    Post subject: Reply with quote

1. If you are using tortoiseSVN, rightclick CE source folder, then choose "tortoiseSVN -> Revert".
Revert all changes.

2. Remove "lib" folder

3. Install lazarus-1.6.0-fpc-3.0.0-win32.exe and lazarus-1.6.0-fpc-3.0.0-cross-x86_64-win64-win32.exe
(the same path)

4. Also, update Lazarus LCL files. Package.

_________________
Back to top
View user's profile Send private message MSN Messenger
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25252
Location: The netherlands

PostPosted: Tue Aug 30, 2016 6:23 am    Post subject: Reply with quote

open a command line , go to the ce source folder, and execute
Code:

rc images.rc

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
BenBo
Newbie cheater
Reputation: 0

Joined: 03 Sep 2015
Posts: 13

PostPosted: Tue Aug 30, 2016 7:04 am    Post subject: Reply with quote

mgr.inz.Player wrote:
1. If you are using tortoiseSVN, rightclick CE source folder, then choose "tortoiseSVN -> Revert".
Revert all changes.

2. Remove "lib" folder

3. Install lazarus-1.6.0-fpc-3.0.0-win32.exe and lazarus-1.6.0-fpc-3.0.0-cross-x86_64-win64-win32.exe
(the same path)

4. Also, update Lazarus LCL files.


i just reinstall lazarus , and compile success !

maybe, "lazarus-1.6.0-fpc-3.0.0-win64.exe" cant compile success.
i reinstall lazarus with "lazarus-1.6.0-fpc-3.0.0-win32.exe and lazarus-1.6.0-fpc-3.0.0-cross-x86_64-win64-win32.exe ".

thank you !

by the way, "ansiToUtf8" needs "-dDisableUTF8RTL" while dealing with chinese characters.
Back to top
View user's profile Send private message
jgoemat
Master Cheater
Reputation: 22

Joined: 25 Sep 2011
Posts: 252

PostPosted: Sun Sep 04, 2016 4:26 am    Post subject: Reply with quote

mgr.inz.Player wrote:

4. Also, update Lazarus LCL files. Package.


That link doesn't work for me...
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 217

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

PostPosted: Sun Sep 04, 2016 4:03 pm    Post subject: Reply with quote

here


LCL updated files.cetrainer
 Description:

Download
 Filename:  LCL updated files.cetrainer
 Filesize:  153.54 KB
 Downloaded:  904 Time(s)


_________________
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 Source 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