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 


[SOLVED] CE 6.5.1 compiling error

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source
View previous topic :: View next topic  
Author Message
ulysse31
Master Cheater
Reputation: 2

Joined: 19 Mar 2015
Posts: 324
Location: Paris

PostPosted: Thu Jun 02, 2016 9:09 am    Post subject: [SOLVED] CE 6.5.1 compiling error Reply with quote

Hi, followed these instructions :
mgr.inz.Player wrote:

Or, when you want it fast, here, my lazarus folder compressed with 7zip:
https://drive.google.com/uc?export=download&id=0BwMAnE6mjogMaEExXzQ0RjhvTUU
Extract somewhere.

Steps:
1. Remove C:\Users\{yourprofilename}\AppData\Local\lazarus
2. Double click "create fpc.cfg now.cmd" which is inside lazarus folder
3. Launch startlazarus.exe, it should automatically setup itself
4. Now you can compile 32bit and 64bit CE

It can compile both 32bit and 64bit projects, it has cross compiler.
There is 32bit GDB debugger.

Then tried compiling and got these :



2.png
 Description:
 Filesize:  22.61 KB
 Viewed:  19678 Time(s)

2.png



failload.png
 Description:
 Filesize:  465.62 KB
 Viewed:  19678 Time(s)

failload.png




Last edited by ulysse31 on Fri Jun 03, 2016 5:59 am; edited 1 time in total
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: Thu Jun 02, 2016 9:32 am    Post subject: Reply with quote

From quote, that special Lazarus (and FPC) is for CE6.4 source and CE6.5 source (from 10 I 2016)

About error you got, already talked about it here:
http://forum.cheatengine.org/viewtopic.php?t=591992

For recent (GIT/SVN) source ( CE 6.5.1) you will need official Lazarus1.6. Actually, official Lazarus1.6 + few updated files.


Note:
I only have updated win32callback.inc

Ask DB for more updated files for Lazarus1.6

_________________
Back to top
View user's profile Send private message MSN Messenger
ulysse31
Master Cheater
Reputation: 2

Joined: 19 Mar 2015
Posts: 324
Location: Paris

PostPosted: Thu Jun 02, 2016 10:08 am    Post subject: Reply with quote

Thank you, I followed your instructions, it looks like it is now pointing out outdated winlazfileutils.inc and lazfileutils.pas.

I'll ask DB if he can post necessary files, if it's too much trouble I'll compile ce 6.5 / 6.4, I reckon that following the mentioned instructions in my first boss will result in working compilation of ce 6.5 right ?



3.png
 Description:
 Filesize:  450.99 KB
 Viewed:  19646 Time(s)

3.png


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: Thu Jun 02, 2016 10:35 am    Post subject: Reply with quote

This looks like there is an issue with your lazarus build.

Try do a clean install of 1.6 (in a clean folder. Don't install into the same folder as an existing install)

_________________
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
ulysse31
Master Cheater
Reputation: 2

Joined: 19 Mar 2015
Posts: 324
Location: Paris

PostPosted: Thu Jun 02, 2016 11:10 am    Post subject: Reply with quote

Aight.
Removed installation. Took this file : lazarus-1.6.0-fpc-3.0.0-win64.exe
Checked the clean up option (delete all previous configurations of lazarus).
Made the install, in a clean folder (lazarus2).
Did *not* use the file from archive provided by mgr.inz.Player
Launched Lazarus, clicked open file and chose Cheat Engine.lpr.
Chosed open project.
Compiled, error.
cheatengine.lpr(92,44) Fatal: Impossible de trouver unit1 utilisé par cheatengine de l'inspecteur de projet.

= Cannot find unit1 used by cheat engine from project inspector



4.png
 Description:
 Filesize:  184.79 KB
 Viewed:  19620 Time(s)

4.png


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: Thu Jun 02, 2016 11:14 am    Post subject: Reply with quote

redownload the ce sourcecode.
there is no unit1 or unit2 in the in the cheatengine.lpr file after xinput

_________________
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
ulysse31
Master Cheater
Reputation: 2

Joined: 19 Mar 2015
Posts: 324
Location: Paris

PostPosted: Thu Jun 02, 2016 11:35 am    Post subject: Reply with quote

Downloaded new CE from GitHub.
Repeated operations, compiled, sucess.
Thank you !
Back to top
View user's profile Send private message
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