tihmstar / libpatchfinder

A arm offsetfinder. It finds offsets, patches, parses Mach-O and even supports IMG4/IMG3
GNU Lesser General Public License v2.1
144 stars 70 forks source link

fatal error: mach-o/loader.h: No such file or directory #21

Closed TheProgramableTurtle closed 4 years ago

TheProgramableTurtle commented 4 years ago

mach-o dependency isn't available on Linux. Perhaps consider a build flag/configuration to exclude the files that use it?

tihmstar commented 4 years ago

There is a workaround in https://github.com/tihmstar/liboffsetfinder64/blob/master/.github/workflows/main.yml To build it for linux

mast3rz3ro commented 10 months ago

I'm running into the same issue and trying the workflow build method doesn't helps at all. it's just leads to another errors.

Why just didn't implement a way without needing this library?

I'm using Msys2 with clang 17