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 


Issue Compiling CE 6.4 SRC [RESOLVED]

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source
View previous topic :: View next topic  
Author Message
óskýr
How do I cheat?
Reputation: 0

Joined: 08 Mar 2015
Posts: 2

PostPosted: Sun Mar 08, 2015 5:00 am    Post subject: Issue Compiling CE 6.4 SRC [RESOLVED] Reply with quote

EDIT: If you have this issue, try redownloading the source because it seems to have worked for me as of today.

––Pre-Solution––
Hello all, I have been compiling Cheat Engine for personal use and have run into this error from Lazarus. There may have been some error on my part but I have tried the methods available from searching existing threads. My directories appear to be in order and the fpcup64 process appears to have run without problems after I removed the previous installation.

Build:
fpcup64 used via
Code:
fpcup64 --fpcURL=trunk --lazURL=trunk --fpcrevision=27759 --lazrevision=44997



Version Info/Misc:
Lazarus IDE revision 44997
fpc revision 27759
CE 6.4 SRC
Using compile mode "Release 64-bit"
Using the awful Windows 8.1
TortoiseSVN with CMD command line extension enabled

Error:
frmMemoryAllocHandlerUnit.pas(179,34) Error: Identifier not found "TCEAllocArray"
frmMemoryAllocHandlerUnit.pas(179,34) Error: Error in type definition

The problem according to Lazarus (located in frmMemoryAllocHandlerUnit) is the line hookallocarray: TCEAllocArray;:
Code:
 
  private
    { Private declarations }
    HasSetupDataEvent: THandle;
    CEHasHandledItEvent: THandle;
    CEInitializationFinished: THandle;
    watcher: TAllocWatcher;
    HookEventDataAddress: ptrUint;

    hookscript: tstringlist;
    hookallocarray: TCEAllocArray;

    maxlevel: integer;
    pointermask: integer;
  public
    { Public declarations }   


My attempts to use crossLazarus, provided by mgr.inz.Player, was also unsuccessful. I returned another Identifier error (SetMXCSR) described in another thread– /viewtopic.php?t=579727

If you have the time to look over this and provide some advice it would be greatly appreciated. Thank you for your time.


Last edited by óskýr on Sun Mar 08, 2015 6:36 am; edited 5 times in total
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Sun Mar 08, 2015 5:52 am    Post subject: Reply with quote

is this the ce sourcecode from the website or from the svn?
If from the svn it's possible it sometimes won't compile for windows when i'm working on the linux build. try adding commontypedefs to the uses of this unit.


if from the website then not sure, did you edit ce's sourcecode in any 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
óskýr
How do I cheat?
Reputation: 0

Joined: 08 Mar 2015
Posts: 2

PostPosted: Sun Mar 08, 2015 6:23 am    Post subject: Reply with quote

Dark Byte wrote:
is this the ce sourcecode from the website or from the svn?
If from the svn it's possible it sometimes won't compile for windows when i'm working on the linux build. try adding commontypedefs to the uses of this unit.


if from the website then not sure, did you edit ce's sourcecode in any way?


From the website, source 6.4. I have made minor modifications to the source in order to circumvent some anticheats but that should not be the cause. I have the same error when compiling a fresh source.

Also, thanks for the very quick response!

EDIT: Wait a moment, I have downloaded again the source from your website. It works! I must have had some kind of corrupt download multiple times.

My issue is resolved, thank you Dark Byte :D.
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