<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Cannot link  in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807212#M3691</link>
    <description>Filip,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Look how IPP functions are declared. Let's take a function from IPPI&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="text-decoration: underline;"&gt;IPPAPI( Ipp8u*, ippiMalloc_8u_C1, ( int widthPixels, int heightPixels, int* pStepBytes ) )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;How IPPAPI is defined?&lt;/DIV&gt;&lt;DIV&gt;[cpp]#if !defined( IPPAPI )
  #if defined( IPP_W32DLL ) &amp;amp;&amp;amp; (defined( _WIN32 ) || defined( _WIN64 ))
    #if defined( _MSC_VER ) || defined( __ICL )
      #define IPPAPI( type,name,arg ) __declspec(dllimport)   type __STDCALL name arg;
    #else
      #define IPPAPI( type,name,arg )        type __STDCALL name arg;
    #endif
  #else
    #define   IPPAPI( type,name,arg )        type __STDCALL name arg;
  #endif
#endif
[/cpp] &lt;/DIV&gt;&lt;DIV&gt;The line 9 aboveis the definition which must work in your case if you don't use IPP DLLs. And, the last, how __STDCALL is defined?&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;[cpp]#if defined( _WIN32 ) || defined ( _WIN64 )
  #define __STDCALL  __stdcall
  #define __CDECL    __cdecl
  #define __INT64    __int64
  #define __UINT64    unsigned __int64
#else
  #define __STDCALL
  #define __CDECL
  #define __INT64    long long
  #define __UINT64    unsigned long long
