untrunc icon indicating copy to clipboard operation
untrunc copied to clipboard

Fatel Error: 'endian.h' file not found

Open pininja369 opened this issue 7 years ago • 1 comments

Upon trying to build untrunc executable, the following error is generated, Due to which the build failed.

Following is the Complete Log. file.cpp:23:10: fatal error: 'endian.h' file not found #include <endian.h> ^~~~~~~~~~ 1 error generated. track.cpp:28:10: fatal error: 'endian.h' file not found #include <endian.h> ^~~~~~~~~~ 1 error generated. atom.cpp:10:10: fatal error: 'endian.h' file not found #include <endian.h> ^~~~~~~~~~ 1 error generated. mp4.cpp:25:9: warning: '__STDC_LIMIT_MACROS' macro redefined [-Wmacro-redefined] #define __STDC_LIMIT_MACROS 1 ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/stdint.h:113:12: note: previous definition is here

define __STDC_LIMIT_MACROS

       ^

mp4.cpp:26:9: warning: '__STDC_CONSTANT_MACROS' macro redefined [-Wmacro-redefined] #define __STDC_CONSTANT_MACROS 1 ^ /Library/Developer/CommandLineTools/usr/include/c++/v1/stdint.h:116:12: note: previous definition is here

define __STDC_CONSTANT_MACROS

       ^

mp4.cpp:285:46: warning: 'codec' is deprecated [-Wdeprecated-declarations] track.codec.context = context->streams[i]->codec; ^ ./libav-12.3/libavformat/avformat.h:711:5: note: 'codec' has been explicitly marked deprecated here attribute_deprecated ^ ./libav-12.3/libavutil/attributes.h:76:49: note: expanded from macro 'attribute_deprecated'

define attribute_deprecated attribute((deprecated))

                                            ^

3 warnings generated.

pininja369 avatar Oct 06 '18 14:10 pininja369

Difficulties during compilation is one of the reasons I started a fork. It has other advantages as well. Check it out.

anthwlock avatar Oct 08 '18 13:10 anthwlock