http://bugs.winehq.org/show_bug.cgi?id=58837
Bug ID: 58837 Summary: getCurrentThreadID error when enabling speedhack in Cheat Engine Product: Wine Version: 10.17 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: alexhenrie24@gmail.com Distribution: ---
Steps to reproduce:
1. Run `wine CheatEngine76.exe` and when prompted to install additional software, click "Skip All"
2. Run `wine 'C:\Program Files\Cheat Engine\Cheat Engine.exe'`
3. Click File, then Open Process, then double-click Cheat Engine
4. On the right side of the window, click the "Enable Speedhack" checkbox
An error dialog appears that says:
error in injectCEHelperLib(): ccode section compilation failed:<string-0>:22: warning: assignment discards qualifiers from pointer type tcc: error: undefined symbol 'getCurrentThreadID'
$ sha256sum CheatEngine76.exe 7f57ab6697f2d27604be2d63d03768612e6022a1c3b708507af8fb23d461428a
http://bugs.winehq.org/show_bug.cgi?id=58837
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.winehq.org/show | |_bug.cgi?id=40283
http://bugs.winehq.org/show_bug.cgi?id=58837
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://www.cheatengine.org | |/downloads.php Keywords| |download, source See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=58839
--- Comment #1 from Alex Henrie alexhenrie24@gmail.com --- Patch sent: https://gitlab.winehq.org/wine/wine/-/merge_requests/9256
The next problem is Bug 58839.
http://bugs.winehq.org/show_bug.cgi?id=58837
--- Comment #2 from Alex Henrie alexhenrie24@gmail.com --- The problem is a discrepancy between the exported function name GetCurrentThreadId and the function name KERNEL32_GetCurrentThreadId in the debug symbols. You can work around the problem by removing debug symbols from Wine's kernel32.dll, for example with `sudo strip /usr/lib/wine/*-windows/kernel32.dll`. But only run `strip` if you know what you are doing: Your modified Wine is likely to break the next time your Linux distribution tries to update its Wine package.