View previous topic :: View next topic |
Author |
Message |
óskýr How do I cheat? Reputation: 0
Joined: 08 Mar 2015 Posts: 2
|
Posted: Sun Mar 08, 2015 5:00 am Post subject: Issue Compiling CE 6.4 SRC [RESOLVED] |
|
|
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 |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Sun Mar 08, 2015 5:52 am Post subject: |
|
|
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 |
|
|
óskýr How do I cheat? Reputation: 0
Joined: 08 Mar 2015 Posts: 2
|
Posted: Sun Mar 08, 2015 6:23 am Post subject: |
|
|
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 |
|
|
|