Community
cancel
Showing results for 
Search instead for 
Did you mean: 
visiontops
Beginner
60 Views

Linking error with aac_enc.lib

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
60 Views

Can you specify what linking errors are you getting?

--Vipin
visiontops
Beginner
60 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!

60 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?

visiontops
Beginner
60 Views

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

Reply