交叉编译x264 提示No working c compiler found crt1.o no such file
作者:fly 发布于:2016-8-5 11:00 分类:Linux
./configure 的时候--sysroot 要指定到交叉编译器的libc目录交叉编译libpng configure: error: ZLib not installed
作者:fly 发布于:2016-8-5 10:18 分类:Linux
Libpng配置是会去检测zlib库,configure时加上zlib库的路径信息即可。
#./configure --prefix=/usr/local/arm/opencv-depend --host=arm-linux LIBS=-L/usr/local/arm/opencv-depend/lib CPPFLAGS=-I/usr/local/arm/opencv-depend/include
移植opencv3.1.0
作者:fly 发布于:2016-8-3 16:03 分类:Linux
在 opencv 交叉编译之前要先进行依赖库的交叉编译,然后才能进行 opencv 库的交叉编译(因为opencv 依赖于很多库函数,如果不编译会造成,编译后的opencv 无法使用)。这里首先给出OpenCV 交叉编译时各个库的依赖关系:Linux查找含有某字符串的所有文件
作者:fly 发布于:2016-8-3 9:47 分类:Linux
grep -rn "hello,world!" *make install时 arm-linux-ranlib:command not found
作者:fly 发布于:2016-8-3 9:18 分类:Linux
执行make install之前,先用下sudo -i命令取得root权限。然后再执行make install。undefined reference to `main'
作者:fly 发布于:2016-8-3 9:11 分类:Linux
arm-linux-gcc: unrecognized option '-shared-Wl,-soname,libz.so.1,--version-script,zlib.map'/usr/local/arm/arm-2009q3/bin/../arm-none-linux-gnueabi/libc/usr/lib/crt1.o: In function `_start':
init.c:(.text+0x34): undefined reference to `main'
红色部分因为少个空格导致的。
最新版 mjpg-streamer 下载
作者:fly 发布于:2016-7-26 8:59 分类:Linux
svn co https://svn.code.sf.net/p/mjpg-streamer/code mjpg-streamer cd mjpg-streamer/mjpg-streamer make clean all sudo make install
无法创建普通文件"/usr/local/man/man1/cjpeg.1": 没有那个文件或目录
作者:fly 发布于:2016-7-26 8:51 分类:Linux
/usr/bin/install: 无法创建一般文件‘/usr/local/man/man1/cjpeg.1’: 没有那个文件或目录
怎么办?其实少了man就建一个man,少了man1就建一个man1 注意:这里的man1中的1是数字.
/bin/bash^M: 坏的解释器: 没有那个文件或目录
作者:fly 发布于:2016-7-26 8:41 分类:Linux
正则表达式sed -i 's/\r$//'filename
-i插入
s替代模式
\r$表示任何以\r结束的字符
整句意思是把以\r结束的字符换成空白
现在再运行就没这个问题了
call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
作者:fly 发布于:2016-7-22 11:36 分类:Linux
www.forwhat.cn gcc 新版本编译器对语法检查严格,在源文件 ./tests/ts_calibrate.c 中 // 源文件 // if ((calfile = getenv("TSLIB_CALIBFILE")) != NULL) { // cal_fd = open (calfile, O_CREAT | O_RDWR); // } else { // cal_fd = open ("/etc/pointercal", O_CREAT | O_RDWR); // } // 需要更改成如下形式 if ((calfile = getenv("TSLIB_CALIBFILE")) != NULL) { cal_fd = open (calfile, O_CREAT | O_RDWR, 0777); } else { cal_fd = open ("/etc/pointercal", O_CREAT | O_RDWR, 0777); } 保存后重新编译即可
日历
分类
存档
- 2018年3月(1)
- 2017年9月(1)
- 2017年7月(2)
- 2017年5月(1)
- 2017年3月(2)
- 2017年2月(6)
- 2017年1月(9)
- 2016年12月(13)
- 2016年11月(4)
- 2016年8月(17)
- 2016年7月(4)
- 2016年3月(1)
- 2016年2月(2)
- 2015年12月(4)
- 2015年10月(5)
- 2015年9月(1)
- 2015年8月(1)
- 2015年6月(2)
- 2015年5月(4)
- 2015年4月(1)
- 2015年3月(4)
- 2015年2月(2)
- 2015年1月(24)
- 2014年12月(3)
- 2014年10月(5)
- 2014年9月(5)
- 2014年8月(4)
- 2014年7月(13)
- 2014年6月(18)
- 2014年5月(20)
- 2014年4月(24)
- 2014年3月(90)
- 2014年2月(121)
- 2014年1月(11)
最新评论
- qq
哈 - AdOnCn
很好!感谢! - FlyLu
fly您好,看到你写的文章很不错,也很佩... - 地铁诡事
[给力] - 婚嫁百科
如果有爱,如果有结局! - 安安博客
看不懂 - wys.me
博主好,请教个问题哈。 怎么修改vis... - 知道91博客
哈哈,这个算是编程很基础很基础的了吧 - 婚嫁百科
晕死,怎么都不会显示出来的啊 - 小俊
看不懂