#endif
[/cpp] &lt;/DIV&gt;&lt;DIV&gt;So, all you need is to make sure _WIN32 or _WIN64 is defined. This must be done by MS compiler &lt;B&gt;automatically&lt;/B&gt;(this is one of pre-defined macros, I believe even for VS2005 compiler). _WIN32 is defined for both x86/AMD64 platforms. _WIN64 for AMD64 building platform only.&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Don't use _WIN32WCE unless you build for Windows CE )). BTW, you can use /E compilation option to get preprocessed file in the form it gets to compiler after all #ifdef parsed. If you see "#define __STDCALL", this will mean you have missed correct definition.&lt;/DIV&gt;&lt;DIV&gt;Good luck,&lt;/DIV&gt;&lt;DIV&gt;Sergey&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 21 Feb 2012 05:45:45 GMT</pubDate>
    <dc:creator>Sergey_K_Intel</dc:creator>
    <dc:date>2012-02-21T05:45:45Z</dc:date>
    <item>
      <title>cannot link</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807197#M3676</link>
      <description>I get this error message:&lt;BR /&gt;&amp;gt;Deconvolution.obj : error LNK2019: unresolved external symbol _ippiFFTInv_PackToR_32f_C1IR referenced in function "signed char __cdecl MyIppBasedCorrelation(float *,float *,float *,unsigned int,unsigned int,unsigned char *,int,struct FFT2DSpec_R_32f *)" (?MyIppBasedCorrelation@@YACPAM00IIPAEHPAUFFT2DSpec_R_32f@@@Z)&lt;BR /&gt;&lt;BR /&gt;and many others linker error. &lt;BR /&gt;&lt;BR /&gt;This I get when compiling 32 bits my own dll library. When compiling 64 bits everything goes well. The next strange thing is that when I use the same code building standalone application 32 adn 64 bits works both flawlesly. I checked compiler settings, paths hundred times and nearly ready to go to my shrink.&lt;BR /&gt;&lt;BR /&gt;any ideas?&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;Filip</description>
      <pubDate>Fri, 17 Feb 2012 20:39:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807197#M3676</guid>
      <dc:creator>Filip_Krolupper</dc:creator>
      <dc:date>2012-02-17T20:39:54Z</dc:date>
    </item>
    <item>
      <title>cannot link</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807198#M3677</link>
      <description>that's really strange, have you checked dependencis 32 version of your dll from 32 bit's version of ippi, ippcore and etc..?</description>
      <pubDate>Sat, 18 Feb 2012 05:02:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807198#M3677</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2012-02-18T05:02:32Z</dc:date>
    </item>
    <item>
      <title>cannot link</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807199#M3678</link>
      <description>Well, I'm using ippi functions so I tried to add as input to the linker ippi.lib ippcore.lib .... no success. As the time goes I tried to add all others libs. Then I suspected the system that it uses wrong path, because of some stupid setting that I'm not able determine. So I deleted all input linker settings and copied right libs to my place and told the linker to use it from the new place. Again no success. I tried to reinstall IPP, I checked system paths. Btw static linkage doesn't work as well. Dont know what to do now. &lt;BR /&gt;&lt;BR /&gt;I suspect there can be some preprocessor setting, that is wrong, but not sure about it. Anyway this thing drives me crazy, because I wanted to release my app last week. The worst thing is, that I know that IPP works great in my regular work - we use it every day, but my own installation sucks. This is a clear proof, that there is something wrong between my chair and my keyboard ;-)&lt;BR /&gt;&lt;BR /&gt;Filip</description>
      <pubDate>Sat, 18 Feb 2012 07:41:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807199#M3678</guid>
      <dc:creator>Filip_Krolupper</dc:creator>
      <dc:date>2012-02-18T07:41:33Z</dc:date>
    </item>
    <item>
      <title>Cannot link</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807200#M3679</link>
      <description>Hi Filip,&lt;BR /&gt;&lt;BR /&gt;Here are a couple of things to consider:&lt;BR /&gt;&lt;BR /&gt;- Did you try to compile the application on a different computer?&lt;BR /&gt;&lt;BR /&gt;- Did you try to compare your &lt;STRONG&gt;IPP&lt;/STRONG&gt; installation with&lt;STRONG&gt;IPP&lt;/STRONG&gt; installation on a different computer?&lt;BR /&gt;&lt;BR /&gt;- How many &lt;STRONG&gt;IPP&lt;/STRONG&gt;installations do you have on your computer?&lt;BR /&gt;&lt;BR /&gt;- Did you check &lt;STRONG&gt;SET&lt;/STRONG&gt; and &lt;STRONG&gt;PATH&lt;/STRONG&gt; environment variables?&lt;BR /&gt;&lt;BR /&gt;- Did you check a &lt;STRONG&gt;Visual Studio&lt;/STRONG&gt;'s options?&lt;BR /&gt;&lt;BR /&gt; 'Main Menu -&amp;gt; Tools -&amp;gt; Options -&amp;gt; Project and Solutions -&amp;gt; VC++ Directories -&amp;gt; Include Files &amp;amp; Library Files'&lt;BR /&gt;&lt;BR /&gt;- Would you be able to create a &lt;SPAN style="text-decoration: underline;"&gt;simple reproducer&lt;/SPAN&gt; of the link error &lt;STRONG&gt;LNK2019&lt;/STRONG&gt;?&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;BR /&gt;</description>
      <pubDate>Sat, 18 Feb 2012 18:59:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807200#M3679</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-02-18T18:59:21Z</dc:date>
    </item>
    <item>
      <title>cannot link</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807201#M3680</link>
      <description>&lt;DIV id="tiny_quote"&gt;
                &lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=553585" class="basic" href="https://community.intel.com/en-us/profile/553585/"&gt;Filip Krolupper&lt;/A&gt;&lt;/DIV&gt;
                &lt;DIV style="background-color: #e5e5e5; padding: 5px; border: 1px; border-style: inset; margin-left: 2px; margin-right: 2px;"&gt;&lt;I&gt;I get this error message:&lt;BR /&gt;&amp;gt;Deconvolution.obj : error LNK2019: unresolved external symbol _ippiFFTInv_PackToR_32f_C1IR referenced in function "signed char __cdecl MyIppBasedCorrelation(float *,float *,float *,unsigned int,unsigned int,unsigned char *,int,struct FFT2DSpec_R_32f *)" (?MyIppBasedCorrelation@@YACPAM00IIPAEHPAUFFT2DSpec_R_32f@@@Z)&lt;BR /&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hi Filip,&lt;/P&gt;&lt;P&gt;In fact the name of this function in the library (mangled name) is "_ippiFFTInv_PackToR_32f_C1IR@16". This is how the function names stored in libraries.&lt;/P&gt;&lt;P&gt;Usually the absence of "@XX" suffix means, that corresponding function declaration (prototype) doesn't get MS "__stdcall" attribute. Look at the compilation stage warnings, try to find out where you missed correct function declaration.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Sergey&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2012 07:30:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807201#M3680</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2012-02-20T07:30:24Z</dc:date>
    </item>
    <item>
      <title>cannot link</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807202#M3681</link>
      <description>Hi,&lt;BR /&gt;I tried today link the solution on 2 different workstations (different installation of IPP), but got the same result. Linker error. &lt;BR /&gt;&lt;BR /&gt;Sergey, thanks very much. In fact I tried to check ippi.lib file and I found out the same thing as you(I mean the suffix @xx is missing, but I'm not that familiar with compilers so I had no idea what does it mean). In this time I dont know how to tell VS 2005 compiler to use _stdcall atribubute for these functions. Will google it a little, and I'll hopefully solve it somehow.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;Filip</description>
      <pubDate>Mon, 20 Feb 2012 12:42:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807202#M3681</guid>
      <dc:creator>Filip_Krolupper</dc:creator>
      <dc:date>2012-02-20T12:42:19Z</dc:date>
    </item>
    <item>
      <title>Cannot link</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807203#M3682</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1329749612703="58" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=553585" href="https://community.intel.com/en-us/profile/553585/" class="basic"&gt;Filip Krolupper&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;...I checked compiler settings,...&lt;BR /&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;Did you check &lt;STRONG&gt;Linker&lt;/STRONG&gt; settings? This is a &lt;STRONG&gt;Linker&lt;/STRONG&gt; error and it is &lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;not&lt;/SPAN&gt;&lt;/STRONG&gt; related to a "wrong" declaration of the&lt;BR /&gt;&lt;STRONG&gt;IPP&lt;/STRONG&gt; function '&lt;STRONG&gt;ippiFFTInv_PackToR_32f_C1IR&lt;/STRONG&gt;'.&lt;BR /&gt;&lt;BR /&gt;As you stated you managed to &lt;STRONG&gt;compile&lt;/STRONG&gt; and &lt;STRONG&gt;link&lt;/STRONG&gt;a &lt;STRONG&gt;64-bit&lt;/STRONG&gt; configuration. Then, for a &lt;STRONG&gt;32-bit&lt;/STRONG&gt;configuration&lt;BR /&gt;&lt;STRONG&gt;compilation&lt;/STRONG&gt; was &lt;STRONG&gt;successful&lt;/STRONG&gt;, but it &lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;fails to link&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;STRONG&gt;IPP&lt;/STRONG&gt; libraries.&lt;BR /&gt;&lt;BR /&gt;A &lt;STRONG&gt;Linker&lt;/STRONG&gt; error:&lt;BR /&gt;&lt;BR /&gt; &lt;STRONG&gt;LNK2019&lt;/STRONG&gt;: unresolved external symbol &lt;STRONG&gt;_ippiFFTInv_PackToR_32f_C1IR&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;means thatsome &lt;STRONG&gt;IPP&lt;/STRONG&gt; library from &lt;STRONG&gt;Image Processing&lt;/STRONG&gt; domain is &lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;not&lt;/SPAN&gt;&lt;/STRONG&gt; included for a&lt;STRONG&gt;32-bit&lt;/STRONG&gt; configuration.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2012 15:04:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807203#M3682</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-02-20T15:04:31Z</dc:date>
    </item>
    <item>
      <title>Cannot link</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807204#M3683</link>
      <description>Sergey Kostrov: yes, I checked even the linker. In VS are linker and compiler settings in the same window ;-)</description>
      <pubDate>Mon, 20 Feb 2012 17:16:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807204#M3683</guid>
      <dc:creator>Filip_Krolupper</dc:creator>
      <dc:date>2012-02-20T17:16:29Z</dc:date>
    </item>
    <item>
      <title>cannot link</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807205#M3684</link>
      <description>I feel that we are very close. If I change code generation settings "Calling convention" from _cdecl to _stdcall the library is linked without error. The problem is that I need to use _cdecl calling convention because my DLL is PS plugin in fact. PS cant work with _stdcall library, it crashes. As I said before, 64 bits version works well as PS plugin, it links without error for _cdecl calling convention. Have to point out that I use VS2005.&lt;BR /&gt;&lt;BR /&gt;Filip</description>
      <pubDate>Mon, 20 Feb 2012 17:21:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807205#M3684</guid>
      <dc:creator>Filip_Krolupper</dc:creator>
      <dc:date>2012-02-20T17:21:00Z</dc:date>
    </item>
    <item>
      <title>cannot link</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807206#M3685</link>
      <description>Ehm, little bit confused. Haven't changed anything in 64 bits and it just began to report the same error. Humpf :-(</description>
      <pubDate>Mon, 20 Feb 2012 18:54:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807206#M3685</guid>
      <dc:creator>Filip_Krolupper</dc:creator>
      <dc:date>2012-02-20T18:54:51Z</dc:date>
    </item>
    <item>
      <title>cannot link</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807207#M3686</link>
      <description>Cool, total chaos ;-) I added _WIN32WCE to preprocessor and 32 bit works, but 64 bit doesn't. One more day and I'll forget this mess and will return to my own libraries ;-)&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Feb 2012 19:31:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807207#M3686</guid>
      <dc:creator>Filip_Krolupper</dc:creator>
      <dc:date>2012-02-20T19:31:16Z</dc:date>
    </item>
    <item>
      <title>Cannot link</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807208#M3687</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1329767319453="58" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=553585" href="https://community.intel.com/en-us/profile/553585/" class="basic"&gt;Filip Krolupper&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;EM&gt;Cool, &lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;total chaos&lt;/SPAN&gt;&lt;/STRONG&gt; ;-) I added &lt;STRONG&gt;_WIN32WCE&lt;/STRONG&gt; to preprocessor&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt; [&lt;STRONG&gt;SergeyK&lt;/STRONG&gt;] Agree.It looks like a"surprize" from &lt;STRONG&gt;Microsoft&lt;/STRONG&gt;.Did you add that macroin a source file,&lt;BR /&gt; or in a project settings? You can add that macro for a&lt;STRONG&gt;32-bit&lt;/STRONG&gt; configuration only in a&lt;BR /&gt;project settings for'Preprocessor '&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;and 32 bit works, but 64 bit doesn't. One more day and I'll forget this mess and will return to my own libraries ;-)&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2012 19:53:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807208#M3687</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-02-20T19:53:03Z</dc:date>
    </item>
    <item>
      <title>Cannot link</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807209#M3688</link>
      <description>I did it in project settings - I checked ippi.h and &lt;I&gt;&lt;B&gt;_WIN32WCE &lt;/B&gt;&lt;/I&gt;causes&lt;I&gt;&lt;B&gt; &lt;/B&gt;&lt;/I&gt;undef of __stdcall.&lt;I&gt;&lt;B&gt;&lt;BR /&gt;&lt;/B&gt;&lt;/I&gt;</description>
      <pubDate>Mon, 20 Feb 2012 20:00:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807209#M3688</guid>
      <dc:creator>Filip_Krolupper</dc:creator>
      <dc:date>2012-02-20T20:00:27Z</dc:date>
    </item>
    <item>
      <title>Cannot link</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807210#M3689</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1329768373875="58" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=553585" href="https://community.intel.com/en-us/profile/553585/" class="basic"&gt;Filip Krolupper&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;I did it in project settings - I checked ippi.h and &lt;I&gt;&lt;B&gt;_WIN32WCE &lt;/B&gt;&lt;/I&gt;causes&lt;I&gt;&lt;B&gt; &lt;/B&gt;&lt;/I&gt;undef of __stdcall.&lt;I&gt;&lt;B&gt;&lt;BR /&gt;&lt;/B&gt;&lt;/I&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;I use &lt;STRONG&gt;_WIN32WCE&lt;/STRONG&gt; macro for Embedded platforms andI couldn't imaging that it couldaffect calling conversions in &lt;STRONG&gt;IPP&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;So, is that a bug or a feature of &lt;STRONG&gt;IPP&lt;/STRONG&gt;? What do you think?&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2012 20:08:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807210#M3689</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-02-20T20:08:45Z</dc:date>
    </item>
    <item>
      <title>Cannot link</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807211#M3690</link>
      <description>I dont think so. I use IPP in my regular work every day and it works. Its some mess in my code. Unfortunatelly I have no idea how to fix it to use IPP. Will give a try one more day. If I fail, I'll leave it.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;Filip</description>
      <pubDate>Mon, 20 Feb 2012 20:21:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807211#M3690</guid>
      <dc:creator>Filip_Krolupper</dc:creator>
      <dc:date>2012-02-20T20:21:43Z</dc:date>
    </item>
    <item>
      <title>Cannot link</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807212#M3691</link>
      <description>Filip,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Look how IPP functions are declared. Let's take a function from IPPI&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="text-decoration: underline;"&gt;IPPAPI( Ipp8u*, ippiMalloc_8u_C1, ( int widthPixels, int heightPixels, int* pStepBytes ) )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;How IPPAPI is defined?&lt;/DIV&gt;&lt;DIV&gt;[cpp]#if !defined( IPPAPI )
  #if defined( IPP_W32DLL ) &amp;amp;&amp;amp; (defined( _WIN32 ) || defined( _WIN64 ))
    #if defined( _MSC_VER ) || defined( __ICL )
      #define IPPAPI( type,name,arg ) __declspec(dllimport)   type __STDCALL name arg;
    #else
      #define IPPAPI( type,name,arg )        type __STDCALL name arg;
    #endif
  #else
    #define   IPPAPI( type,name,arg )        type __STDCALL name arg;
  #endif
