You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have to make this library for four different architectures. I was able to make that library for my computer's architecture by installing opus with brew. However, I now need to do the configure routine in a way that it checks for opus in my generated libopus.a file (that's built by me for these 4 libraries). Wherever I put the libopus.a and whatever options I try to add to the call it always tells me
checking pkg-config is at least version 0.9.0... yes
checking for DEPS... no
configure: error: Package requirements (opus >= 1.1) were not met:
No package 'opus' found
on my ./configure
I did export DEPS_LIBS=$HOME/Downloads/libopusenc-iOS/libopus.a and now the whole process gets much further but it stops at
------------------------------------------------------------------------
libopusenc 0.2.1: Automatic configuration OK.
Hidden visibility ............ yes
API code examples ............ yes
API documentation ............ no
------------------------------------------------------------------------
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
CCLD libopusenc.la
*** Warning: Linking the shared library libopusenc.la against the
*** static library /Users/T/Downloads/libopusenc-iOS/libopus.a is not portable!
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: archive member: .libs/libopusenc.a(libopus.a) fat file for cputype (7) cpusubtype (3) is not an object file (bad magic number)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar: internal ranlib command failed
make[1]: *** [libopusenc.la] Error 1
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
If you want to use a libopus that you have built and installed in a non-standard directory, set PKG_CONFIG_PATH to the directory where the opus.pc file was installed, before configuring libopusenc. For example:
I have to make this library for four different architectures. I was able to make that library for my computer's architecture by installing opus with brew. However, I now need to do the configure routine in a way that it checks for opus in my generated
libopus.a
file (that's built by me for these 4 libraries). Wherever I put thelibopus.a
and whatever options I try to add to the call it always tells meon my
./configure
I did
export DEPS_LIBS=$HOME/Downloads/libopusenc-iOS/libopus.a
and now the whole process gets much further but it stops atThe text was updated successfully, but these errors were encountered: