Forum > Linux

Lazarus compile Error: Illegal parameter: -WB00400000

(1/3) > >>

nooneherereally:
I am trying to compile cheat engine (source here : https://github.com/cheat-engine/cheat-engine )
I Am running https://nobaraproject.org/ which is fedora with third party codecs preinstalled for my work environment.

I twitted the dev of cheat engine asking for some advice, and this is how he responded.
https://imgur.com/a/clxaSpA

Have a guy on an mac ARM also try to run an compile on Mac os 12.51.1 on arm m1 however he runs into a different compile issue, its a source code error.

MarkMLl:
I think your question amounts to


--- Quote ---I'm trying to compile something which is Windows specific for Linux, and have been advised to "Just replace all the Windows specific function calls with equivalent versions for Linux".

Where do I start?

--- End quote ---

MarkMLl

marcov:
And -WB is windows specific:


--- Quote from: FPC -h --- -WB<x>     Set image base to <x> (Windows, Symbian)

--- End quote ---

KodeZwerg:

--- Quote ---$ sudo apt install gameconqueror
--- End quote ---
It be faster to install that instead try to convert a zillion of lines of code into something that is linux compatible.

MarkMLl:

--- Quote from: KodeZwerg on September 11, 2022, 12:47:20 am ---
--- Quote ---$ sudo apt install gameconqueror
--- End quote ---
It be faster to install that instead try to convert a zillion of lines of code into something that is linux compatible.

--- End quote ---

But that doesn't answer OP's problem. Perhaps what he wants to do is engage with Cheat Engine's developers, and feels that converting it to Linux- with which he is familiar- is the best way of doing so. Looking at it from that POV, I'd suggest that telling him bluntly to go away and use a tool written in a less unpopular language doesn't present this community in a favourable light.

I think the way I'd put it is that it might /possibly/ be worth investigating GameConqueror as an alternative. However if OP wants to work on Cheat Engine then the first thing is to find out where that -WB option is getting in (assuming he's using the Lazarus IDE, the compilation or link options settings) and to see what happens when he removes it and selects GTK2 as the widgetset.

Allowing for how comprehensive the LCL's GUI support etc. is, I'd be very disappointed if there were substantial issues in that area. Far more of a problem would be if the project were e.g. using Windows debugging facilities to interact with other running programs.

MarkMLl

Navigation

[0] Message Index

[#] Next page

Go to full version