You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
could we compile by mingw for ms windows? if not,could we support cmake?
in addition,compile on centos 6.7 with gcc 4.4.7(which have not full support for c99)will result in some error,that's this version of gcc doesn't supoort anonymous union,below is part of compile error:
h264_stream.h:199: warning: declaration does not declare anything
h264_stream.c: In function ‘read_subset_seq_parameter_set_rbsp’:
h264_stream.c:504: error: ‘sps_subset_t’ has no member named ‘sps_svc_ext’
h264_stream.c: In function ‘read_seq_parameter_set_svc_extension’:
h264_stream.c:529: error: ‘sps_subset_t’ has no member named ‘sps_svc_ext’
h264_stream.c: In function ‘read_pic_parameter_set_rbsp’:
h264_stream.c:771: warning: suggest parentheses around comparison in operand of ‘|’
h264_stream.c: In function ‘read_slice_header_in_scalable_extension’:
h264_stream.c:1334: error: ‘sps_subset_t’ has no member named ‘sps_svc_ext’
h264_stream.c:1371: error: ‘sps_subset_t’ has no member named ‘sps_svc_ext’
we can fix this issue by modify configure.ac
modify EXTRA_CFLAGS='-std=c99 -Wno-error' to EXTRA_CFLAGS='-std=gnu99 -Wno-error'
The text was updated successfully, but these errors were encountered:
could we compile by mingw for ms windows? if not,could we support cmake?
in addition,compile on centos 6.7 with gcc 4.4.7(which have not full support for c99)will result in some error,that's this version of gcc doesn't supoort anonymous union,below is part of compile error:
h264_stream.h:199: warning: declaration does not declare anything
h264_stream.c: In function ‘read_subset_seq_parameter_set_rbsp’:
h264_stream.c:504: error: ‘sps_subset_t’ has no member named ‘sps_svc_ext’
h264_stream.c: In function ‘read_seq_parameter_set_svc_extension’:
h264_stream.c:529: error: ‘sps_subset_t’ has no member named ‘sps_svc_ext’
h264_stream.c: In function ‘read_pic_parameter_set_rbsp’:
h264_stream.c:771: warning: suggest parentheses around comparison in operand of ‘|’
h264_stream.c: In function ‘read_slice_header_in_scalable_extension’:
h264_stream.c:1334: error: ‘sps_subset_t’ has no member named ‘sps_svc_ext’
h264_stream.c:1371: error: ‘sps_subset_t’ has no member named ‘sps_svc_ext’
we can fix this issue by modify configure.ac
modify EXTRA_CFLAGS='-std=c99 -Wno-error' to EXTRA_CFLAGS='-std=gnu99 -Wno-error'
The text was updated successfully, but these errors were encountered: