Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

RGBToRGB565

logita
Beginner
196 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
Employee
196 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

2 Replies
Chao_Y_Intel
Employee
197 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.

logita
Beginner
196 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.
Reply