Community
cancel
Showing results for 
Search instead for 
Did you mean: 
moetje
Beginner
79 Views

How to use UMC samples with static linkage?

Jump to solution

Hi,

I can successfully build and link a sample with the UMC API contained in the samples.

Thus, when I link with these libraries:

ippcore.lib
ipps.lib
ippsc.lib
F:\...\_bin\win32_cl8\lib\umc.lib
F:\...\_bin\win32_cl8\lib\speech.lib

I links successfully.

Though, when I try to link with these libs:

ippcorel.lib
ippsemerged.lib
ippscemerged.lib
F:\...\_bin\win32_cl8\lib\umc.lib
F:\...\_bin\win32_cl8\lib\speech.lib

I get tons of unresolved externals errors, starting like this:

ippsemerged.lib(ipps00042.obj) : error LNK2001: unresolved external symbol _p8_ippsZero_16s@8
ippsemerged.lib(ipps00042.obj) : error LNK2001: unresolved external symbol _v8_ippsZero_16s@8
ippsemerged.lib(ipps00042.obj) : error LNK2001: unresolved external symbol _t7_ippsZero_16s@8
ippsemerged.lib(ipps00042.obj) : error LNK2001: unresolved external symbol _w7_ippsZero_16s@8
ippsemerged.lib(ipps00042.obj) : error LNK2001: unresolved external symbol _px_ippsZero_16s@8
ippsemerged.lib(ipps00323.obj) : error LNK2001: unresolved external symbol _p8_ippsLinToMuLaw_16s8u@12
ippsemerged.lib(ipps00323.obj) : error LNK2001: unresolved external symbol _v8_ippsLinToMuLaw_16s8u@12
ippsemerged.lib(ipps00323.obj) : error LNK2001: unresolved external symbol _t7_ippsLinToMuLaw_16s8u@12
ippsemerged.lib(ipps00323.obj) : error LNK2001: unresolved external symbol _w7_ippsLinToMuLaw_16s8u@12
ippsemerged.lib(ipps00323.obj) : error LNK2001: unresolved external symbol _px_ippsLinToMuLaw_16s8u@12
ippsemerged.lib(ipps00018.obj) : error LNK2001: unresolved external symbol _p8_ippsCopy_16s@12

......


What do I have to do to get all the stuff linked statically (with dispatching)??

Thanks,

Matthias
0 Kudos
1 Solution
Chao_Y_Intel
Employee
79 Views

Matthias,

Besize adding the *emerged.lib libraries, you also need to add *merged.lib libraries into the linking option:
For example:

ippcorel.lib
ippsemerged.lib ippsmerged.lib
ippscemerged.lib ippscmerged.lib
ippvcemerged.lib ippvcmerged.lib
....
F:..._binwin32_cl8libumc.lib
F:..._binwin32_cl8libspeech.lib
....

thanks,
Chao

View solution in original post

2 Replies
Chao_Y_Intel
Employee
80 Views

Matthias,

Besize adding the *emerged.lib libraries, you also need to add *merged.lib libraries into the linking option:
For example:

ippcorel.lib
ippsemerged.lib ippsmerged.lib
ippscemerged.lib ippscmerged.lib
ippvcemerged.lib ippvcmerged.lib
....
F:..._binwin32_cl8libumc.lib
F:..._binwin32_cl8libspeech.lib
....

thanks,
Chao

View solution in original post

moetje
Beginner
79 Views


Oh, that was easy but it wasn't clear from the documentation..


Thanks very much,

mm

Reply