-
Notifications
You must be signed in to change notification settings - Fork 751
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
building ffmpeg for android on mac, lame fails C preprocessor check #45
Comments
This is weird. Does OpenCV compile fine? |
Yeap, fine. Changing CPP flag makes some progress and again fails |
Odd, I have no problems building for Android on Linux. Is the NDK that different on Mac OS X? BTW, if you don't need to encode in MP3, you can temporarily remove LAME from the build. |
I also in trouble with this error on Mac OS X,even though I remove LAME ...Maybe is the C++ build environment missing something. |
What's more,this is my log javacpp-ffmpeg-lame-compiled-error-config.log |
@zmingchun It's still trying to build LAME, so you didn't remove it. I'm not sure why this is happening, so let's mark this as a bug. If anyone finds out the solution, please let us know! For now the workaround is to build under Linux... |
@saudet I build ffmpeg for IOS successful,use this shell file build-ffmpeg-android.sh,use |
Good! Could you propose the changes we should make to the |
just updated to NDK r10e and all build went OK!!! possibly NDK r10d was missing some links. PLS mark this as SOLVED |
@IFDeveloper I use NDK r10e, but still not work |
@szitguy What error do you get? |
@saudet |
@szitguy Well, you could get rid of LAME if you do not need it... |
Still no solutions to this other than removing LAME? I also have the latest NDK r10e on Mac and having the same error: configure: error: in `/Users/user/Code/git/javacpp-presets/ffmpeg/cppbuild/android-arm/lame-3.99.5': |
…ocessor errors on `configure` (issue #45)
./cppbuild.sh -platform android-arm install ffmpeg
checking how to run the C preprocessor... /lib/cpp
configure: error: in `/Users/Phoenix/workspace/Frameworks/javacpp-presets/ffmpeg/cppbuild/android-arm/lame-3.99.5':
configure: error: C preprocessor "/lib/cpp" fails sanity check
The text was updated successfully, but these errors were encountered: