Dario82

There is anyone that use INTEL Integrated Performance Primitives 5.2 (IPP) with Microsoft visual studio 2005 and occours in some problems refer to them

When I try to project an application with IPP and I configure my environment (IDE-->visual studio 2005) indicating the path for: BIN, LIB and INCLUDE files, at building time i have some problems whit the linking of the library. Someone have my same problems (sorry for my bad english, i'm italian).



Re: Visual C++ Express Edition INTEL Integrated Performance Primitives 5.2

nobugz

Post your link errors if you want to cast a wider net.





Re: Visual C++ Express Edition INTEL Integrated Performance Primitives 5.2

Dario82

I make a win32 console application and in main file i wrote:

#include "stdafx.h"

#include "ipp.h"

int main( )

{

const int SIZE = 256;

Ipp8u pSrc[SIZE],pDst[SIZE];

int i;

for (i=0; i<SIZE; i++)

pSrcIdea = (Ipp8u)i;

ippsCopy_8u(pSrc, pDst, SIZE);

return 0;

}

the "stdafx.h" file is:

#pragma once

#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers

#include <stdio.h>

#include <tchar.h>

when i build my project composed by three file: main.cpp, stdafx.cpp, stdafx.h this is the output:

Build Log

Build started: Project: ProvaIPPUltima, Configuration: Debug|Win32

Command Lines
Creating temporary file "c:\Documents and Settings\BluesBrothers\Desktop\ProveVisualStudio\ProvaIPPUltima\Debug\RSP00001635802732.rsp" with contents
[
/OUT:"C:\Documents and Settings\BluesBrothers\Desktop\ProveVisualStudio\ProvaIPPUltima\Debug\ProvaIPPUltima.exe" /INCREMENTAL /MANIFEST /MANIFESTFILE:"Debug\ProvaIPPUltima.exe.intermediate.manifest" /DEBUG /PDB:"c:\documents and settings\bluesbrothers\desktop\provevisualstudio\provaippultima\debug\ProvaIPPUltima.pdb" /SUBSYSTEM:CONSOLE /MACHINE:X86 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib

".\debug\stdafx.obj"

".\debug\ProvaIPPUltima.obj"

".\Debug\ProvaIPPUltima.exe.embed.manifest.res"
]
Creating command line "link.exe @"c:\Documents and Settings\BluesBrothers\Desktop\ProveVisualStudio\ProvaIPPUltima\Debug\RSP00001635802732.rsp" /NOLOGO /ERRORREPORTStick out tongueROMPT"
Output Window
Linking...
ProvaIPPUltima.obj : error LNK2019: unresolved external symbol _ippsCopy_8u@12 referenced in function _main
C:\Documents and Settings\BluesBrothers\Desktop\ProveVisualStudio\ProvaIPPUltima\Debug\ProvaIPPUltima.exe : fatal error LNK1120: 1 unresolved externals
Results
Build log was saved at "file://c:\Documents and Settings\BluesBrothers\Desktop\ProveVisualStudio\ProvaIPPUltima\Debug\BuildLog.htm"
ProvaIPPUltima - 2 error(s), 0 warning(s)

someone can help me please





Re: Visual C++ Express Edition INTEL Integrated Performance Primitives 5.2

nobugz

You are not linking the IPP library. Project + Properties, Linker, Input, Additional dependencies. Add the .lib file for the IPP library, whatever that might be.





Re: Visual C++ Express Edition INTEL Integrated Performance Primitives 5.2

Dario82

I have already include the path for "*.lib" and "*.dll" files in microsoft visual studio 2005 but when i build my project this error return again Sad

where I can find help for this trouble





Re: Visual C++ Express Edition INTEL Integrated Performance Primitives 5.2

nobugz

Adding the paths is not enough, you have to say which specific library you want to link into your final .exe. The manual you got with IPP would no doubt give you instructions on how to properly link the library. IPP is an Intel product, you should contact Intel if you need support.