Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Building media-driver with {AVC,HEVC}Encode_{VME,VDEnc}_Supported="no" results in linking failure #1540

Closed
frantisekz opened this issue Nov 3, 2022 · 6 comments
Assignees
Labels
AVC AVC , MPEG2 VP8 etc. Build Cmake, build option related Encode video encode related HEVC HEVC

Comments

@frantisekz
Copy link

Which component impacted?

Build

Is it regression? Good in old configuration?

No response

What happened?

Build of media-driver 22.6.1 with:

-DENABLE_NONFREE_KERNELS:BOOL=OFF
-DENABLE_KERNELS:BOOL=OFF
-DBUILD_KERNELS:BOOL=OFF
-DMEDIA_BUILD_FATAL_WARNINGS=OFF
-DBUILD_SHARED_LIBS:BOOL=OFF
-DGEN10:BOOL=OFF
-DAVC_Encode_VME_Supported="no"
-DAVC_Encode_VDEnc_Supported="no"
-DHEVC_Encode_VME_Supported="no"
-DHEVC_Encode_VDEnc_Supported="no"
-G Ninja

results with linker failure:

/builddir/build/BUILD/media-driver-intel-media-22.6.1/media_driver/agnostic/common/vp/hal/vphal_render_vebox_base.h:568: warning: type 'struct _VPHAL_VEBOX_SURFACE_STATE_CMD_PARAMS' violates the C++ One Definition Rule [-Wodr]
  568 | typedef struct _VPHAL_VEBOX_SURFACE_STATE_CMD_PARAMS
      | 
/builddir/build/BUILD/media-driver-intel-media-22.6.1/media_softlet/agnostic/common/vp/hal/packet/vp_vebox_common.h:31: note: a different type is defined in another translation unit
   31 | typedef struct _VPHAL_VEBOX_SURFACE_STATE_CMD_PARAMS
      | 
/builddir/build/BUILD/media-driver-intel-media-22.6.1/media_driver/agnostic/common/vp/hal/vphal_render_vebox_base.h:570: note: the first difference of corresponding definitions is field 'pSurfInput'
  570 |     PVPHAL_SURFACE                  pSurfInput;
      | 
/builddir/build/BUILD/media-driver-intel-media-22.6.1/media_softlet/agnostic/common/vp/hal/packet/vp_vebox_common.h:33: note: a field of same name but different type is defined in another translation unit
   33 |     PVP_SURFACE                     pSurfInput;
      | 
/builddir/build/BUILD/media-driver-intel-media-22.6.1/media_driver/agnostic/common/vp/hal/vphal_render_vebox_base.h:568: note: type 'struct VPHAL_SURFACE *' should match type 'struct VP_SURFACE *'
  568 | typedef struct _VPHAL_VEBOX_SURFACE_STATE_CMD_PARAMS
      | 
