Skip to content

Can't build Gen11 only driver w/ disabled VDENC #451

Description

@dvrogozh

Note: HEVC vdenc is disabled comparing to #999.

cmake \
  -DCMAKE_INSTALL_PREFIX=/usr \
  -DCMAKE_INSTALL_LIBDIR=/usr/lib64 \
  -DGEN8_Supported="no" \
  -DGEN8_BDW_Supported="no" \
  -DGEN9_Supported="no" \
  -DGEN9_BXT_Supported="no" \
  -DGEN9_SKL_Supported="no" \
  -DGEN9_CFL_Supported="no" \
  -DGEN9_GLK_Supported="no" \
  -DGEN9_KBL_Supported="no" \
  -DGEN10_Supported="no" \
  -DGEN10_CNL_Supported="no" \
  -DHEVC_Encode_VDEnc_Supported="no" \
  -DFull_Open_Source_Support="yes" ..

CMakeFiles/iHD_drv_video_OBJ.dir/agnostic/common/codec/hal/codechal_encoder_base.cpp.o: In function `CodechalEncodeTrackedBufferHevc* MOS_NewUtil<CodechalEncodeTrackedBufferHevc, CodechalEncoderState*>(CodechalEncoderState*&&)':
/home/dvrogozh/git/github/media-driver/media_driver/agnostic/common/os/mos_utilities.h:799: undefined reference to `CodechalEncodeTrackedBufferHevc::CodechalEncodeTrackedBufferHevc(CodechalEncoderState*)'
CMakeFiles/iHD_drv_video_OBJ.dir/agnostic/common/codec/hal/codechal_huc_cmd_initializer.cpp.o:(.data.rel.ro._ZTV22CodechalCmdInitializer[_ZTV22CodechalCmdInitializer]+0x30): undefined reference to `CodechalCmdInitializer::CmdInitializerSetDmem(bool)'
CMakeFiles/iHD_drv_video_OBJ.dir/agnostic/gen11/codec/hal/codechal_huc_cmd_initializer_g11.cpp.o:(.data.rel.ro._ZTV25CodechalCmdInitializerG11[_ZTV25CodechalCmdInitializerG11]+0x30): undefined reference to `CodechalCmdInitializerG11::CmdInitializerSetDmem(bool)'
CMakeFiles/iHD_drv_video_OBJ.dir/agnostic/gen11/codec/hal/codechal_huc_cmd_initializer_g11.cpp.o:(.data.rel.ro._ZTV25CodechalCmdInitializerG11[_ZTV25CodechalCmdInitializerG11]+0x60): undefined reference to `CodechalCmdInitializerG11::AddCmdConstData(unsigned short, unsigned int*, unsigned short, unsigned int)'
collect2: error: ld returned 1 exit status

Metadata

Metadata

Assignees

Labels

BuildCmake, build option relatedP3Low priority no customer usage, no business requirements, not from communities, just from internal

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions