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 


(Help) Cant Compile CE 6.4 or 6.5

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

Joined: 04 Jan 2016
Posts: 1
Location: Somewhere. Over the rainbow

PostPosted: Mon Jan 04, 2016 5:39 am    Post subject: (Help) Cant Compile CE 6.4 or 6.5 Reply with quote

[b]Hello, i have been trying to compile CE 6.4 with lazarus 3.0 but get errors every time. i was using Lazarus 1.4.4 but realized it only had FPC V2.6 and i read dark byte saying that i need at least 2.7.

i tried to download this :
Code:
Lazarus-1.1-42508-fpc-2.7.1-20130828-win64.exe
Also when i try to download the code through fcup i get an error and it instantly closes



29ef59efc1d0bcfc2f8a58613f667c5b.png
 Description:
Error picture
 Filesize:  188.17 KB
 Viewed:  12725 Time(s)

29ef59efc1d0bcfc2f8a58613f667c5b.png



_________________
~ Stay thirsty my friends
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 146

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

PostPosted: Mon Jan 04, 2016 6:20 am    Post subject: Reply with quote

CE6.4 and CE6.5 are compiled with not released Lazarus and FPC version.

DB downloaded them from SVN and then compiled.

FPC revision 27759 and Lazarus revision 44997.

Read those:
http://www.cheatengine.org/forum/viewtopic.php?p=5536858#5536858
http://www.cheatengine.org/forum/viewtopic.php?p=5537012#5537012


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.

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

Joined: 19 Mar 2015
Posts: 304
Location: Paris

PostPosted: Thu Jun 02, 2016 7:52 am    Post subject: Reply with quote

mgr.inz.Player wrote:
CE6.4 and CE6.5 are compiled with not released Lazarus and FPC version.

DB downloaded them from SVN and then compiled.

FPC revision 27759 and Lazarus revision 44997.

Read those:
http://www.cheatengine.org/forum/viewtopic.php?p=5536858#5536858
http://www.cheatengine.org/forum/viewtopic.php?p=5537012#5537012


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.


1. done

2. done, getting error :

Code:
creating fpc.cfg...
Error: Unknown option.ce\FPC\2.7.1
Usage: fpcmkcfg.exe [options]
Where options is one or more of
  -t filename   Template file name. Default is built-in
  -o filename   Set output file. Default is standard output.
  -d name=value define name=value pair.
  -h            show this help and exit.
  -u name       remove name from list of name/value pairs.
  -m            show builtin macros and exit.
  -b            show builtin template and exit.
  -s            skip the creation of a backup-file.
  -p            force directory creation.
  -v            be verbose.
  -0            use built in fpc.cfg template (default)
  -1            use built in fp.cfg template
  -2            use built in fp.ini template
  -3            use built in fppkg.cfg template
  -4            use built in fppkg default compiler template
Ready.


3. It doesn't and it warns me that setup is bad.[/code]



edit :
Aha, ok funny, error printed says it all. Script can't handle a space in folder name, deleted the space (name originally dev ce) -> devce.

Worked fine
Back to top
View user's profile Send private message
jgoemat
Expert Cheater
Reputation: 17

Joined: 25 Sep 2011
Posts: 188

PostPosted: Mon Sep 05, 2016 2:31 am    Post subject: Reply with quote

I had some trouble just the other day, i think something was fixed with the source code. I was able to get it to work by uninstalling all versions of lazarus and deleting C:\Users\<username>\AppData\Local\lazarus

Then download and install Lazarus 1.6 32 bit (NOT 64 BIT), then install the 64 bit cross-compile tools. These are 119.9 and 36.0 mb respectively.

https://sourceforge.net/projects/lazarus/files/Lazarus%20Windows%2032%20bits/Lazarus%201.6/


After that I was able to clone the most recent as of 9/5/2016 commit "07386be", open "Cheat Engine\cheateingine.lpi and do a 'Clean up and Build' and then run it.
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