h265nal
h265nal copied to clipboard
h265nal and h264 in one project
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