| October 21, 2009 6:00 AM PDT | |
When C applications are developed based on ipp_zlib samples, it requires the use of libstdc++ libraries to the link line.
Otherewise, while linking you may get __gxx_personality_v0 unresolved external error in ipp_static.o.
This is because the call to ippStaticInit() is done from a struct in ipp_static.cpp file as below.
struct IPP_ZLIB_STATIC_INIT {
int tmp;
IPP_ZLIB_STATIC_INIT(int tmp_init){this->tmp = tmp_init; ippStaticInit();}
};
The above error can be avoided by calling ippStaticInit() from your code directly and excluding ipp_static.cpp from your application project. This will also remove the linking dependency of libstdc++ library in the build.
Otherewise, while linking you may get __gxx_personality_v0 unresolved external error in ipp_static.o.
This is because the call to ippStaticInit() is done from a struct in ipp_static.cpp file as below.
struct IPP_ZLIB_STATIC_INIT {
int tmp;
IPP_ZLIB_STATIC_INIT(int tmp_init){this->tmp = tmp_init; ippStaticInit();}
};
The above error can be avoided by calling ippStaticInit() from your code directly and excluding ipp_static.cpp from your application project. This will also remove the linking dependency of libstdc++ library in the build.
Do you need more help?
This article applies to: Intel® Integrated Performance Primitives Knowledge Base
For more complete information about compiler optimizations, see our Optimization Notice.
Comments (0) 
Trackbacks (0)
Leave a comment 
To obtain technical support, please go to Software Support.