/usr/bin/ld: /tmp/ccSE7Y2w.ltrans35.ltrans.o: in function `CodechalInterfacesXe_Xpm::Initialize(void*, void*, MhwInterfaces*, _MOS_INTERFACE*)':
/builddir/build/BUILD/media-driver-intel-media-22.6.1/media_softlet/agnostic/common/os/mos_utilities.h:2834: undefined reference to `CodechalHwInterfaceXe_Xpm::CodechalHwInterfaceXe_Xpm(_MOS_INTERFACE*, _CODECHAL_FUNCTION, MhwInterfaces*, bool)'
/usr/bin/ld: /tmp/ccSE7Y2w.ltrans36.ltrans.o: in function `CodechalInterfacesXe_Hpm::CreateCodecHalInterface(MhwInterfaces*, CodechalHwInterface*&, CodechalDebugInterface*&, _MOS_INTERFACE*, _CODECHAL_FUNCTION, bool)':
/builddir/build/BUILD/media-driver-intel-media-22.6.1/media_softlet/agnostic/common/os/mos_utilities.h:2834: undefined reference to `CodechalHwInterfaceXe_Hpm::CodechalHwInterfaceXe_Hpm(_MOS_INTERFACE*, _CODECHAL_FUNCTION, MhwInterfaces*, bool)'
/usr/bin/ld: /tmp/ccSE7Y2w.ltrans53.ltrans.o: in function `CodechalEncoderState::Allocate(CodechalSetting*)':
/builddir/build/BUILD/media-driver-intel-media-22.6.1/media_softlet/agnostic/common/os/mos_utilities.h:2834: undefined reference to `CodechalEncodeTrackedBufferHevc::CodechalEncodeTrackedBufferHevc(CodechalEncoderState*)'
/usr/bin/ld: /tmp/ccSE7Y2w.ltrans56.ltrans.o:(.data.rel.ro+0x40): undefined reference to `CodechalCmdInitializer::CmdInitializerSetDmem(bool)'
/usr/bin/ld: /tmp/ccSE7Y2w.ltrans58.ltrans.o:(.data.rel.ro+0x48): undefined reference to `CodechalCmdInitializerG11::CmdInitializerSetDmem(bool)'
/usr/bin/ld: /tmp/ccSE7Y2w.ltrans58.ltrans.o:(.data.rel.ro+0x78): undefined reference to `CodechalCmdInitializerG11::AddCmdConstData(unsigned short, unsigned int*, unsigned short, unsigned int)'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

Entire build log:
build.zip

What's the usage scenario when you are seeing the problem?

Others

What impacted?

No response

Debug Information

No response

Do you want to contribute a patch to fix the issue?

No response

@Jexu Jexu added the Build Cmake, build option related label Nov 4, 2022
@frantisekz
Copy link
Author

The 22.6.2 tag fails in the similar way with some more errors:

/builddir/build/BUILD/media-driver-intel-media-22.6.2/media_driver/agnostic/common/vp/hal/vphal_render_vebox_base.h:568: warning: type 'struct _VPHAL_VEBOX_SURFACE_STATE_CMD_PARAMS' violates the C++ One Definition Rule [-Wodr]
  568 | typedef struct _VPHAL_VEBOX_SURFACE_STATE_CMD_PARAMS
      | 
/builddir/build/BUILD/media-driver-intel-media-22.6.2/media_softlet/agnostic/common/vp/hal/packet/vp_vebox_common.h:31: note: a different type is defined in another translation unit
   31 | typedef struct _VPHAL_VEBOX_SURFACE_STATE_CMD_PARAMS
      | 
/builddir/build/BUILD/media-driver-intel-media-22.6.2/media_driver/agnostic/common/vp/hal/vphal_render_vebox_base.h:570: note: the first difference of corresponding definitions is field 'pSurfInput'
  570 |     PVPHAL_SURFACE                  pSurfInput;
      | 
/builddir/build/BUILD/media-driver-intel-media-22.6.2/media_softlet/agnostic/common/vp/hal/packet/vp_vebox_common.h:33: note: a field of same name but different type is defined in another translation unit
   33 |     PVP_SURFACE                     pSurfInput;
      | 
/builddir/build/BUILD/media-driver-intel-media-22.6.2/media_driver/agnostic/common/vp/hal/vphal_render_vebox_base.h:568: note: type 'struct VPHAL_SURFACE *' should match type 'struct VP_SURFACE *'
  568 | typedef struct _VPHAL_VEBOX_SURFACE_STATE_CMD_PARAMS
      | 
/usr/bin/ld: /tmp/ccu0lSzs.ltrans34.ltrans.o: in function `CodechalInterfacesXe_Xpm::Initialize(void*, void*, MhwInterfaces*, _MOS_INTERFACE*)':
/builddir/build/BUILD/media-driver-intel-media-22.6.2/media_softlet/agnostic/common/os/mos_utilities.h:2846: undefined reference to `CodechalHwInterfaceXe_Xpm::CodechalHwInterfaceXe_Xpm(_MOS_INTERFACE*, _CODECHAL_FUNCTION, MhwInterfaces*, bool)'
/usr/bin/ld: /tmp/ccu0lSzs.ltrans35.ltrans.o: in function `CodechalInterfacesXe_Hpm::CreateCodecHalInterface(MhwInterfaces*, CodechalHwInterface*&, CodechalDebugInterface*&, _MOS_INTERFACE*, _CODECHAL_FUNCTION, bool)':
/builddir/build/BUILD/media-driver-intel-media-22.6.2/media_softlet/agnostic/common/os/mos_utilities.h:2846: undefined reference to `CodechalHwInterfaceXe_Hpm::CodechalHwInterfaceXe_Hpm(_MOS_INTERFACE*, _CODECHAL_FUNCTION, MhwInterfaces*, bool)'
/usr/bin/ld: /tmp/ccu0lSzs.ltrans52.ltrans.o: in function `CodechalInterfacesXe_Lpm_Plus::Initialize(void*, void*, MhwInterfacesNext*, _MOS_INTERFACE*)':
/builddir/build/BUILD/media-driver-intel-media-22.6.2/media_softlet/agnostic/Xe_M_plus/Xe_LPM_plus/codec/hal/dec/jpeg/decode_jpeg_pipeline_adapter_xe_lpm_plus.cpp:32: undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::DecodeJpegPipelineAdapterXe_Lpm_Plus_Base(CodechalHwInterfaceNext*, CodechalDebugInterface*)'
/usr/bin/ld: /tmp/ccu0lSzs.ltrans52.ltrans.o:(.data.rel.ro+0x70): undefined reference to `typeinfo for DecodeJpegPipelineAdapterXe_Lpm_Plus_Base'
/usr/bin/ld: /tmp/ccu0lSzs.ltrans52.ltrans.o:(.data.rel.ro+0x420): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::Allocate(CodechalSetting*)'
/usr/bin/ld: /tmp/ccu0lSzs.ltrans52.ltrans.o:(.data.rel.ro+0x428): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::BeginFrame()'
/usr/bin/ld: /tmp/ccu0lSzs.ltrans52.ltrans.o:(.data.rel.ro+0x430): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::EndFrame()'
/usr/bin/ld: /tmp/ccu0lSzs.ltrans52.ltrans.o:(.data.rel.ro+0x438): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::Execute(void*)'
/usr/bin/ld: /tmp/ccu0lSzs.ltrans52.ltrans.o:(.data.rel.ro+0x440): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::GetStatusReport(void*, unsigned short)'
/usr/bin/ld: /tmp/ccu0lSzs.ltrans52.ltrans.o:(.data.rel.ro+0x448): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::Destroy()'
/usr/bin/ld: /tmp/ccu0lSzs.ltrans52.ltrans.o:(.data.rel.ro+0x468): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::IsIncompletePicture()'
/usr/bin/ld: /tmp/ccu0lSzs.ltrans52.ltrans.o:(.data.rel.ro+0x470): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::IsIncompleteJpegScan()'
/usr/bin/ld: /tmp/ccu0lSzs.ltrans52.ltrans.o:(.data.rel.ro+0x478): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::GetDummyReference()'
/usr/bin/ld: /tmp/ccu0lSzs.ltrans52.ltrans.o:(.data.rel.ro+0x480): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::GetDummyReferenceStatus()'
/usr/bin/ld: /tmp/ccu0lSzs.ltrans52.ltrans.o:(.data.rel.ro+0x488): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::SetDummyReferenceStatus(_CODECHAL_DUMMY_REFERENCE_STATUS)'
/usr/bin/ld: /tmp/ccu0lSzs.ltrans52.ltrans.o:(.data.rel.ro+0x490): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::GetCompletedReport()'
/usr/bin/ld: /tmp/ccu0lSzs.ltrans52.ltrans.o:(.data.rel.ro+0x498): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::GetDecodeContext()'
/usr/bin/ld: /tmp/ccu0lSzs.ltrans52.ltrans.o:(.data.rel.ro+0x4a0): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::GetDecodeContextHandle()'
/usr/bin/ld: /tmp/ccu0lSzs.ltrans58.ltrans.o: in function `CodechalEncoderState::Allocate(CodechalSetting*)':
/builddir/build/BUILD/media-driver-intel-media-22.6.2/media_softlet/agnostic/common/os/mos_utilities.h:2846: undefined reference to `CodechalEncodeTrackedBufferHevc::CodechalEncodeTrackedBufferHevc(CodechalEncoderState*)'
/usr/bin/ld: /tmp/ccu0lSzs.ltrans61.ltrans.o:(.data.rel.ro+0x40): undefined reference to `CodechalCmdInitializer::CmdInitializerSetDmem(bool)'
/usr/bin/ld: /tmp/ccu0lSzs.ltrans63.ltrans.o:(.data.rel.ro+0x48): undefined reference to `CodechalCmdInitializerG11::CmdInitializerSetDmem(bool)'
/usr/bin/ld: /tmp/ccu0lSzs.ltrans63.ltrans.o:(.data.rel.ro+0x78): undefined reference to `CodechalCmdInitializerG11::AddCmdConstData(unsigned short, unsigned int*, unsigned short, unsigned int)'
/usr/bin/ld: /tmp/ccu0lSzs.ltrans86.ltrans.o: in function `DecodeJpegPipelineAdapterXe_Lpm_Plus::~DecodeJpegPipelineAdapterXe_Lpm_Plus()':
/builddir/build/BUILD/media-driver-intel-media-22.6.2/media_softlet/agnostic/Xe_M_plus/Xe_LPM_plus_base/codec/hal/dec/jpeg/pipeline/decode_jpeg_pipeline_adapter_xe_lpm_plus_base.h:41: undefined reference to `vtable for DecodeJpegPipelineAdapterXe_Lpm_Plus_Base'
/usr/bin/ld: /tmp/ccu0lSzs.ltrans86.ltrans.o: in function `DecodeJpegPipelineAdapterXe_Lpm_Plus::~DecodeJpegPipelineAdapterXe_Lpm_Plus() [clone .lto_priv.0]':
/builddir/build/BUILD/media-driver-intel-media-22.6.2/media_softlet/agnostic/Xe_M_plus/Xe_LPM_plus_base/codec/hal/dec/jpeg/pipeline/decode_jpeg_pipeline_adapter_xe_lpm_plus_base.h:41: undefined reference to `vtable for DecodeJpegPipelineAdapterXe_Lpm_Plus_Base'
collect2: error: ld returned 1 exit status

