-
Notifications
You must be signed in to change notification settings - Fork 32
Description
Hi there,
I'm trying to compile the kernel patcher for windows but couldn't success, i assume that the code needs to be ported ?
I'm using Msys2 with mingw64 installed, compiling with gcc returns errors below:
gcc -o output.exe Kernel64Patcher.c
In file included from Kernel64Patcher.c:10:
patchfinder64.c:21: warning: "UCHAR_MAX" redefined
21 | #define UCHAR_MAX 255
|
In file included from C:/msys64/mingw64/include/stdlib.h:11,
from Kernel64Patcher.c:7:
C:/msys64/mingw64/include/limits.h:25: note: this is the location of the previous definition
25 | #define UCHAR_MAX 0xff
|
patchfinder64.c:453:10: fatal error: mach-o/loader.h: No such file or directory
453 | #include <mach-o/loader.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
I have manually downloaded "MacOSX" sdks and placed them inside my include dir but that was result in another errors
Thank you!