- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have correctly linked the library files and included the header files as per the documentation,but iam getting this likner error.PLEASE guys i need your help.Below is the log file.It's in visual c++ 2005.
Linking... pipeline_decode.obj : error LNK2019: unresolved external symbol "unsigned int __cdecl GetMSDKAdapterNumber(struct _mfxSession *)" (?GetMSDKAdapterNumber@@YAIPAU_mfxSession@@@Z) referenced in function "protected: virtual enum mfxStatus __thiscall CDecodingPipeline::CreateHWDevice(void)" (?CreateHWDevice@CDecodingPipeline@@MAE?AW4mfxStatus@@XZ) pipeline_decode.obj : error LNK2019: unresolved external symbol "public: __thiscall CD3D9Device::CD3D9Device(void)" (??0CD3D9Device@@QAE@XZ) referenced in function "protected: virtual enum mfxStatus __thiscall CDecodingPipeline::CreateHWDevice(void)" (?CreateHWDevice@CDecodingPipeline@@MAE?AW4mfxStatus@@XZ) pipeline_decode.obj : error LNK2019: unresolved external symbol "public: __thiscall CSmplBitstreamReader::CSmplBitstreamReader(void)" (??0CSmplBitstreamReader@@QAE@XZ) referenced in function "public: __thiscall CJPEGFrameReader::CJPEGFrameReader(void)" (??0CJPEGFrameReader@@QAE@XZ) pipeline_decode.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CSmplBitstreamReader::Reset(void)" (?Reset@CSmplBitstreamReader@@UAEXXZ) pipeline_decode.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CSmplBitstreamReader::Close(void)" (?Close@CSmplBitstreamReader@@UAEXXZ) pipeline_decode.obj : error LNK2001: unresolved external symbol "public: virtual enum mfxStatus __thiscall CSmplBitstreamReader::Init(wchar_t const *)" (?Init@CSmplBitstreamReader@@UAE?AW4mfxStatus@@PB_W@Z) pipeline_decode.obj : error LNK2001: unresolved external symbol "public: virtual enum mfxStatus __thiscall CJPEGFrameReader::ReadNextFrame(struct mfxBitstream *)" (?ReadNextFrame@CJPEGFrameReader@@UAE?AW4mfxStatus@@PAUmfxBitstream@@@Z) pipeline_decode.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall CSmplBitstreamReader::~CSmplBitstreamReader(void)" (??1CSmplBitstreamReader@@UAE@XZ) referenced in function "public: virtual __thiscall CJPEGFrameReader::~CJPEGFrameReader(void)" (??1CJPEGFrameReader@@UAE@XZ) pipeline_decode.obj : error LNK2019: unresolved external symbol "public: __thiscall SysMemFrameAllocator::SysMemFrameAllocator(void)" (??0SysMemFrameAllocator@@QAE@XZ) referenced in function "protected: virtual enum mfxStatus __thiscall CDecodingPipeline::CreateAllocator(void)" (?CreateAllocator@CDecodingPipeline@@MAE?AW4mfxStatus@@XZ) pipeline_decode.obj : error LNK2019: unresolved external symbol "public: __thiscall D3DFrameAllocator::D3DFrameAllocator(void)" (??0D3DFrameAllocator@@QAE@XZ) referenced in function "protected: virtual enum mfxStatus __thiscall CDecodingPipeline::CreateAllocator(void)" (?CreateAllocator@CDecodingPipeline@@MAE?AW4mfxStatus@@XZ) pipeline_decode.obj : error LNK2019: unresolved external symbol "enum mfxStatus __cdecl InitMfxBitstream(struct mfxBitstream *,unsigned int)" (?InitMfxBitstream@@YA?AW4mfxStatus@@PAUmfxBitstream@@I@Z) referenced in function "public: virtual enum mfxStatus __thiscall CDecodingPipeline::Init(struct sInputParams *)" (?Init@CDecodingPipeline@@UAE?AW4mfxStatus@@PAUsInputParams@@@Z) pipeline_decode.obj : error LNK2019: unresolved external symbol "public: __thiscall CH264FrameReader::CH264FrameReader(void)" (??0CH264FrameReader@@QAE@XZ) referenced in function "public: virtual enum mfxStatus __thiscall CDecodingPipeline::Init(struct sInputParams *)" (?Init@CDecodingPipeline@@UAE?AW4mfxStatus@@PAUsInputParams@@@Z) pipeline_decode.obj : error LNK2019: unresolved external symbol "void __cdecl WipeMfxBitstream(struct mfxBitstream *)" (?WipeMfxBitstream@@YAXPAUmfxBitstream@@@Z) referenced in function "public: virtual void __thiscall CDecodingPipeline::Close(void)" (?Close@CDecodingPipeline@@UAEXXZ) pipeline_decode.obj : error LNK2019: unresolved external symbol "double __cdecl CalculateFrameRate(unsigned int,unsigned int)" (?CalculateFrameRate@@YANII@Z) referenced in function "public: virtual void __thiscall CDecodingPipeline::PrintInfo(void)" (?PrintInfo@CDecodingPipeline@@UAEXXZ) pipeline_decode.obj : error LNK2019: unresolved external symbol "class std::basic_string,class std::allocator > __cdecl CodecIdToStr(unsigned int)" (?CodecIdToStr@@YA?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@I@Z) referenced in function "public: virtual void __thiscall CDecodingPipeline::PrintInfo(void)" (?PrintInfo@CDecodingPipeline@@UAEXXZ) pipeline_decode.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall CSmplYUVWriter::~CSmplYUVWriter(void)" (??1CSmplYUVWriter@@UAE@XZ) referenced in function "public: virtual __thiscall CDecodingPipeline::~CDecodingPipeline(void)" (??1CDecodingPipeline@@UAE@XZ) pipeline_decode.obj : error LNK2019: unresolved external symbol "public: __thiscall CSmplYUVWriter::CSmplYUVWriter(void)" (??0CSmplYUVWriter@@QAE@XZ) referenced in function "public: __thiscall CDecodingPipeline::CDecodingPipeline(void)" (??0CDecodingPipeline@@QAE@XZ) pipeline_decode.obj : error LNK2019: unresolved external symbol "unsigned short __cdecl GetFreeSurfaceIndex(struct mfxFrameSurface1 *,unsigned short)" (?GetFreeSurfaceIndex@@YAGPAUmfxFrameSurface1@@G@Z) referenced in function "public: virtual enum mfxStatus __thiscall CDecodingPipeline::RunDecoding(void)" (?RunDecoding@CDecodingPipeline@@UAE?AW4mfxStatus@@XZ) pipeline_decode.obj : error LNK2019: unresolved external symbol "struct mfxExtBuffer * __cdecl GetExtBuffer(struct mfxExtBuffer * *,unsigned int,unsigned int)" (?GetExtBuffer@@YAPAUmfxExtBuffer@@PAPAU1@II@Z) referenced in function "protected: virtual enum mfxStatus __thiscall CDecodingPipeline::InitMfxParams(struct sInputParams *)" (?InitMfxParams@CDecodingPipeline@@MAE?AW4mfxStatus@@PAUsInputParams@@@Z) pipeline_decode.obj : error LNK2019: unresolved external symbol "enum mfxStatus __cdecl ExtendMfxBitstream(struct mfxBitstream *,unsigned int)" (?ExtendMfxBitstream@@YA?AW4mfxStatus@@PAUmfxBitstream@@I@Z) referenced in function "protected: virtual enum mfxStatus __thiscall CDecodingPipeline::InitMfxParams(struct sInputParams *)" (?InitMfxParams@CDecodingPipeline@@MAE?AW4mfxStatus@@PAUsInputParams@@@Z) pipeline_decode.obj : error LNK2019: unresolved external symbol "enum mfxStatus __cdecl MJPEG_AVI_ParsePicStruct(struct mfxBitstream *)" (?MJPEG_AVI_ParsePicStruct@@YA?AW4mfxStatus@@PAUmfxBitstream@@@Z) referenced in function "protected: virtual enum mfxStatus __thiscall CDecodingPipeline::InitMfxParams(struct sInputParams *)" (?InitMfxParams@CDecodingPipeline@@MAE?AW4mfxStatus@@PAUsInputParams@@@Z) ..\_build\Win32\Release\sample_decode.exe : fatal error LNK1120: 21 unresolved externals
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am getting following errors while building sample decode. Please help me to find out what i am missing and how do i correct it .
decode_render.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
2>pipeline_decode.obj : error LNK2019: unresolved external symbol _MFXInit referenced in function "public: virtual enum mfxStatus __thiscall MFXVideoSession::Init(int,union mfxVersion *)" (?Init@MFXVideoSession@@UAE?AW4mfxStatus@@HPATmfxVersion@@@Z)
2>sample_common.lib(sample_utils.obj) : error LNK2001: unresolved external symbol _MFXInit
2>pipeline_decode.obj : error LNK2019: unresolved external symbol _MFXClose referenced in function "public: virtual enum mfxStatus __thiscall MFXVideoSession::Close(void)" (?Close@MFXVideoSession@@UAE?AW4mfxStatus@@XZ)
2>sample_common.lib(sample_utils.obj) : error LNK2001: unresolved external symbol _MFXClose
2>pipeline_decode.obj : error LNK2019: unresolved external symbol _MFXQueryIMPL referenced in function "public: virtual enum mfxStatus __thiscall MFXVideoSession::QueryIMPL(int *)" (?QueryIMPL@MFXVideoSession@@UAE?AW4mfxStatus@@PAH@Z)
2>sample_common.lib(sample_utils.obj) : error LNK2001: unresolved external symbol _MFXQueryIMPL
2>pipeline_decode.obj : error LNK2019: unresolved external symbol _MFXQueryVersion referenced in function "public: virtual enum mfxStatus __thiscall MFXVideoSession::QueryVersion(union mfxVersion *)" (?QueryVersion@MFXVideoSession@@UAE?AW4mfxStatus@@PATmfxVersion@@@Z)
2>pipeline_decode.obj : error LNK2019: unresolved external symbol _MFXJoinSession referenced in function "public: virtual enum mfxStatus __thiscall MFXVideoSession::JoinSession(struct _mfxSession *)" (?JoinSession@MFXVideoSession@@UAE?AW4mfxStatus@@PAU_mfxSession@@@Z)
2>pipeline_decode.obj : error LNK2019: unresolved external symbol _MFXDisjoinSession referenced in function "public: virtual enum mfxStatus __thiscall MFXVideoSession::DisjoinSession(void)" (?DisjoinSession@MFXVideoSession@@UAE?AW4mfxStatus@@XZ)
2>pipeline_decode.obj : error LNK2019: unresolved external symbol _MFXCloneSession referenced in function "public: virtual enum mfxStatus __thiscall MFXVideoSession::CloneSession(struct _mfxSession * *)" (?CloneSession@MFXVideoSession@@UAE?AW4mfxStatus@@PAPAU_mfxSession@@@Z)
2>pipeline_decode.obj : error LNK2019: unresolved external symbol _MFXSetPriority referenced in function "public: virtual enum mfxStatus __thiscall MFXVideoSession::SetPriority(enum mfxPriority)" (?SetPriority@MFXVideoSession@@UAE?AW4mfxStatus@@W4mfxPriority@@@Z)
2>pipeline_decode.obj : error LNK2019: unresolved external symbol _MFXGetPriority referenced in function "public: virtual enum mfxStatus __thiscall MFXVideoSession::GetPriority(enum mfxPriority *)" (?GetPriority@MFXVideoSession@@UAE?AW4mfxStatus@@PAW4mfxPriority@@@Z)
2>pipeline_decode.obj : error LNK2019: unresolved external symbol _MFXVideoCORE_SetBufferAllocator referenced in function "public: virtual enum mfxStatus __thiscall MFXVideoSession::SetBufferAllocator(struct mfxBufferAllocator *)" (?SetBufferAllocator@MFXVideoSession@@UAE?AW4mfxStatus@@PAUmfxBufferAllocator@@@Z)
2>pipeline_decode.obj : error LNK2019: unresolved external symbol _MFXVideoCORE_SetFrameAllocator referenced in function "public: virtual enum mfxStatus __thiscall MFXVideoSession::SetFrameAllocator(struct mfxFrameAllocator *)" (?SetFrameAllocator@MFXVideoSession@@UAE?AW4mfxStatus@@PAUmfxFrameAllocator@@@Z)
2>pipeline_decode.obj : error LNK2019: unresolved external symbol _MFXVideoCORE_SetHandle referenced in function "public: virtual enum mfxStatus __thiscall MFXVideoSession::SetHandle(enum mfxHandleType,void *)" (?SetHandle@MFXVideoSession@@UAE?AW4mfxStatus@@W4mfxHandleType@@PAX@Z)
2>pipeline_decode.obj : error LNK2019: unresolved external symbol _MFXVideoCORE_GetHandle referenced in function "public: virtual enum mfxStatus __thiscall MFXVideoSession::GetHandle(enum mfxHandleType,void * *)" (?GetHandle@MFXVideoSession@@UAE?AW4mfxStatus@@W4mfxHandleType@@PAPAX@Z)
2>pipeline_decode.obj : error LNK2019: unresolved external symbol _MFXVideoCORE_SyncOperation referenced in function "public: virtual enum mfxStatus __thiscall MFXVideoSession::SyncOperation(struct _mfxSyncPoint *,unsigned int)" (?SyncOperation@MFXVideoSession@@UAE?AW4mfxStatus@@PAU_mfxSyncPoint@@I@Z)
2>pipeline_decode.obj : error LNK2019: unresolved external symbol "class IGFXS3DControl * __cdecl CreateIGFXS3DControl(void)" (?CreateIGFXS3DControl@@YAPAVIGFXS3DControl@@XZ) referenced in function "public: virtual enum mfxStatus __thiscall CDecodingPipeline::Init(struct sInputParams *)" (?Init@CDecodingPipeline@@UAE?AW4mfxStatus@@PAUsInputParams@@@Z)
2>pipeline_decode.obj : error LNK2019: unresolved external symbol _MFXVideoDECODE_Query referenced in function "public: virtual enum mfxStatus __thiscall MFXVideoDECODE::Query(struct mfxVideoParam *,struct mfxVideoParam *)" (?Query@MFXVideoDECODE@@UAE?AW4mfxStatus@@PAUmfxVideoParam@@0@Z)
2>pipeline_decode.obj : error LNK2019: unresolved external symbol _MFXVideoDECODE_DecodeHeader referenced in function "public: virtual enum mfxStatus __thiscall MFXVideoDECODE::DecodeHeader(struct mfxBitstream *,struct mfxVideoParam *)" (?DecodeHeader@MFXVideoDECODE@@UAE?AW4mfxStatus@@PAUmfxBitstream@@PAUmfxVideoParam@@@Z)
2>pipeline_decode.obj : error LNK2019: unresolved external symbol _MFXVideoDECODE_QueryIOSurf referenced in function "public: virtual enum mfxStatus __thiscall MFXVideoDECODE::QueryIOSurf(struct mfxVideoParam *,struct mfxFrameAllocRequest *)" (?QueryIOSurf@MFXVideoDECODE@@UAE?AW4mfxStatus@@PAUmfxVideoParam@@PAUmfxFrameAllocRequest@@@Z)
2>pipeline_decode.obj : error LNK2019: unresolved external symbol _MFXVideoDECODE_Init referenced in function "public: virtual enum mfxStatus __thiscall MFXVideoDECODE::Init(struct mfxVideoParam *)" (?Init@MFXVideoDECODE@@UAE?AW4mfxStatus@@PAUmfxVideoParam@@@Z)
2>pipeline_decode.obj : error LNK2019: unresolved external symbol _MFXVideoDECODE_Reset referenced in function "public: virtual enum mfxStatus __thiscall MFXVideoDECODE::Reset(struct mfxVideoParam *)" (?Reset@MFXVideoDECODE@@UAE?AW4mfxStatus@@PAUmfxVideoParam@@@Z)
2>pipeline_decode.obj : error LNK2019: unresolved external symbol _MFXVideoDECODE_Close referenced in function "public: virtual enum mfxStatus __thiscall MFXVideoDECODE::Close(void)" (?Close@MFXVideoDECODE@@UAE?AW4mfxStatus@@XZ)
2>pipeline_decode.obj : error LNK2019: unresolved external symbol _MFXVideoDECODE_GetVideoParam referenced in function "public: virtual enum mfxStatus __thiscall MFXVideoDECODE::GetVideoParam(struct mfxVideoParam *)" (?GetVideoParam@MFXVideoDECODE@@UAE?AW4mfxStatus@@PAUmfxVideoParam@@@Z)
2>pipeline_decode.obj : error LNK2019: unresolved external symbol _MFXVideoDECODE_GetDecodeStat referenced in function "public: virtual enum mfxStatus __thiscall MFXVideoDECODE::GetDecodeStat(struct mfxDecodeStat *)" (?GetDecodeStat@MFXVideoDECODE@@UAE?AW4mfxStatus@@PAUmfxDecodeStat@@@Z)
2>pipeline_decode.obj : error LNK2019: unresolved external symbol _MFXVideoDECODE_GetPayload referenced in function "public: virtual enum mfxStatus __thiscall MFXVideoDECODE::GetPayload(unsigned __int64 *,struct mfxPayload *)" (?GetPayload@MFXVideoDECODE@@UAE?AW4mfxStatus@@PA_KPAUmfxPayload@@@Z)
2>pipeline_decode.obj : error LNK2019: unresolved external symbol _MFXVideoDECODE_SetSkipMode referenced in function "public: virtual enum mfxStatus __thiscall MFXVideoDECODE::SetSkipMode(enum mfxSkipMode)" (?SetSkipMode@MFXVideoDECODE@@UAE?AW4mfxStatus@@W4mfxSkipMode@@@Z)
2>pipeline_decode.obj : error LNK2019: unresolved external symbol _MFXVideoDECODE_DecodeFrameAsync referenced in function "public: virtual enum mfxStatus __thiscall MFXVideoDECODE::DecodeFrameAsync(struct mfxBitstream *,struct mfxFrameSurface1 *,struct mfxFrameSurface1 * *,struct _mfxSyncPoint * *)" (?DecodeFrameAsync@MFXVideoDECODE@@UAE?AW4mfxStatus@@PAUmfxBitstream@@PAUmfxFrameSurface1@@PAPAU4@PAPAU_mfxSyncPoint@@@Z)
2>..\_build\Win32\Debug\sample_decode.exe : fatal error LNK1120: 26 unresolved externals
2>
2>Build FAILED.
2>
2>Time Elapsed 00:00:04.16
========== Rebuild All: 1 succeeded, 1 failed, 0 skipped ==========
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page