Static linking problem

Static linking problem

I have successfully created a statically linked IPPI application in the past but when I repeat the process on a new application I get an immediate error that ippi20.dll can't be found. I'm using the same MFC IDE and have carefully checked my earlier project and the Intel instructions, including step 9, and everything is in order.I'm stumped.

  1. Add the files funclist.h, ippmerged.c, and ippmerged.h from ipp oolsmergedlib to your project and its source tree.
  2. Add the files ipplibipp*merged.lib to your project and its source tree.
  3. Add the file ipplibippcorel.lib to your project and its source tree.
  4. Edit funclist.h to include declarations of every IPP function your application needs to call. These should be copied directly from the IPP header files (ipp*.h) and look like:

    IPPAPI( const IppLibraryVersion*, ippsGetLibVersion, (void) )

  5. Call ippInitStatic() once from your application before executing any IPP functions.
  6. Include ippmerged.h in the file that calls ippInitStatic().
  7. Include ipp.h in the application.
  8. Call IPP functions normally from your application.
  9. When compiling your application, define macros PX, M6, A6, and/or W7 to include CPU-specific functions. These macros stand for Generic IA-32, Pentium II, Pentium III, and Pentium 4 processors respectively.
9 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Solved. Dll path differences which I mistook as a static linking error.
"Its a great life if you don't weaken."

Great!

I'm glad you find the solution. How you find IPP libraries? Doesit fit you needs?

Regards,
Vladimir

Vladimir,
I have used the Intel libraries off and on for seven years now for imaging applications.I like them because they are comprehensive for imaging routines and very affordable compared with many commercial libraries. Also they are very fast and can be easily used with larger images. The Forum here is very helpful so I know I can get assistance when required when I run into a problem, which I have several times. So far all the imaging functions I have needed have been available.
I use the MFCIppiSample as a starting place for project development and its been successful but I wish the originators had chosen printing support and OLE support when creating the project. Would have saved me many hours.
In the future I would like to see:
a) more examples using IPP functions. Would save a lot of development time by being able to see actual usage at work, particularly for more advanced topics like FFT.
b) more direct VB support and migration to .NET

Keep up the good work.
Rick

Hi Rick,

thank you for kind words:)

Yes, you are right, the samples and documentation are the things which never willsatisfy everyone.
Well, regarding the samples, what exactly you want to see? I believe it is not so interesting just show hot to call FFT function for image, right?

Actually, we also can ask other forum participants, could you please post your ideas, or even better your samples how to do something with IPP?

Regards,
Vladimir

Hi Rick,

thank you for kind words:)

Yes, you are right, the samples and documentation are the things which never willsatisfy everyone.
Well, regarding the samples, what exactly you want to see? I believe it is not so interesting just show hot to call FFT function for image, right?

Actually, we also can ask other forum participants, could you please post your ideas, or even better your samples how to do something with IPP?

Regards,
Vladimir

Vladimir,
Thanks for your reply. I think the FFT is interesting becasue it would use and demonstrate the advanced features of the IPP as well as the performance capabilities. There is an application, ImagePro that has wonderful implementation of FFT on images, forward, backward and image editing capabilities. One use is for an image that has a repetitive structure that obscures the image, say an image taken through a screen, or an image degraded by periodic noise. By doing an FFT of the image the periodicity shows up very clearly and can be selected then removed from the FFT. Inverting the FFT gives the original image back without the defect. So I would like to see a simple version of this functionality in a demo code as it would be much easier to follow the actual use of the FFT functions and would be a great and powerfulvisual demonstration too.
Rick

Rock, yes it is interesting idea, will see if someone can provide such sample here, on a forum. In any case we will consider your request for such sample.

Regards,
Vladimir

Vladimir,
Thank you. Yes, I would like to see an example posted in the forums or developed by Intel. If I can be of any assistance pls let me know.
Rick

Leave a Comment

Please sign in to add a comment. Not a member? Join today