@XinfengZhang XinfengZhang added the Common memory, surface, ddi label Nov 16, 2022
@intel-mediadev
Copy link
Contributor

Auto Created VSMGWL-59041 for further analysis.

@XinfengZhang XinfengZhang added Encode video encode related AVC AVC , MPEG2 VP8 etc. HEVC HEVC and removed Common memory, surface, ddi labels Nov 17, 2022
bai-isaac added a commit to bai-isaac/media-driver that referenced this issue Jan 13, 2023
This commit fix the compilation error when setting HEVC_Encode_Supported="no"
Fix for intel#1540
bai-isaac added a commit to bai-isaac/media-driver that referenced this issue Jan 13, 2023
This commit fix the compilation error when setting HEVC_Encode_Supported="no"
Fix for intel#1540
intel-mediadev pushed a commit that referenced this issue Jan 13, 2023
This commit fix the compilation error when setting HEVC_Encode_Supported="no"
Fix for #1540
@frantisekz
Copy link
Author

@bai-isaac Thanks for the PR!, However, I've tried to build 22.6.6 with #1594 applied on top of it and the result was similar failure:

/builddir/build/BUILD/media-driver-intel-media-22.6.6/media_driver/agnostic/common/vp/hal/vphal_render_vebox_base.h:568: warning: type 'struct _VPHAL_VEBOX_SURFACE_STATE_CMD_PARAMS' violates the C++ One Definition Rule [-Wodr]
  568 | typedef struct _VPHAL_VEBOX_SURFACE_STATE_CMD_PARAMS
      | 
