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

Linking error with aac_enc.lib

visiontops
Beginner
369 Views
I am programming a console program for the audio encode(pcm to acc) under vc++ 2005 and get some error messages.
There is actually just 1 line of codes in my main() function as below:
[cpp]UMC::AACEncoder encoder;[/cpp]

To be sure thelast library "acc_enc.lib" is compiled from "IPP\\ipp-samples\\audio-video-codecs\\codec\\aac_enc" which provided by Intel IPP.

Is it not enough or else? Waiting for your help!
0 Kudos
4 Replies
VipinKumar_E_Intel
369 Views
Can you specify what linking errors are you getting?

--Vipin
0 Kudos
visiontops
Beginner
369 Views

Thelinking errors is like below and so forth.

1>aac_enc.lib(umc_aac_encoder.obj) : error LNK2019: unresolved external symbol "public: virtual __thiscall UMC::BaseCodec::~BaseCodec(void)" (??1BaseCodec@UMC@@UAE@XZ) referenced in function __unwindfunclet$??0AudioCodec@UMC@@QAE@XZ$0

1>aac_enc.lib(umc_aac_encoder.obj) : error LNK2019: unresolved external symbol "public: __thiscall UMC::BaseCodec::BaseCodec(void)" (??0BaseCodec@UMC@@QAE@XZ) referenced in function "public: __thiscall UMC::AudioCodec::AudioCodec(void)" (??0AudioCodec@UMC@@QAE@XZ)

Thanks!

0 Kudos
VipinKumar_E_Intel
369 Views

At first look, it seems to be you have missed to link the UMC core lib. Can you build and link with the same and try?

0 Kudos
visiontops
Beginner
369 Views

Hi, Vipin
Just as you have said I fixed the error by liking the UMC core lib.
Thanks a lot !

0 Kudos
Reply