#endif
[/cpp] &lt;/DIV&gt;&lt;DIV&gt;The line 9 aboveis the definition which must work in your case if you don't use IPP DLLs. And, the last, how __STDCALL is defined?&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;[cpp]#if defined( _WIN32 ) || defined ( _WIN64 )
  #define __STDCALL  __stdcall
  #define __CDECL    __cdecl
  #define __INT64    __int64
  #define __UINT64    unsigned __int64
#else
  #define __STDCALL
  #define __CDECL
  #define __INT64    long long
  #define __UINT64    unsigned long long
#endif
[/cpp] &lt;/DIV&gt;&lt;DIV&gt;So, all you need is to make sure _WIN32 or _WIN64 is defined. This must be done by MS compiler &lt;B&gt;automatically&lt;/B&gt;(this is one of pre-defined macros, I believe even for VS2005 compiler). _WIN32 is defined for both x86/AMD64 platforms. _WIN64 for AMD64 building platform only.&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Don't use _WIN32WCE unless you build for Windows CE )). BTW, you can use /E compilation option to get preprocessed file in the form it gets to compiler after all #ifdef parsed. If you see "#define __STDCALL", this will mean you have missed correct definition.&lt;/DIV&gt;&lt;DIV&gt;Good luck,&lt;/DIV&gt;&lt;DIV&gt;Sergey&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 21 Feb 2012 05:45:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807212#M3691</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2012-02-21T05:45:45Z</dc:date>
    </item>
    <item>
      <title>Cannot link</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807213#M3692</link>
      <description>Hi guys, problem solved. I use some other library where was defined __stdcall as an empty string. When I deleted that definition, it starts to work suddently. Guys, how I hate these kind of problems ;-)&lt;BR /&gt;&lt;BR /&gt;thank you all&lt;BR /&gt;&lt;BR /&gt;Filip</description>
      <pubDate>Tue, 21 Feb 2012 20:06:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807213#M3692</guid>
      <dc:creator>Filip_Krolupper</dc:creator>
      <dc:date>2012-02-21T20:06:45Z</dc:date>
    </item>
    <item>
      <title>Cannot link</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807214#M3693</link>
      <description>How classical problem! thanks for the sharing. &lt;BR /&gt;Add some relatedinformation from Intel Compiler documentation, &lt;BR /&gt;&lt;BR /&gt;Naming Conventions inC/C++&lt;BR /&gt;&lt;TABLE MSHELP="http://www.microsoft.com/MSHelp/" frame="hsides" width="100%" cellpadding="4" rules="all" border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD headers="d3723e67 " width="20%" valign="top" class="cellrowborder"&gt;&lt;P&gt;C&lt;/P&gt;&lt;/TD&gt;&lt;TD headers="d3723e72 " width="30%" valign="top" class="cellrowborder"&gt;&lt;P&gt;cdecl (default)&lt;/P&gt;&lt;/TD&gt;&lt;TD headers="d3723e77 " width="30%" valign="top" class="cellrowborder"&gt;&lt;P&gt;&lt;VAR&gt;name&lt;/VAR&gt; (Linux OS)&lt;/P&gt;&lt;P&gt;&lt;VAR&gt;_name&lt;/VAR&gt; (Windows OS)&lt;/P&gt;&lt;P&gt;&lt;VAR&gt;_name&lt;/VAR&gt; (Mac OS X)&lt;/P&gt;&lt;/TD&gt;&lt;TD headers="d3723e82 " width="20%" valign="top" class="row-nocellborder"&gt;&lt;P&gt;Mixed case preserved&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD headers="d3723e67 " width="20%" valign="top" class="cellrowborder"&gt;&lt;P&gt;C (Windows OS only)&lt;/P&gt;&lt;/TD&gt;&lt;TD headers="d3723e72 " width="30%" valign="top" class="cellrowborder"&gt;&lt;P&gt;__stdcall&lt;/P&gt;&lt;/TD&gt;&lt;TD headers="d3723e77 " width="30%" valign="top" class="cellrowborder"&gt;&lt;P&gt;&lt;VAR&gt;_name&lt;/VAR&gt;@&lt;VAR&gt;n&lt;/VAR&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD headers="d3723e82 " width="20%" valign="top" class="row-nocellborder"&gt;&lt;P&gt;Mixed case preserved&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD headers="d3723e67 " width="20%" valign="top" class="cellrowborder"&gt;&lt;P&gt;C++&lt;/P&gt;&lt;/TD&gt;&lt;TD headers="d3723e72 " width="30%" valign="top" class="cellrowborder"&gt;&lt;P&gt;Default&lt;/P&gt;&lt;/TD&gt;&lt;TD headers="d3723e77 " width="30%" valign="top" class="cellrowborder"&gt;&lt;P&gt;&lt;VAR&gt;name&lt;/VAR&gt;@@&lt;VAR&gt;decoration&lt;/VAR&gt; (Linux OS)&lt;/P&gt;&lt;P&gt;&lt;VAR&gt;_name&lt;/VAR&gt;@@&lt;VAR&gt;decoration&lt;/VAR&gt; (Windows OS)&lt;/P&gt;&lt;P&gt;&lt;SPAN class="keyword"&gt;__decoration&lt;/SPAN&gt;&lt;VAR&gt;name&lt;/VAR&gt;&lt;SPAN class="keyword"&gt;decoration&lt;/SPAN&gt; (Mac OS X)&lt;/P&gt;&lt;/TD&gt;&lt;TD headers="d3723e82 " width="20%" valign="top" class="row-nocellborder"&gt;&lt;P&gt;Mixed case preserved&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P MSHELP="http://www.microsoft.com/MSHelp/"&gt;In the preceding table:&lt;/P&gt;&lt;UL MSHELP="http://www.microsoft.com/MSHelp/" type="disc"&gt;&lt;LI&gt;&lt;P&gt;The leading underscore (such as &lt;VAR&gt;_name&lt;/VAR&gt;) is used on Windows operating systems based on IA-32 architecture only.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;@&lt;VAR&gt;n&lt;/VAR&gt; represents the stack space, in decimal notation, occupied by parameters on Windows operating systems based on IA-32 architecture only.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P MSHELP="http://www.microsoft.com/MSHelp/"&gt;For example, assume a function is declared in C as:&lt;/P&gt;&lt;PRE&gt;  extern int __stdcall Sum_Up( int a, int b, int c );&lt;/PRE&gt;&lt;P MSHELP="http://www.microsoft.com/MSHelp/"&gt;Each integer occupies 4 bytes, so the symbol name placed in the .OBJ file on systems based on IA-32 architecture is:&lt;/P&gt;&lt;PRE&gt;  _Sum_Up@12&lt;/PRE&gt;&lt;P MSHELP="http://www.microsoft.com/MSHelp/"&gt;On systems based on Intel 64 architecture, the symbol name placed in the .OBJ file is:&lt;/P&gt;&lt;PRE&gt;  Sum_Up&lt;BR /&gt;Thanks&lt;BR /&gt;Ying H&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Feb 2012 01:43:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807214#M3693</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2012-02-22T01:43:30Z</dc:date>
    </item>
    <item>
      <title>cannot link</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807215#M3694</link>
      <description>Thank you guys again. I got it. Unfortunatelly I found another problem, which is in IPPI fourier transform implementation. So count with me:&lt;BR /&gt;&lt;BR /&gt;1)setup size increase +70%&lt;BR /&gt;2)linking problems (4 days)&lt;BR /&gt;3)AMD processor issues&lt;BR /&gt;4)Ipp FT problem&lt;BR /&gt;&lt;BR /&gt;.... and the overal speedup is about 20%.&lt;BR /&gt;&lt;BR /&gt;in other words, I quit, IPP means for me more problems than benefits.&lt;BR /&gt;&lt;BR /&gt;thank you again and peace :-)&lt;BR /&gt;&lt;BR /&gt;Filip</description>
      <pubDate>Mon, 27 Feb 2012 20:56:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807215#M3694</guid>
      <dc:creator>Filip_Krolupper</dc:creator>
      <dc:date>2012-02-27T20:56:10Z</dc:date>
    </item>
    <item>
      <title>Cannot link</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807216#M3695</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1330399244093="58" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=553585" href="https://community.intel.com/en-us/profile/553585/" class="basic"&gt;Filip Krolupper&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;...in other words, I quit, &lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;IPP means for me more problems&lt;/SPAN&gt;&lt;/STRONG&gt; than benefits...&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;I'm really sorry to hear that. What are you going to use instead?&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Feb 2012 03:22:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-link/m-p/807216#M3695</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-02-28T03:22:09Z</dc:date>
    </item>
  </channel>
</rss>

