flagflag  
2: 2015-12-02 (Wed) 18:27:35 iseki source Cur: 2015-12-03 (Thu) 03:07:28 iseki source
Line 1: Line 1:
** YUV変換用ライブラリ [#k3fade91] ** YUV変換用ライブラリ [#k3fade91]
-*** Install [#w840d748]+- https://code.google.com/p/libyuv/
#br #br
-mkdir out 
-cd out 
-cmake -DCMAKE_INSTALL_PREFIX="/usr/lib" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_CXX_FLAGS="-fPIC" .. 
-make 
-make install 
-vi CMakeFiles/yuv.dir/link.txt+*** 通常の Install [#w840d748] 
 + # svn checkout http://libyuv.googlecode.com/svn/trunk/ libyuv-read-only 
 + # svn checkout http://libyuv.googlecode.com/svn/trunk/ libyuv-read-only 
 + # mkdir out 
 + # cd out 
 + # cmake -DCMAKE_INSTALL_PREFIX="/usr/lib" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_CXX_FLAGS="-fPIC" .. 
 + # make 
 + # make install 
 + -DCMAKE_CXX_FLAGS="-fPIC" は後で共有ライブラリを作るためのもの
-/usr/bin/ar cr libyuv.a +*** 共有ライブラリ を作る [#hb2e1558] 
- + # vi CMakeFiles/yuv.dir/link.txt 
- + リンクコマンドをコピペ 
-/usr/bin/ld -shared -o libyuv.so CMakeFiles/yuv.dir/source/compare.cc.o CMakeFiles/yuv.dir/source/compare_common.cc.o CMakeFiles/yuv.dir/source/compare_neon.cc.o CMakeFiles/yuv.dir/source/compare_gcc.cc​.o CMakeFiles/yuv.dir/source/compare_win.cc​.o CMakeFiles/yuv.dir/source/convert.cc.o CMakeFiles/yuv.dir/source/convert_argb.c​c.o CMakeFiles/yuv.dir/source/convert_from.c​c.o CMakeFiles/yuv.dir/source/convert_from_a​rgb.cc.o CMakeFiles/yuv.dir/source/convert_jpeg.c​c.o CMakeFiles/yuv.dir/source/convert_to_arg​b.cc.o CMakeFiles/yuv.dir/source/convert_to_i42​0.cc.o CMakeFiles/yuv.dir/source/cpu_id.cc.o CMakeFiles/yuv.dir/source/mjpeg_decoder.​cc.o CMakeFiles/yuv.dir/source/mjpeg_validate​.cc.o CMakeFiles/yuv.dir/source/planar_functio​ns.cc.o CMakeFiles/yuv.dir/source/rotate.cc.o CMakeFiles/yuv.dir/source/rotate_argb.cc​.o CMakeFiles/yuv.dir/source/rotate_mips.cc​.o CMakeFiles/yuv.dir/source/rotate_neon.cc​.o CMakeFiles/yuv.dir/source/row_any.cc.o CMakeFiles/yuv.dir/source/row_common.cc.​o CMakeFiles/yuv.dir/source/row_mips.cc.o CMakeFiles/yuv.dir/source/row_neon.cc.o CMakeFiles/yuv.dir/source/row_gcc.cc.o CMakeFiles/yuv.dir/source/row_win.cc.o CMakeFiles/yuv.dir/source/scale.cc.o CMakeFiles/yuv.dir/source/scale_any.cc.o​ CMakeFiles/yuv.dir/source/scale_argb.cc.​o CMakeFiles/yuv.dir/source/scale_common.c​c.o CMakeFiles/yuv.dir/source/scale_mips.cc.​o CMakeFiles/yuv.dir/source/scale_neon.cc.​o CMakeFiles/yuv.dir/source/scale_gcc.cc.o​ CMakeFiles/yuv.dir/source/scale_win.cc.o​ CMakeFiles/yuv.dir/source/video_common.c​c.o + リンクコマンドの ar cr libyuv.a を  ld -shared -o libyuv.so に変えて実行 
- + # cp libyuv.so を /usr/local/lib にコピー 
- + # ldconfig 
-grep Version * + # cp README.chromium /usr/lib64/pkgconfig/libyuv.pc
-RADME.chromium+


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

102 user(s) are online (14 user(s) are browsing xpwiki)

Members: 0
Guests: 102

more...

Access Counter

Today : 1174117411741174
Yesterday : 1766217662176621766217662
Total : 2355650623556506235565062355650623556506235565062355650623556506
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com