<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,sans-serif">I have it building on OS X now.</div><div class="gmail_default" style="font-family:arial,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,sans-serif">I used the following to build for universal 64 bit intel/arm</div><div class="gmail_default" style="font-family:arial,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,sans-serif">./configure -enable-static -disable-shared CFLAGS=" -arch arm64 -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.9 -O3"<br></div><div class="gmail_default" style="font-family:arial,sans-serif"><br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Feb 18, 2025 at 9:29 AM Scott Brown <<a href="mailto:scottcbrown@gmail.com">scottcbrown@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:arial,sans-serif">Hi everyone,</div><div style="font-family:arial,sans-serif"><br></div><div style="font-family:arial,sans-serif">I just grabbed the 1.5 source to build on os x (I'm on 15.3.1). </div><div style="font-family:arial,sans-serif"><br></div><div style="font-family:arial,sans-serif"><div>Has anyone been able to build it from source on the latest os x? I'm getting errors</div><br></div><div style="font-family:arial,sans-serif">configure:</div><div style="font-family:arial,sans-serif">/configure -enable-static -disable-shared <br><br>Configuration summary :<br><br>  FLAC version : ............................ 1.5.0<br><br>  Host CPU : ................................ aarch64<br>  Host Vendor : ............................. apple<br>  Host OS : ................................. darwin24.3.0<br><br><br>  Compiler is GCC : ......................... no<br>  Compiler is Clang : ....................... yes<br>  Asm optimizations : ....................... yes<br>  Ogg/FLAC support : ........................ no<br>  Multithreading  : ........................ yes<br>  Stack protector  : ........................ no<br>  Fuzzing support (Clang only) : ............ no<br></div><div style="font-family:arial,sans-serif"><br></div><div style="font-family:arial,sans-serif"><br></div><div style="font-family:arial,sans-serif">I wasn't sure what flags I might need on os x to get around the below errors</div><div style="font-family:arial,sans-serif"><br></div><div style="font-family:arial,sans-serif">Thanks,</div><div style="font-family:arial,sans-serif">Scott</div><div style="font-family:arial,sans-serif"><br></div><div style="font-family:arial,sans-serif">make output:</div><div style="font-family:arial,sans-serif"><br></div><div style="font-family:arial,sans-serif"><br></div><div style="font-family:arial,sans-serif">In file included from lpc_intrin_neon.c:42:<br>/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/16/include/arm_neon.h:28:2: error: "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard"<br>  28 | #error "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard"<br>   |  ^<br>In file included from lpc_intrin_neon.c:49:<br>./deduplication/lpc_compute_autocorrelation_intrin_neon.c:2:2: error: use of undeclared identifier 'float64x2_t'<br>  2 |     float64x2_t sum0 = vdupq_n_f64(0.0f);<br>   |     ^<br>./deduplication/lpc_compute_autocorrelation_intrin_neon.c:3:2: error: use of undeclared identifier 'float64x2_t'<br>  3 |     float64x2_t sum1 = vdupq_n_f64(0.0f);<br>   |     ^<br>./deduplication/lpc_compute_autocorrelation_intrin_neon.c:4:2: error: use of undeclared identifier 'float64x2_t'<br>  4 |     float64x2_t sum2 = vdupq_n_f64(0.0f);<br>   |     ^<br>./deduplication/lpc_compute_autocorrelation_intrin_neon.c:5:2: error: use of undeclared identifier 'float64x2_t'<br>  5 |     float64x2_t sum3 = vdupq_n_f64(0.0f);<br>   |     ^<br>./deduplication/lpc_compute_autocorrelation_intrin_neon.c:6:2: error: use of undeclared identifier 'float64x2_t'<br>  6 |     float64x2_t d0 = vdupq_n_f64(0.0f);<br>   |     ^<br>./deduplication/lpc_compute_autocorrelation_intrin_neon.c:7:2: error: use of undeclared identifier 'float64x2_t'<br>  7 |     float64x2_t d1 = vdupq_n_f64(0.0f);<br>   |     ^<br>./deduplication/lpc_compute_autocorrelation_intrin_neon.c:8:2: error: use of undeclared identifier 'float64x2_t'<br>  8 |     float64x2_t d2 = vdupq_n_f64(0.0f);<br>   |     ^<br>./deduplication/lpc_compute_autocorrelation_intrin_neon.c:9:2: error: use of undeclared identifier 'float64x2_t'<br>  9 |     float64x2_t d3 = vdupq_n_f64(0.0f);<br>   |     ^<br>./deduplication/lpc_compute_autocorrelation_intrin_neon.c:11:2: error: use of undeclared identifier 'float64x2_t'<br>  11 |     float64x2_t sum4 = vdupq_n_f64(0.0f);<br>   |     ^<br>./deduplication/lpc_compute_autocorrelation_intrin_neon.c:12:2: error: use of undeclared identifier 'float64x2_t'<br>  12 |     float64x2_t d4 = vdupq_n_f64(0.0f);<br>   |     ^<br>./deduplication/lpc_compute_autocorrelation_intrin_neon.c:15:2: error: use of undeclared identifier 'float64x2_t'<br>  15 |     float64x2_t sum5 = vdupq_n_f64(0.0f);<br>   |     ^<br>./deduplication/lpc_compute_autocorrelation_intrin_neon.c:16:2: error: use of undeclared identifier 'float64x2_t'<br>  16 |     float64x2_t sum6 = vdupq_n_f64(0.0f);<br>   |     ^<br>./deduplication/lpc_compute_autocorrelation_intrin_neon.c:17:2: error: use of undeclared identifier 'float64x2_t'<br>  17 |     float64x2_t d5 = vdupq_n_f64(0.0f);<br>   |     ^<br>./deduplication/lpc_compute_autocorrelation_intrin_neon.c:18:2: error: use of undeclared identifier 'float64x2_t'<br>  18 |     float64x2_t d6 = vdupq_n_f64(0.0f);<br>   |     ^<br>./deduplication/lpc_compute_autocorrelation_intrin_neon.c:20:2: error: use of undeclared identifier 'float64x2_t'<br>  20 |     float64x2_t d;<br>   |     ^<br>./deduplication/lpc_compute_autocorrelation_intrin_neon.c:28:3: error: use of undeclared identifier 'd'<br>  28 |         d = vdupq_n_f64(data[i]); // Create vector with 2 entries data[i]<br>   |         ^<br>./deduplication/lpc_compute_autocorrelation_intrin_neon.c:28:7: error: call to undeclared function 'vdupq_n_f64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]<br>  28 |         d = vdupq_n_f64(data[i]); // Create vector with 2 entries data[i]<br>   |           ^<br>./deduplication/lpc_compute_autocorrelation_intrin_neon.c:34:3: error: use of undeclared identifier 'd6'<br>  34 |         d6 = vextq_f64(d5,d6,1);<br>   |         ^<br>fatal error: too many errors emitted, stopping now [-ferror-limit=]<br></div><div style="font-family:arial,sans-serif"><br></div><div style="font-family:arial,sans-serif"><br></div><div style="font-family:arial,sans-serif"><br></div></div>
</blockquote></div></div>