Community
cancel
Showing results for 
Search instead for 
Did you mean: 
logita
Beginner
120 Views

RGBToRGB565

Jump to solution
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
120 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
121 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

logita
Beginner
120 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