Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Comunicados
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

linking errors when using DV codec

shyaki
Principiante
533 Visualizações

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 Respostas
shyaki
Principiante
533 Visualizações

I forgot to post the definition of createDV25VideoEncoder():

VideoEncoder

*createDV25VideoEncoder()

{

VideoEncoder* ptr = new DV25VideoEncoder;

return ptr;

}

shyaki
Principiante
533 Visualizações

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.

Vladimir_Dudnik
Funcionário
533 Visualizações

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

Regards,
Vladimir

Responder