Quantcast
Channel: Intel® Software - Intel® Integrated Performance Primitives
Viewing all articles
Browse latest Browse all 1489

Intel Performance Library in VS 2010

$
0
0

Hi, 

I downloaded, and installed IPP "w_ipp_7.1.1.119_intel6".

First of all, it looks like the directory names are somewhat inconsistent. For example, I downloaded "w_ipp_7.1.1.119_intel64", but my directory structure looks like this:

\ipp\demo\intel64

where I have "ippiDemo.exe" and "ippsDemo.exe", where in fact I was expecting to see something like: "ippsDemo_em64t.exe" !!! (based on the description at file:///C:/Program%20Files%20(x86)/Intel/Composer%20XE%202013/Documentation/en_US/ipp/get_started.html)

But regardless, when I tried to run "ippsDemo.exe", I was getting dll error, which apparently "\ipp\bin\ippvars.bat" was not getting processed correctly. So, I manually opened up the system environmental veriables, and manually added the following to the path:

C:\Program Files (x86)\Intel\Composer XE 2013\redist\intel64\ipp;C:\Program Files (x86)\Intel\Composer XE 2013\redist\intel64\compiler

Now when I run "ippsDemo.exe", it seems to be working

Then, I opened up VS 2010, and manually added to the "lib" and "include" (in the project properties) as listed in the ippvars.bat

But regardless, I cannot see "Intel Performance Libraries" under Configuration Properties inside VS 2010.

I don't know what am I doing wrong.

However, VS 2010 see parts of it, cause under "Tools -> Options -> Intel Composer XE -> Performance Libraries", I can select IPP type to be "Intel(R) Integrated Performance Primitives 7.1.1"

But, it still doesn't work fine, and I believe that I need to see "Intel Performance Libraries" under Configuration Properties inside VS 2010, for this to work properly.

Cause when I run the simple example on page 15 of http://software.intel.com/sites/products/documentation/doclib/ipp_sa/71/...

I get bunch of LNK errors:

Error 1 error LNK2028: unresolved token (0A00031C) "extern "C" unsigned __int64 __stdcall ippGetEnabledCpuFeatures(void)" (?ippGetEnabledCpuFeatures@@$$J10YG_KXZ) referenced in function "int __clrcall main(cli::array<class System::String ^ >^)" (?main@@$$HYMHP$01AP$AAVString@System@@@Z) C:\Program Files\libcurl\VisualStudio\intel_ipp_test\intel_ipp_test\intel_ipp_test.obj

Error 2 error LNK2028: unresolved token (0A00031F) "extern "C" struct IppLibraryVersion const * __stdcall ippiGetLibVersion(void)" (?ippiGetLibVersion@@$$J10YGPBUIppLibraryVersion@@XZ) referenced in function "int __clrcall main(cli::array<class System::String ^ >^)" (?main@@$$HYMHP$01AP$AAVString@System@@@Z) C:\Program Files\libcurl\VisualStudio\intel_ipp_test\intel_ipp_test\intel_ipp_test.obj

What am I doing wrong? Please advise,

--Rudy


Viewing all articles
Browse latest Browse all 1489


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>