/builddir/build/BUILD/media-driver-intel-media-22.6.6/media_softlet/agnostic/common/vp/hal/packet/vp_vebox_common.h:31: note: a different type is defined in another translation unit
   31 | typedef struct _VPHAL_VEBOX_SURFACE_STATE_CMD_PARAMS
      | 
/builddir/build/BUILD/media-driver-intel-media-22.6.6/media_driver/agnostic/common/vp/hal/vphal_render_vebox_base.h:570: note: the first difference of corresponding definitions is field 'pSurfInput'
  570 |     PVPHAL_SURFACE                  pSurfInput;
      | 
/builddir/build/BUILD/media-driver-intel-media-22.6.6/media_softlet/agnostic/common/vp/hal/packet/vp_vebox_common.h:33: note: a field of same name but different type is defined in another translation unit
   33 |     PVP_SURFACE                     pSurfInput;
      | 
/builddir/build/BUILD/media-driver-intel-media-22.6.6/media_driver/agnostic/common/vp/hal/vphal_render_vebox_base.h:568: note: type 'struct VPHAL_SURFACE *' should match type 'struct VP_SURFACE *'
  568 | typedef struct _VPHAL_VEBOX_SURFACE_STATE_CMD_PARAMS
      | 
/usr/bin/ld: /tmp/ccaCjPT0.ltrans109.ltrans.o: in function `DecodeJpegPipelineAdapterXe_Lpm_Plus::~DecodeJpegPipelineAdapterXe_Lpm_Plus()':
/builddir/build/BUILD/media-driver-intel-media-22.6.6/media_softlet/agnostic/Xe_M_plus/Xe_LPM_plus_base/codec/hal/dec/jpeg/pipeline/decode_jpeg_pipeline_adapter_xe_lpm_plus_base.h:41: undefined reference to `vtable for DecodeJpegPipelineAdapterXe_Lpm_Plus_Base'
/usr/bin/ld: /tmp/ccaCjPT0.ltrans109.ltrans.o: in function `DecodeJpegPipelineAdapterXe_Lpm_Plus::~DecodeJpegPipelineAdapterXe_Lpm_Plus()':
/builddir/build/BUILD/media-driver-intel-media-22.6.6/media_softlet/agnostic/Xe_M_plus/Xe_LPM_plus_base/codec/hal/dec/jpeg/pipeline/decode_jpeg_pipeline_adapter_xe_lpm_plus_base.h:41: undefined reference to `vtable for DecodeJpegPipelineAdapterXe_Lpm_Plus_Base'
/usr/bin/ld: /tmp/ccaCjPT0.ltrans109.ltrans.o:(.data.rel.ro+0x110): undefined reference to `typeinfo for DecodeJpegPipelineAdapterXe_Lpm_Plus_Base'
/usr/bin/ld: /tmp/ccaCjPT0.ltrans109.ltrans.o:(.data.rel.ro+0x4b8): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::Allocate(CodechalSetting*)'
/usr/bin/ld: /tmp/ccaCjPT0.ltrans109.ltrans.o:(.data.rel.ro+0x4c0): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::BeginFrame()'
/usr/bin/ld: /tmp/ccaCjPT0.ltrans109.ltrans.o:(.data.rel.ro+0x4c8): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::EndFrame()'
/usr/bin/ld: /tmp/ccaCjPT0.ltrans109.ltrans.o:(.data.rel.ro+0x4d0): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::Execute(void*)'
/usr/bin/ld: /tmp/ccaCjPT0.ltrans109.ltrans.o:(.data.rel.ro+0x4d8): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::GetStatusReport(void*, unsigned short)'
/usr/bin/ld: /tmp/ccaCjPT0.ltrans109.ltrans.o:(.data.rel.ro+0x4e0): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::Destroy()'
/usr/bin/ld: /tmp/ccaCjPT0.ltrans109.ltrans.o:(.data.rel.ro+0x500): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::IsIncompletePicture()'
/usr/bin/ld: /tmp/ccaCjPT0.ltrans109.ltrans.o:(.data.rel.ro+0x508): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::IsIncompleteJpegScan()'
/usr/bin/ld: /tmp/ccaCjPT0.ltrans109.ltrans.o:(.data.rel.ro+0x510): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::GetDummyReference()'
/usr/bin/ld: /tmp/ccaCjPT0.ltrans109.ltrans.o:(.data.rel.ro+0x518): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::GetDummyReferenceStatus()'
/usr/bin/ld: /tmp/ccaCjPT0.ltrans109.ltrans.o:(.data.rel.ro+0x520): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::SetDummyReferenceStatus(_CODECHAL_DUMMY_REFERENCE_STATUS)'
/usr/bin/ld: /tmp/ccaCjPT0.ltrans109.ltrans.o:(.data.rel.ro+0x528): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::GetCompletedReport()'
/usr/bin/ld: /tmp/ccaCjPT0.ltrans109.ltrans.o:(.data.rel.ro+0x530): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::GetDecodeContext()'
/usr/bin/ld: /tmp/ccaCjPT0.ltrans109.ltrans.o:(.data.rel.ro+0x538): undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::GetDecodeContextHandle()'
/usr/bin/ld: /tmp/ccaCjPT0.ltrans119.ltrans.o: in function `CodechalInterfacesXe_Lpm_Plus::Initialize(void*, void*, MhwInterfacesNext*, _MOS_INTERFACE*)':
/builddir/build/BUILD/media-driver-intel-media-22.6.6/media_softlet/agnostic/Xe_M_plus/Xe_LPM_plus/codec/hal/dec/jpeg/decode_jpeg_pipeline_adapter_xe_lpm_plus.cpp:32: undefined reference to `DecodeJpegPipelineAdapterXe_Lpm_Plus_Base::DecodeJpegPipelineAdapterXe_Lpm_Plus_Base(CodechalHwInterfaceNext*, CodechalDebugInterface*)'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

Is #1595 necessary too, or something else?

Config flags used to build are:

  -DENABLE_NONFREE_KERNELS:BOOL=OFF \
  -DENABLE_KERNELS:BOOL=OFF \
  -DBUILD_KERNELS:BOOL=OFF \
  -DMEDIA_BUILD_FATAL_WARNINGS=OFF \
  -DBUILD_SHARED_LIBS:BOOL=OFF \
  -DGEN10:BOOL=OFF \
  -DVC1_Decode_Supported="no" \
  -DAVC_Encode_VME_Supported="no" \
  -DAVC_Encode_VDEnc_Supported="no" \
  -DHEVC_Encode_VME_Supported="no" \
  -DHEVC_Encode_VDEnc_Supported="no" \
  -DAVC_Decode_Supported="no" \
  -DHEVC_Decode_Supported="no" \
  -DAVC_Decode_Supported="no" \
  -G Ninja

@frantisekz
Copy link
Author

Hmm, adding -DJPEG_Decode_Supported="no" works around the issue, it's not ideal, but definitely not the end of the world. Shall I create a separate issue for this one?

@bai-isaac
Copy link
Contributor

bai-isaac commented Jan 16, 2023

Hmm, adding -DJPEG_Decode_Supported="no" works around the issue, it's not ideal, but definitely not the end of the world. Shall I create a separate issue for this one?

Thanks frantisekz for pointing out this issue! We will take a look about this. Thanks!

bai-isaac added a commit to bai-isaac/media-driver that referenced this issue Jan 16, 2023
This commit fix the compilation error for intel#1540
intel-mediadev pushed a commit that referenced this issue Jan 16, 2023
This commit fix the compilation error for #1540
@frantisekz
Copy link
Author

Hmm, adding -DJPEG_Decode_Supported="no" works around the issue, it's not ideal, but definitely not the end of the world. Shall I create a separate issue for this one?

Thanks frantisekz for pointing out this issue! We will take a look about this. Thanks!

Thanks a lot, I've confirmed that your fix fixes the issue!

Closing this then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AVC AVC , MPEG2 VP8 etc. Build Cmake, build option related Encode video encode related HEVC HEVC
Projects
None yet
Development

No branches or pull requests

7 participants