Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

linking errors when using DV codec

shyaki
Beginner
511 Views

Hi,

I tried to use the DV25 encoder, but I got the following linkage error:

dv_enc.lib(umc_dv25_video_encoder.obj) : error LNK2019: unresolved external symbol "public: __thiscall UMC::DVVideoEncoder::DVVideoEncoder(void)" (??0DVVideoEncoder@UMC@@QAE@XZ) referenced in function "public: __thiscall UMC::DV25VideoEncoder::DV25VideoEncoder(void)" (??0DV25VideoEncoder@UMC@@QAE@XZ)

I have linked dv25_enc.lib

I can use the MPEG2 encoder correctly.

Could you please give me some clue how to fix it? I attach my code in the end.

Thank you very much.

// ipp_dv25_enc_con.cpp : Defines the entry point for the console application.

//

#include

"stdafx.h"

#include

"ipps.h"

#include

"umc_defs.h"

#include

"umc_video_encoder.h"

#include

"umc_dv25_video_encoder.h"

#include

"umc_mpeg2_video_encoder.h"

using

namespace UMC;

int

_tmain(int argc, _TCHAR* argv[])

{

VideoEncoder *pCodec;

//pCodec = createMPEG2VideoEncoder();

pCodec = createDV25VideoEncoder();

if (pCodec)

{

delete pCodec;

pCodec = NULL;

}

return 0;

}

0 Kudos
3 Replies
shyaki
Beginner
511 Views

I forgot to post the definition of createDV25VideoEncoder():

VideoEncoder

*createDV25VideoEncoder()

{

VideoEncoder* ptr = new DV25VideoEncoder;

return ptr;

}

0 Kudos
shyaki
Beginner
511 Views

I was so suprised when I found out the reason.The DV25 codec is not finished!. I hope the intel guys will get it done soon.

0 Kudos
Vladimir_Dudnik
Employee
511 Views

Hi, DV25 codec is finished, it depends on dv_enc.lib, so you need to add this lib in your linker options

Regards,
Vladimir

0 Kudos
Reply