-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
ffmpeg was built successfully with --use-clang. 2336-10.7 #8815
Comments
This also worked for me. |
Also works on Mac OS 10.6.8 Xcode Version 4.2 (4C199). 2336-10.6 |
Also worked for me on Mac OS X 10.7.2 with Xcode 4.2.1. |
+1
|
MacPorts has code in several ports that explicitly switches the compiler to clang if llvm-gcc-42 is detected (on the assumption that the Xcode w/ llvm-gcc-42 also provides clang, which it does). We need to start doing something like that in these cases too. |
+1 |
Hm. With OS X 10.7.2 and Xcode _4.1_ ffmpeg fails to build with all three of LLVM (build 2335), Clang (2.1-163.7.1), and GCC (4.2 build 5666). Downloading Xcode 4.2.1 now... edit: not strictly true, macports conflicts, keep reading below... |
FFmpeg definitely builds under XCode 4.1 if the |
Thanks for the reality check. I'm gradually migrating from macports; in fact, this ffmpeg install was a choice to switch to homebrew rather than upgrade the port. In any case, As an intermediate step, I tried default, clang, and gcc with the system pkg-config (rather than the macports one) by moving macports to the end of my PATH, which still failed in all three cases. According to cppunit-config curl-config freetype-config gdlib-config icu-config libpng-config libpng14-config ncurses5-config ncursesw5-config nspr-config pcap-config pcre-config php-config pkg-config python-config python2.7-config rarian-sk-config scrollkeeper-config sdl-config xml2-config xslt-config |
ffmpeg 0.8.7 successfully built on XCode 4.2.1, OS X 10.7.2 using |
Mac OSX 10.7.2, fresh install of Xcode 4.2, brew-installed gcc-4.6 symlinked to |
This worked for me also: brew upgrade ffmpeg --use-clang Result: 2335-10.7 |
Worked here with Result: 2336-10.7 |
Worked with --use-clang on 10.7.2 Result: 2335-10.7 |
Also worked here with Result: 2336-10.6 |
Works here with --use-clang too on 10.7.2 |
+1 for |
verified, works with --use-clang today |
2336-10.7
|
Failed with Result: 2336-10.7 https://gist.github.com/1470712 Appears to be an upstream issue? The configure fails on |
@mdickoff You need to |
@mistydemeo , hmm, I had tried this, however, |
Error: Failed executing: ./configure --prefix=/usr/local/Cellar/ffmpeg/0.9 --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --cc=/usr/bin/clang --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libxvid --disable-ffplay |
@reco Please open a new issue and gist the complete failure log. |
@reco look up higher in the output, I think you may have run into the x264 issue @mdickoff pointed out. Just tried it with --use-clang and it worked perfectly. |
Success: 2335-10.7 @mdickoff Thanks for the suggestion. |
--use-clangworked |
2336-10.7
|
nice work!! |
hm |
also getting a Segmentation fault: 11 |
clang bad idea Virtual Machine down perfomace http://www.phoronix.com/scan.php?page=article&item=gcc_llvm_clang |
Huh. There is no libmp3lame formula at this time. Just did a |
libmp3lame is part of the |
Doesn't work for me:
Neither with the trick:
https://gist.github.com/1653583 OSX 10.7 |
@fguillen Can you please gist your |
It looks like you have Macports installed. Having both Macports and Homebrew active at the same time can cause problems. Try removing Macports from your path, then install ffmpeg again. If that doesn't work, uninstall and reinstall pkg-config with Homebrew. |
Hi, i got a same error here. I post a question here: http://stackoverflow.com/questions/8965639/ffmpeg-install-fail-osx-10-7-2 Anyone can help me? I really need instal this to test codes in sites... Plzzz |
@egermano Did you read the message |
Looks like the error has to do with
This is also one of the unbrewed dylibs flagged by |
@mistydemeo: thanks for the suggestion, but even brew is an awesome tool I still depend on MacPorts for installing several tools that are not available in brew. I tried to uninstall MacPorts just to make the test your asked me, but it ended with several errors and I was worry to compromise my system and in consequence my work productivity. |
Hi everyone, I read with more attention my I found the article where the author build a script to install the ffmpeg and all dependency and thats works. http://hunterford.me/compiling-ffmpeg-on-mac-os-x/ Pity that the Thank for all |
Just a note: build failures should be reported by filing new issues, complete with the information requested on the new issue checklist, found on the wiki. |
I have successfully built ffmpeg with --use-clang on the Mac OS 10.7.2 and Xcode Version 4.2.1. Thus filing a "bug" as requested by brew with this info:
2336-10.7
The text was updated successfully, but these errors were encountered: