Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
6670 Discussions

How to use UMC samples with static linkage?

moetje
Beginner
189 Views

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
189 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
190 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
moetje
Beginner
189 Views


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


Thanks very much,

mm

Reply