Closed DickyT closed 8 years ago
Build lame first. When you use --enable-libXXX, you also need to provide paths to find the lib using -I and -L flags. See X264 in the script for example.
Oh thank you very much!!! I am going to have a try this night!!
@kewlbear Hi, I just try it, and my CFLAGS
is
-arch arm64 -mios-version-min=6.0 -fembed-bitcode -I /Users/KanzakiMirai/XcodeProjects/ffmpeg-objc/FFMP3/lame-ios-build/fat-lame/include
LDFLAGS
is
-arch arm64 -mios-version-min=6.0 -fembed-bitcode -L /Users/KanzakiMirai/XcodeProjects/ffmpeg-objc/FFMP3/lame-ios-build/fat-lame/lib
but the compiler still throws an error that ERROR: libmp3lame >= 3.98.3 not found
, any idea about this?
Thank you very much!
I think it's related to bitcode. You should either remove -fembed-bitcode from this script or add it to lame script.
Thank you very much!! I can make it work now!!!
@kewlbear I got a new issue... While I am running on my simulator, XCode tells me.
And I also tried disabling bitcode for both lame and ffmpeg, or enabing bitcode for them. Is this the problem that something goes wrong of lame? Thanks!!
Did you link lame to your app?
Oh I even forget that, now I can run it on my simulator. Thank you very much!!!!
Hi, I was trying to build ffmpeg with
--enable-libmp3lame
, and I have no idea how to use your lame build script with this ffmpeg build script.Thank you very much