caption-inspector icon indicating copy to clipboard operation
caption-inspector copied to clipboard

build error/ struct tag.

Open EdwardJAlmost opened this issue 3 years ago • 2 comments

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.

EdwardJAlmost avatar Feb 16 '22 19:02 EdwardJAlmost

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.

robdt avatar Nov 08 '22 21:11 robdt

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

PyCoder040 avatar Jun 08 '23 06:06 PyCoder040