Skip to content
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

build error/ struct tag. #15

Open
EdwardJAlmost opened this issue Feb 16, 2022 · 2 comments
Open

build error/ struct tag. #15

EdwardJAlmost opened this issue Feb 16, 2022 · 2 comments

Comments

@EdwardJAlmost
Copy link

attempting to pull and build on osx / Darwin 147dda2fcbcc.ant.amazon.com 19.6.0 Darwin Kernel Version 19.6.0: Thu Jan 13 01:26:33 PST 2022;

In file included from ../include/pipeline_utils.h:23:
../include/context.h:118:5: error: must use 'struct' tag to refer to type 'AVCodecContext'
AVCodecContext* decoderContext;
^
struct
1 error generated.

@robdt
Copy link
Member

robdt commented Nov 8, 2022

It has been a minute since I have touched this or C in general, but I thought that needing 'struct' in front of structures, rather than understanding they were structures by virtue of the 'Typedef struct ...' was something that changed in C at some point. Do you have the latest C Compiler for Mac? Sorry, not sure if that is going to be helpful or not.

@PyCoder040
Copy link

I have the EXACT same error during compilation on Fedora 37. Fatal.
gcc version 12.2.1 20221121 (Red Hat 12.2.1-4) (GCC)
ffmpeg-devel-5.1.3-3.fc37.x86_64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants