GithubHelp home page GithubHelp logo

Comments (8)

retokromer avatar retokromer commented on July 20, 2024

Just wondering: why do you use FFmpeg 4.2.1

==> ./configure --prefix=/usr/local/Cellar/ffmpeg/4.2.1-with-options_2

and not the formula for FFmpeg 4.2.2 which we did release one week earlier? And did other change other things? (I am asking because the formula does not generate a _2.)

from homebrew-ffmpeg.

sclsj avatar sclsj commented on July 20, 2024

I just run the command with all arguments (except for chromaprint because ffmpeg is its dependency). I can try again.

from homebrew-ffmpeg.

sclsj avatar sclsj commented on July 20, 2024

I updated homebrew and run the command again. Here's the new output (note that the version is 4.2.2)
==> Installing homebrew-ffmpeg/ffmpeg/ffmpeg --with-decklink --with-fd
==> Downloading https://ffmpeg.org/releases/ffmpeg-4.2.2.tar.xz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/ffmpeg/4.2.2-with-options --enable-shared --cc=clang --host-cflags=-I/Library/Java/JavaVirtualMachines/jdk-12.jdk/Contents/Home/include -I/Library/Java/JavaVir
==> make install
Last 15 lines from /Users/Jin/Library/Logs/Homebrew/ffmpeg/02.make:
u_char p_priority; /* Process priority. /
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/proc.h:134:2: error: unknown type name 'u_char'; did you mean 'char'?
u_char p_usrpri; /
User-priority based on p_cpu and p_nice. /
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/proc.h:139:2: error: unknown type name 'u_short'; did you mean 'short'?
u_short p_xstat; /
Exit status for wait; also stop signal. /
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/proc.h:140:2: error: unknown type name 'u_short'; did you mean 'short'?
u_short p_acflag; /
Accounting flags. */
^
9 errors generated.
make: *** [libavutil/cpu.o] Error 1
make: *** Waiting for unfinished jobs....
STRIP libswscale/x86/scale.o

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/homebrew-ffmpeg/homebrew-ffmpeg/issues

These open issues may also help:
FFmpeg failed to build #15
building with --with-chromaprint problem, recursive dependency on ffmpeg #13

from homebrew-ffmpeg.

retokromer avatar retokromer commented on July 20, 2024

Thank you for reporting back! I can probably delve into it this evening.

from homebrew-ffmpeg.

retokromer avatar retokromer commented on July 20, 2024

@sclsj Do you still encounter this issue? I could not reproduce.

Regarding the --with-decklink option: the DeckLink SDK has to be installed before running the FFmpeg formula. One possibility is to use:

brew install amiaopensource/amiaos/decklinksdk

See the ReadMe.

from homebrew-ffmpeg.

sclsj avatar sclsj commented on July 20, 2024

@retokromer I build it on my own without homebrew. I used 'make -n' to find the actual compiler flag and deleted all header directories except for the default ones, and it worked. I think something is probably defined in more than one header file and the incorrect one is used.

from homebrew-ffmpeg.

sclsj avatar sclsj commented on July 20, 2024

I have too many programs in /usr/local/ so I don't know which program caused that.

from homebrew-ffmpeg.

retokromer avatar retokromer commented on July 20, 2024

Thank you, @sclsj, for reporting back!

I think something is probably defined in more than one header file and the incorrect one is used.

This seems not related to our formula and I will close the issue, but feel free to reopen it when you have other information.

from homebrew-ffmpeg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.