- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is example code from VS 2010, with ALL *_l.lib files added to the project. (Lib files are from ipp folder of Composer XE 2011 SP1.)
The w7 version (commented out) will build, but the px version gives unresolved external:_px_ippiResize_8u_C3R@68.
What am I doing wrong?
#include "stdafx.h"
#include
extern "C" {
/*
IppStatus __stdcall w7_ippiResize_8u_C3R (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srIppcROI,
Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
double xFactor, double yFactor, int interpolation);
*/
IppStatus __stdcall px_ippiResize_8u_C3R (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srIppcROI,
Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
double xFactor, double yFactor, int interpolation);
}
int _tmain(int argc, _TCHAR* argv[])
{
IppStatus s;
IppiRect r1;
IppiSize sz;
//s = w7_ippiResize_8u_C3R(0, sz, 0, r1, 0, 0, sz, 0, 0, 0 );
s = px_ippiResize_8u_C3R(0, sz, 0, r1, 0, 0, sz, 0, 0, 0 );
return 0;
}
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>>...This is example code from VS 2010, with ALL *_l.lib files added to the project...
It looks like some library was not added.Could you search all these '*_l.lib' filesfor a sub-string
'px_ippiResize_8u_C3R'?
It looks like some library was not added.Could you search all these '*_l.lib' filesfor a sub-string
'px_ippiResize_8u_C3R'?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi David,
Please refer to below article to get information about initialization of PX code of IPP library.
http://software.intel.com/en-us/articles/generic-library-dispatching-with-the-ipp-70-library/
regards,
Naveen Gv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Naveen,
I just read the article you mentioned and there is a statement that:
...
Of course, you must also be sure to include the appropriate generic library in the list of libraries that
your application will link against.
...
So, it means that a correct generic library was not included in the first place, right?
David claims that he added all libraries. I thinkit would be nice to see a complete list ofadded libraries.
Best regards,
Sergey
I just read the article you mentioned and there is a statement that:
...
Of course, you must also be sure to include the appropriate generic library in the list of libraries that
your application will link against.
...
So, it means that a correct generic library was not included in the first place, right?
David claims that he added all libraries. I thinkit would be nice to see a complete list ofadded libraries.
Best regards,
Sergey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi David & Sergey,
As in the below picture, you have to download separate package from the registration centre. It has got px and mx libraries. This was not included in the main package.
Regards,
Naveen Gv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, Naveen! Finally explained.
Best regards,
Sergey
Best regards,
Sergey
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page