11 2014 档案

摘要:./configure --prefix="/root/code/install/x86" CPPFLAGS="-I/root/src/include" LDFLAGS="-L/usr/local/lib -L/root/code/x86/sqlite"动态链接AUTOMAKE_OPTIONS=fo... 阅读全文
posted @ 2014-11-27 14:22 ahuo 阅读(444) 评论(0) 推荐(0) 编辑
摘要:ftp必须用二进制模式上传才可以sqlite3arm-linux-gcc hello.c -o hello.cgi -I /cgi/include -L /cgi/lib -static -lsqlite3 -lpthread -ldl 阅读全文
posted @ 2014-11-21 23:16 ahuo 阅读(2240) 评论(0) 推荐(0) 编辑
摘要:用动态链接的方法: arm-linux-gcc hello.c -o hello.out -Wl,-dynamic-linker=/system/lib/ld-linux.so.3 并且拷贝文件到安卓系统目录下/system/lib/ld-linux.so.3 -static 静态链接 阅读全文
posted @ 2014-11-21 11:05 ahuo 阅读(1014) 评论(0) 推荐(0) 编辑
摘要:安卓下执行交叉编译的可执行文件发现提示不允许。 原因是mount的方式问题,root后运行 su mount -o rw,remount /mnt/sdcard 就可以了 mount -o rw,remount / / 新版本系统 重新挂载根目录 阅读全文
posted @ 2014-11-20 21:56 ahuo 阅读(3123) 评论(0) 推荐(0) 编辑
摘要:问题:undefined reference to `pthread_spin_init'解:修改CMakeCache.txt,CMAKE_EXE_LINKER_FLAGS原来为空,加上-lpthread -lrt -ldl 阅读全文
posted @ 2014-11-20 15:48 ahuo 阅读(550) 评论(0) 推荐(0) 编辑
摘要:原因是缺少库文件,解决办法:arm-linux-readelf -a helloword | grep NEEDED 拷贝so文件到安卓下或者arm-linux-gcc hello.c -o hello -static 阅读全文
posted @ 2014-11-20 15:11 ahuo 阅读(342) 评论(0) 推荐(0) 编辑
摘要:.├── aclocal.m4├── autoscan.log├── config.log├── config.status├── configure├── configure.in├── Makefile├── Makefile.am├── Makefile.in└── src ├── f... 阅读全文
posted @ 2014-11-18 13:01 ahuo 阅读(3287) 评论(0) 推荐(0) 编辑
摘要:Cannyfunction [ canny ] = canny( rgb )temp=rgb2gray(rgb);canny=edge(temp,'canny');end灰度temp=rgb2gray(rgb);播放视频clear allsource = VideoReader('d:\v\\bus... 阅读全文
posted @ 2014-11-11 11:44 ahuo 阅读(334) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示