h265nal icon indicating copy to clipboard operation
h265nal copied to clipboard

h265nal and h264 in one project

Open khozaei opened this issue 4 months ago • 0 comments

My project failed to compile due to a naming conflict: both the h264nal and h265nal libraries include a file named rtc_common.h. This prevents successful compilation when attempting to use both libraries within the same project. The error:

/home/noa-pc/code/amin/jac_noa_all_swc/build/cmake-build-debug-default_toolchain/clang-aos_gea-aarch64/h265nal/src/../include/h265_sps_scc_extension_parser.h:63:7: error: unknown type name 'BitBuffer'; did you mean 'h264nal::BitBuffer'?
      BitBuffer* bit_buffer, uint32_t chroma_format_idc,
      ^~~~~~~~~
      h264nal::BitBuffer
/home/noa-pc/code/amin/jac_noa_all_swc/build/cmake-build-debug-default_toolchain/clang-aos_gea-aarch64/h264nal/src/../include/rtc_common.h:68:7: note: 'h264nal::BitBuffer' declared here

khozaei avatar Oct 10 '24 14:10 khozaei