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

RGBToRGB565

logita
Beginner
466 Views
There is something wrong when I use the function "ippiRGBToRGB565_8u16u_C3R" in Linux. I compile it with "-L /opt/intel/ipp/6.1.0.039/lp32/lib/ -lippccemerged", but the output is :


/opt/intel/ipp/6.1.0.039/lp32/lib//libippccemerged.a(ippcc00470as.o): In function `ippiRGBToRGB565_8u16u_C3R':
(.text+0x1): undefined reference to `ippJumpIndexForMergedLibsLP'
/opt/intel/ipp/6.1.0.039/lp32/lib//libippccemerged.a(ippcc00470as.o): In function `ippiRGBToRGB565_8u16u_C3R_arraddr':
(.data+0x0): undefined reference to `px_ippiRGBToRGB565_8u16u_C3R'
/opt/intel/ipp/6.1.0.039/lp32/lib//libippccemerged.a(ippcc00470as.o): In function `ippiRGBToRGB565_8u16u_C3R_arraddr':
(.data+0x4): undefined reference to `w7_ippiRGBToRGB565_8u16u_C3R'
/opt/intel/ipp/6.1.0.039/lp32/lib//libippccemerged.a(ippcc00470as.o): In function `ippiRGBToRGB565_8u16u_C3R_arraddr':
(.data+0x8): undefined reference to `s8_ippiRGBToRGB565_8u16u_C3R'
collect2: ld returned 1 exit status

Can anybody help me?Thanks in advance for your answer
0 Kudos
1 Solution
Chao_Y_Intel
Moderator
466 Views
It looks that you missed libippccmerged.a and libippcore.a libraries.

please check if the following linkage command line works:
-L/opt/intel/ipp/6.1.0.039/lp32/lib/ -lippccemerged -lippccemerged -lippcore

note, the library order is important in Linux. *merged libraries need to be after *emerged libraries.

View solution in original post

0 Kudos
2 Replies
Chao_Y_Intel
Moderator
467 Views
It looks that you missed libippccmerged.a and libippcore.a libraries.

please check if the following linkage command line works:
-L/opt/intel/ipp/6.1.0.039/lp32/lib/ -lippccemerged -lippccemerged -lippcore

note, the library order is important in Linux. *merged libraries need to be after *emerged libraries.

0 Kudos
logita
Beginner
466 Views
Quoting - Chao Yu (Intel)
It looks that you missed libippccmerged.a and libippcore.a libraries.

please check if the following linkage command line works:
-L/opt/intel/ipp/6.1.0.039/lp32/lib/ -lippccemerged -lippccemerged -lippcore

note, the library order is important in Linux. *merged libraries need to be after *emerged libraries.


Thank you! I try as you point out and it is ok now.
0 Kudos
Reply