- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I ran in some trouble after Ipp 8.1 upgrade.
INTEL_PLATFORM definition in ippdefs.h is :
#ifdef _WIN32
#define _INTEL_PLATFORM "ia32/"
#else
#define _INTEL_PLATFORM "intel64/"
#endif
But for microsoft C++ compiler _WIN32 is defined for 64 bit application too as documented here
http://msdn.microsoft.com/en-us/library/b0084kay.aspx
_WIN32 |
Defined for applications for Win32 and Win64. Always defined. |
_WIN64 |
Defined for applications for Win64 |
When I try to compile a 64 bit application the wrong path is selected.
I use this workaround including ipp.h
#pragma push_macro ("_WIN32")
#if defined ( _WIN64 )
#undef _WIN32
#endif
#include <ipp.h>
#pragma pop_macro ("_WIN32")
I'm missing something?
Thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Thanks for reporting. Right, it is bug in IPP. We will fix the problem in next release.
Thanks
Ying

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page