Toybrick
标题:
64位的rkmedia静态库在哪里可以找到?
[打印本页]
作者:
chendejun
时间:
2022-1-21 09:10
标题:
64位的rkmedia静态库在哪里可以找到?
libeasymedia.so等等
作者:
jefferyzhang
时间:
2022-1-21 15:45
Toybrick没有提供这些东西,你可以在rk的github上找找,
https://github.com/rockchip-linux/rkmedia
作者:
chendejun
时间:
2022-1-24 15:53
谢谢,先下载下来cmake编译一下,看能不能编译得过。
作者:
chendejun
时间:
2022-1-24 16:01
src/CMakeFiles/easymedia.dir/c_api/rkmedia_api.cc.o
[ 90%] Building CXX object src/CMakeFiles/easymedia.dir/c_api/rkmedia_utils.cc.o
[ 93%] Building CXX object src/CMakeFiles/easymedia.dir/c_api/rkmedia_buffer.cc.o
[ 96%] Building CXX object src/CMakeFiles/easymedia.dir/c_api/osd/color_table.cc.o
/home/dc/rk356x_linux_210809/BSP/rkmedia-master2/rkmedia-master/src/c_api/osd/color_table.cc: In function ‘RK_U8 find_argb_color_tbl_by_order(const RK_U32*, RK_U32, RK_U32)’:
/home/dc/rk356x_linux_210809/BSP/rkmedia-master2/rkmedia-master/src/c_api/osd/color_table.cc:54:26: error: ‘abs’ was not declared in this scope
distance = abs(ap - a) + abs(rp - r) + abs(gp - g) + abs(bp - b);
^
/home/dc/rk356x_linux_210809/BSP/rkmedia-master2/rkmedia-master/src/c_api/osd/color_table.cc: In function ‘RK_U8 find_argb_color_tbl_by_dichotomy(const RK_U32*, RK_U32, RK_U32)’:
/home/dc/rk356x_linux_210809/BSP/rkmedia-master2/rkmedia-master/src/c_api/osd/color_table.cc:87:21: error: ‘abs’ was not declared in this scope
if (abs(delta0) > abs(delta1))
^
src/CMakeFiles/easymedia.dir/build.make:806: recipe for target 'src/CMakeFiles/easymedia.dir/c_api/osd/color_table.cc.o' failed
make[2]: *** [src/CMakeFiles/easymedia.dir/c_api/osd/color_table.cc.o] Error 1
CMakeFiles/Makefile2:105: recipe for target 'src/CMakeFiles/easymedia.dir/all' failed
make[1]: *** [src/CMakeFiles/easymedia.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
欢迎光临 Toybrick (https://t.rock-chips.com/)
Powered by Discuz! X3.3