Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

IPP libraries + linux

iordanis
Beginner
328 Views

hi , i try to evaluate the IPP libraries and i installed the library to my fedora12 system. The package installed by default into:

/opt/intel/ipp/6.1.2.051/ia32

Now i try to test by writting a small program and here is the result:

[bash][giorgos@school ~]$ cat ipp0.c

#include "ipp.h"
void main()
{
	IppiSize roi = {5,4};
	Ipp8u x[8*4] = {0};
	ippiSet_8u_C1R(1, x,8, roi); //call ippiSet_8u_C1R() function in ipp.h
}

[giorgos@school ~]$ gcc -o ipp0 ipp0.c -I/opt/intel/ipp/6.1.2.051/ia32/include -L/opt/intel/ipp/6.1.2.051/ia32/sharedlib -lippi -lipps -lippcore -liomp5 -lpthread -lm
/usr/bin/ld: skipping incompatible /opt/intel/ipp/6.1.2.051/ia32/sharedlib/libippi.so when searching for -lippi
/usr/bin/ld: cannot find -lippi
collect2: ld returned 1 exit status
[/bash]

what am i doing wrong ?

ps 1: tried to build also from codeblocks, no luck also!

ps2: processor is intel core 2 duo, 2GB, fedora 12, ipp: l_ipp_ia32_p_6.1.2.051.

Any help? thanks

0 Kudos
1 Reply
Artem_V_Intel
Employee
328 Views

Hello,

Looks like you are trying to link 32-bit libraries against 64-bit executable. Please try to use -m32 option of gcc to build 32-bit executable. Also you can download 64-bit version of IPP. l_ipp_em64t_p_6.1.3.055.tar.gz should be more suitable in your case.

Thanks,

Artem

0 Kudos
Reply