Open pepie34 opened 2 years ago
Same issue on my Mac mini M1 running Xcode 13.4.1
Same issue with MacBook Pro M1 / Ventura / Xcode 14 Verbatim as pepie34
I finally managed to build for arm64 on M1 Mac: I transformed the cmake project into Xcode with:
cd path to tools/sacd_extract
cmake -G Xcode
In Xcode you can see generated errors more easily, I added two frameworks Built phase > Link binaries with library: libiconv.tbd and libxml2.dylib
In Build Setting > Apple Clang Custom Compiler flags > other flags > debug remove
` xml2-config --cflags --libs`
if unaligned pointer error
General > Deployment info > Deployment target > 11.0
I finally managed to build for arm64 on M1 Mac: I transformed the cmake project into Xcode with:
cd path to tools/sacd_extract cmake -G Xcode
In Xcode you can see generated errors more easily, I added two frameworks Built phase > Link binaries with library: libiconv.tbd and libxml2.dylib
In Build Setting > Apple Clang Custom Compiler flags > other flags > debug remove
` xml2-config --cflags --libs`
if unaligned pointer error
General > Deployment info > Deployment target > 11.0
This worked for me! Thanks 🙌
There is a pointer alignement problem for arm64 arch (macOS)
Is compilation working on amd64 ?