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

Linking error with aac_enc.lib

visiontops
Einsteiger
833Aufrufe
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 Antworten
VipinKumar_E_Intel
Mitarbeiter
833Aufrufe
Can you specify what linking errors are you getting?

--Vipin
visiontops
Einsteiger
833Aufrufe

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!

VipinKumar_E_Intel
Mitarbeiter
833Aufrufe

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?

visiontops
Einsteiger
833Aufrufe

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

Antworten