From: Matt B. <wal...@ma...> - 2024-08-10 04:10:44
|
> On Aug 9, 2024, at 8:42 PM, Michael Sweet <ms...@ms...> wrote: > > Matt, > >> On Aug 9, 2024, at 9:21 PM, Matt Broughton <wal...@ma...> wrote: >> ... >> Thank you for your help Michael. Unfortunately, I still can't get it to build all the way. >> >> I did as you said for building libusb and installed -- > > Hmm, maybe edit the installed libusb-1.0.pc to include the Libs.private on the end of the regular Libs, like this: > > Libs: -L${libdir} -lusb-1.0 -lobjc -Wl,-framework,IOKit -Wl,-framework,CoreFoundation Almost. You also need to add -Wl,-framework,Security which then matches Libs private. Libs: -L${libdir} -lusb-1.0 -lobjc -Wl,-framework,IOKit -Wl,-framework,CoreFoundation -Wl,-framework,Security Libs.private: -lobjc -Wl,-framework,IOKit -Wl,-framework,CoreFoundation -Wl,-framework,Security Cflags: -I${includedir}/libusb-1.0 Now it builds. I haven't tested the build yet, but this is a big step. Thank you Michael. Matt |