<?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 Hi Gennady, in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-compile-IPP-intel64/m-p/945903#M18152</link>
    <description>&lt;P&gt;Hi Gennady,&lt;/P&gt;

&lt;P&gt;This issue is fixed. Because my project set to win32, but x64. After set to x64, it can works.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Jing&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Gennady Fedorov (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;and here is the VS2010 solution&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Mar 2014 08:43:24 GMT</pubDate>
    <dc:creator>jing_w_</dc:creator>
    <dc:date>2014-03-14T08:43:24Z</dc:date>
    <item>
      <title>cannot compile IPP intel64</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-compile-IPP-intel64/m-p/945895#M18144</link>
      <description>&lt;P&gt;Using IPP IA32, compile passed and can run. But after using IPP Intel64, got following massage,&lt;/P&gt;

&lt;P&gt;"&lt;/P&gt;

&lt;P&gt;Error&amp;nbsp;7&amp;nbsp;error LNK2019: unresolved external symbol &lt;A href="mailto:_ippGetStatusString@4"&gt;_ippGetStatusString@4&lt;/A&gt; referenced in function _main&amp;nbsp;C:\Users\jingwang\documents\visual studio 2013\Projects\Project_intel64\Project_intel64\Source_intel64.obj&amp;nbsp;Project_intel64&lt;BR /&gt;
	Error&amp;nbsp;8&amp;nbsp;error LNK2019: unresolved external symbol &lt;A href="mailto:_ippInit@0"&gt;_ippInit@0&lt;/A&gt; referenced in function _main&amp;nbsp;C:\Users\jingwang\documents\visual studio 2013\Projects\Project_intel64\Project_intel64\Source_intel64.obj&amp;nbsp;Project_intel64&lt;BR /&gt;
	Error&amp;nbsp;9&amp;nbsp;error LNK2019: unresolved external symbol &lt;A href="mailto:_ippGetEnabledCpuFeatures@0"&gt;_ippGetEnabledCpuFeatures@0&lt;/A&gt; referenced in function _main&amp;nbsp;C:\Users\jingwang\documents\visual studio 2013\Projects\Project_intel64\Project_intel64\Source_intel64.obj&amp;nbsp;Project_intel64&lt;BR /&gt;
	Error&amp;nbsp;10&amp;nbsp;error LNK2019: unresolved external symbol &lt;A href="mailto:_ippiGetLibVersion@0"&gt;_ippiGetLibVersion@0&lt;/A&gt; referenced in function _main&amp;nbsp;C:\Users\jingwang\documents\visual studio 2013\Projects\Project_intel64\Project_intel64\Source_intel64.obj&amp;nbsp;Project_intel64&lt;BR /&gt;
	Error&amp;nbsp;11&amp;nbsp;error LNK1120: 4 unresolved externals&amp;nbsp;C:\Users\jingwang\documents\visual studio 2013\Projects\Project_intel64\Debug\Project_intel64.exe&amp;nbsp;Project_intel64&lt;BR /&gt;
	"&lt;/P&gt;

&lt;P&gt;I have set the similar path&amp;nbsp;in link/include/&lt;STRONG&gt;Executable of project.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;If using intel64, any other option need to add?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Jing&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2014 09:29:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-compile-IPP-intel64/m-p/945895#M18144</guid>
      <dc:creator>jing_w_</dc:creator>
      <dc:date>2014-03-13T09:29:46Z</dc:date>
    </item>
    <item>
      <title>Hi Jing,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-compile-IPP-intel64/m-p/945896#M18145</link>
      <description>&lt;P&gt;Hi Jing,&lt;/P&gt;

&lt;P&gt;Could you check that your project properties/C/C++/Advanced/Calling Convention property is set to "__cdecl (/Gd)".&lt;/P&gt;

&lt;P&gt;Not "stdcall" and not "fastcall".&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
	Sergey&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2014 09:57:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-compile-IPP-intel64/m-p/945896#M18145</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2014-03-13T09:57:51Z</dc:date>
    </item>
    <item>
      <title>Jing, my two cents -  have</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-compile-IPP-intel64/m-p/945897#M18146</link>
      <description>&lt;P&gt;Jing, my two cents - &amp;nbsp;have you linked with 64 bit IPP's libraries?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2014 11:15:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-compile-IPP-intel64/m-p/945897#M18146</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2014-03-13T11:15:32Z</dc:date>
    </item>
    <item>
      <title>hi Sergey,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-compile-IPP-intel64/m-p/945898#M18147</link>
      <description>&lt;P&gt;hi Sergey,&lt;/P&gt;

&lt;P&gt;I check the "project properties/C/C++/Advanced/Calling Convention " is set to "__cdecl (/Gd)".&lt;/P&gt;

&lt;P&gt;I&amp;nbsp;am using Microsoft Visual Studio 2013, is it possible this Microsoft Visual Studio 2013 only support 32bits operation?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Sergey Khlystov (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi Jing,&lt;/P&gt;

&lt;P&gt;Could you check that your project properties/C/C++/Advanced/Calling Convention property is set to "__cdecl (/Gd)".&lt;/P&gt;

&lt;P&gt;Not "stdcall" and not "fastcall".&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
	Sergey&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2014 01:30:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-compile-IPP-intel64/m-p/945898#M18147</guid>
      <dc:creator>jing_w_</dc:creator>
      <dc:date>2014-03-14T01:30:32Z</dc:date>
    </item>
    <item>
      <title>Hi Gennady,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-compile-IPP-intel64/m-p/945899#M18148</link>
      <description>&lt;P&gt;Hi Gennady,&lt;/P&gt;

&lt;P&gt;I have linked the 64bits IPP lib as following&lt;/P&gt;

&lt;P&gt;add project Property -&amp;gt; C/C++ -&amp;gt; General -&amp;gt; Executable Directories -&amp;gt; C:\Intel\Composer XE 2013 SP1.083\redist\intel64\ipp\;&lt;/P&gt;

&lt;P&gt;add project Property -&amp;gt; C/C++ -&amp;gt; General -&amp;gt;&amp;nbsp;Include Directories -&amp;gt; C:\Intel\Composer XE 2013 SP1.083\ipp\include\;&lt;/P&gt;

&lt;P&gt;add project Property -&amp;gt; C/C++ -&amp;gt; General -&amp;gt;&amp;nbsp;Library Directories -&amp;gt; C:\Intel\Composer XE 2013 SP1.083\ipp\lib\intel64\;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;if I modify above "intel64" to "ia32", it can work.&lt;/P&gt;

&lt;P&gt;I&amp;nbsp;am using Microsoft Visual Studio 2013, is it possible this Microsoft Visual Studio 2013 only support 32bits operation?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Gennady Fedorov (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Jing, my two cents - &amp;nbsp;have you linked with 64 bit IPP's libraries?&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2014 01:35:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-compile-IPP-intel64/m-p/945899#M18148</guid>
      <dc:creator>jing_w_</dc:creator>
      <dc:date>2014-03-14T01:35:11Z</dc:date>
    </item>
    <item>
      <title>Hello Jing,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-compile-IPP-intel64/m-p/945900#M18149</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 14.399999618530273px;"&gt;Jing,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 14.399999618530273px;"&gt;I don't have 2013 version available, but I used your test1_0.cpp file and create MVSC 2010 solution for 64 bit. See at this project into attachment.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 14.399999618530273px;"&gt;here are the output and build log files. the version of IPP - 8.1&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;ippIP AVX (e9) 8.1.0 (r41650)&lt;BR /&gt;
	SSE &amp;nbsp; &amp;nbsp;:Y&lt;BR /&gt;
	SSE2 &amp;nbsp; :Y&lt;BR /&gt;
	SSE3 &amp;nbsp; :Y&lt;BR /&gt;
	SSSE3 &amp;nbsp;:Y&lt;BR /&gt;
	SSE41 &amp;nbsp;:Y&lt;BR /&gt;
	SSE42 &amp;nbsp;:Y&lt;BR /&gt;
	AVX &amp;nbsp; &amp;nbsp;:Y&lt;BR /&gt;
	AVX2 &amp;nbsp; :N&lt;BR /&gt;
	----------&lt;BR /&gt;
	OS Enabled AVX :Y&lt;BR /&gt;
	AES &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;:N&lt;BR /&gt;
	CLMUL &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;:Y&lt;BR /&gt;
	RDRAND &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :N&lt;BR /&gt;
	F16C &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :N&lt;BR /&gt;
	Press any key to continue . . .&lt;/P&gt;

&lt;P&gt;=====================&lt;/P&gt;

&lt;P&gt;Creating "Debug\test.unsuccessfulbuild" because "AlwaysCreate" was specified.&lt;BR /&gt;
	1&amp;gt;MessageBuildingWithCompiler:&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;Building with Intel(R) C++ Compiler XE 14.0&lt;BR /&gt;
	1&amp;gt;ClCompile:&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;***** ClCompile (x64 - Intel C++)&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;test1_0.cpp&lt;BR /&gt;
	1&amp;gt;Link:&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;xilink: executing 'link'&lt;BR /&gt;
	1&amp;gt;Manifest:&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;Deleting file "Debug\test.exe.embed.manifest".&lt;BR /&gt;
	1&amp;gt;LinkEmbedManifest:&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;xilink: executing 'link'&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;tmp.vcxproj -&amp;gt; C:\_tmp\_Forums\ipp_u507095\Debug\test.exe&lt;BR /&gt;
	1&amp;gt;FinalizeBuildStatus:&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;Deleting file "Debug\test.unsuccessfulbuild".&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;Touching "Debug\test.lastbuildstate".&lt;BR /&gt;
	1&amp;gt;&lt;BR /&gt;
	1&amp;gt;Build succeeded.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2014 06:43:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-compile-IPP-intel64/m-p/945900#M18149</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2014-03-14T06:43:23Z</dc:date>
    </item>
    <item>
      <title>There is something special in</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-compile-IPP-intel64/m-p/945901#M18150</link>
      <description>&lt;P&gt;There is something special in how MS x64 linker generates the names of external functions in object files. I don't remember exactly, but the&amp;nbsp;&lt;BR /&gt;
	suppose that you have the following program:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;
extern "C" {
    void _stdcall foo();
}

int main()
{
    foo();
}
&lt;/PRE&gt;

&lt;P&gt;The "foo" is declared like IPP function should be declared. In VS2013 on x64 you will get:&lt;BR /&gt;
	1&amp;gt;Source.obj : error LNK2019: unresolved external symbol &lt;STRONG&gt;foo &lt;/STRONG&gt;referenced in function main&lt;BR /&gt;
	For win32 the diagnostics is:&lt;BR /&gt;
	1&amp;gt;Source.obj : error LNK2019: unresolved external symbol &lt;STRONG&gt;_foo@0&lt;/STRONG&gt; referenced in function _main&lt;/P&gt;

&lt;P&gt;This difference in function name decorations in object file is reflected in IPP libraries. For win32 flavor (win32 libs) the names are decorated as _&amp;lt;function_name&amp;gt;@&amp;lt;stack_size&amp;gt;. If you look into library files with&lt;BR /&gt;
	&amp;nbsp;&amp;gt; dumpbin /exports ippcore.lib | find "ippGetStatusString"&lt;BR /&gt;
	you will see "_ippGetStatusString@4" for win32 libs and "ippGetStatusString" for intel64 libs.&lt;/P&gt;

&lt;P&gt;You can do the same experiments in your environment. Make sure your "x64" project is consistent.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
	Sergey&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2014 06:47:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-compile-IPP-intel64/m-p/945901#M18150</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2014-03-14T06:47:00Z</dc:date>
    </item>
    <item>
      <title>and here is the VS2010</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-compile-IPP-intel64/m-p/945902#M18151</link>
      <description>&lt;P&gt;and here is the VS2010 solution&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2014 06:48:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-compile-IPP-intel64/m-p/945902#M18151</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2014-03-14T06:48:38Z</dc:date>
    </item>
    <item>
      <title>Hi Gennady,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-compile-IPP-intel64/m-p/945903#M18152</link>
      <description>&lt;P&gt;Hi Gennady,&lt;/P&gt;

&lt;P&gt;This issue is fixed. Because my project set to win32, but x64. After set to x64, it can works.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Jing&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Gennady Fedorov (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;and here is the VS2010 solution&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2014 08:43:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-compile-IPP-intel64/m-p/945903#M18152</guid>
      <dc:creator>jing_w_</dc:creator>
      <dc:date>2014-03-14T08:43:24Z</dc:date>
    </item>
    <item>
      <title>Hi Sergey,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-compile-IPP-intel64/m-p/945904#M18153</link>
      <description>&lt;P&gt;Hi Sergey,&lt;/P&gt;

&lt;P&gt;This issue is fixed. Because my project set to win32, but x64. After set to x64, it can works.&lt;/P&gt;

&lt;P&gt;Thank you&amp;nbsp;of reminding me about this.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Jing&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Sergey Khlystov (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;There is something special in how MS x64 linker generates the names of external functions in object files. I don't remember exactly, but the&amp;nbsp;&lt;BR /&gt;
	suppose that you have the following program:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;
extern "C" {
    void _stdcall foo();
}

int main()
{
    foo();
}
&lt;/PRE&gt;

&lt;P&gt;The "foo" is declared like IPP function should be declared. In VS2013 on x64 you will get:&lt;BR /&gt;
	1&amp;gt;Source.obj : error LNK2019: unresolved external symbol &lt;STRONG&gt;foo &lt;/STRONG&gt;referenced in function main&lt;BR /&gt;
	For win32 the diagnostics is:&lt;BR /&gt;
	1&amp;gt;Source.obj : error LNK2019: unresolved external symbol &lt;STRONG&gt;_foo@0&lt;/STRONG&gt; referenced in function _main&lt;/P&gt;

&lt;P&gt;This difference in function name decorations in object file is reflected in IPP libraries. For win32 flavor (win32 libs) the names are decorated as _&amp;lt;function_name&amp;gt;@&amp;lt;stack_size&amp;gt;. If you look into library files with&lt;BR /&gt;
	&amp;nbsp;&amp;gt; dumpbin /exports ippcore.lib | find "ippGetStatusString"&lt;BR /&gt;
	you will see "_ippGetStatusString@4" for win32 libs and "ippGetStatusString" for intel64 libs.&lt;/P&gt;

&lt;P&gt;You can do the same experiments in your environment. Make sure your "x64" project is consistent.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
	Sergey&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2014 08:44:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-compile-IPP-intel64/m-p/945904#M18153</guid>
      <dc:creator>jing_w_</dc:creator>
      <dc:date>2014-03-14T08:44:21Z</dc:date>
    </item>
    <item>
      <title>perfect, thanks for the</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-compile-IPP-intel64/m-p/945905#M18154</link>
      <description>&lt;P&gt;perfect, thanks for the update.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2014 18:05:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/cannot-compile-IPP-intel64/m-p/945905#M18154</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2014-03-14T18:05:53Z</dc:date>
    </item>
  </channel>
</rss>

