- Contrassegnare come Nuovo
- Preferito
- Iscriversi
- Disattiva notifiche
- Iscriversi a feed RSS
- Evidenziare
- Stampare
- Segnalare contenuto inappropriato
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 copiato
- Contrassegnare come Nuovo
- Preferito
- Iscriversi
- Disattiva notifiche
- Iscriversi a feed RSS
- Evidenziare
- Stampare
- Segnalare contenuto inappropriato
Hi
Thanks for reporting. Right, it is bug in IPP. We will fix the problem in next release.
Thanks
Ying

- Iscriversi a feed RSS
- Contrassegnare la discussione come nuova
- Contrassegnare la discussione come letta
- Sposta questo Discussione per l'utente corrente
- Preferito
- Iscriversi
- Pagina in versione di stampa