Martijn van Beurden

Results 268 comments of Martijn van Beurden

Where did you get those executables? Perhaps best to ask there?

@yixinuestc Can I close this issue?

FLAC's code has not been written with the possibility of being compiled for two architectures at the same time. Therefore, I assume this problem is caused by the compiler trying...

On a more positive note however: as far as I know Apple provides FLAC encoding and decoding support [natively through Core Media](https://developer.apple.com/documentation/coremedia/cmformatdescription/mediasubtype/3242056-flac/). That might be or might not be easier...

Please explain in more detail. In your first post you stated compilation was successful until cpu.c, now you say that you don't make it past configure? What are you doing...

Could you perhaps try the following? Change the following line twice in src/libFLAC/cpu.c ``` #if (defined FLAC__CPU_IA32 || defined FLAC__CPU_X86_64) && (defined FLAC__HAS_NASM || FLAC__HAS_X86INTRIN) && !defined FLAC__NO_ASM ``` to...

I fixed the script display for you. Can you share your config.log and make output when buildingthe static library? Maybe that contains some clue

I've just put the logs in files, that makes it much easier to read. Anyway, I assume you tried linking against libFLAC-static.a, right? That is only built for use with...

[As discussed here](https://lists.xiph.org/pipermail/flac-dev/2022-September/006578.html) it is also possible to create an universal binary (or an universal library) with the lipo tool. It requires you to build for x86_64 and aarch64 separately...

@dicru Have you tried the approach suggested by cristianadam?