question about merging the IPP static lib

question about merging the IPP static lib

when using the function : ippsDownsampleSize and ippsDownsample_16s decleared in ippalign.h. The ippalignpxl.lib and the ippaligni71.lig are added to
the project . link errors appear, I wonder whether these two functiongs are included in the merge lib?

12 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
vladimir-dudnik (Intel)'s picture

Hi,

could you describe what environment you use? Is it IA32 or IA64 platfrom? What is your development environment? Is it C++ studio or Makefile? Who added to your project both libraries, ia32-based and ia64-based?

Regards,
Vladimir

I use the IA32 platfrom, development envirment is visual C++ in windows 2000, the libs are IA32 based.

vladimir-dudnik (Intel)'s picture

Thanks for info, so when you are link with ippalignpxl.lib you see that ippalignixl.lib is also required? Or you are use some of IPP samples?
Of course, ippalignixl.lib should not be needed for IA32 project.

Regards,
Vladimir

yes, I am making use of the ipp sample : VAD test, the two functions above are used, I wonder which static lib the two functions are included in, or dll

vladimir-dudnik (Intel)'s picture

Thanks, now I understood. So you need to link ippalignpxl.lib on IA32 and you need to link ippalignixl.lib on IA64

Vladimir

thanks for reply, but when i add the ippalignpxl.lib to the project, link error appears, for I had added the ippmerged.h and ippmerged.h to my project,
may be i need the merged lib for the above two functions. follows are the
error message:
Linking...
Creating library vqq_debugdebugintelIppall/InPlus.lib and object vqq_debugdebugintelIppall/InPlus.exp
LINK : warning LNK4098: defaultlib "MSVCRTD" conflicts with use of other libs; use /NODEFAULTLIB:library
IntelIPPLib.lib(ippmerged.obj) : error LNK2001: unresolved external symbol _px_ippsDownSample_16s@20
IntelIPPLib.lib(ippmerged.obj) : error LNK2001: unresolved external symbol _px_ippsDownSampleSize@16
vqq_debugdebugInPlus.dll : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
InPlus.dll - 3 error(s), 1 warning(s)

vladimir-dudnik (Intel)'s picture

As I can see you are use "custom DLL" or "mergedlib" as a build template? Is it right?

Vladimir

I had build a custom lib ,which include the ipp file: ippmerged.h, ippmerged.cpp and funclist.h; then I add some merged lib to the project,such as ippsrmerged.lib. And i also build a dll to replace the custom lib.
every thing is ok; but when I add the above two func and the ippalignpxl.lib to
the project, build the dll, the link error appears.

vladimir-dudnik (Intel)'s picture

now I see, is that because your goal is to build custom lib? Can you use much simple way, remove all staff from custom dll or custom lib (ippmerged.lib, funclist.h, ippmerged.cpp and so on). Just link your project with *merged.lib, *emerged.lib and ippalignpxl.lib. That is all what you need. That should help. The problem is that you are trying to build merged library from ippalign library but this lib have only one variant of code.

Vladimir

thanks you for your patient!! : )
can I say that you mean the ippalignpxl.lib is a simple lib , it dose not include variant code, so I can not use it with a merge style. Just use it with a normal style?

vladimir-dudnik (Intel)'s picture

No problem, I'm glad to helpwhen I can.

Yes, exactly. This lib is intended to provide support for API from IPP for PCA wich is absent in IPP for IA.

Vladimir

Login to leave a comment.