最近编译tolua_runtime安卓编译错误

编译时出现以下错误
In file included from lj_ffrecord.c:859:0: lj_recdef.h:224:1: error: ‘recff_rawlen’ undeclared here (not in a function) recff_rawlen, ^ Makefile:645: recipe for target 'lj_ffrecord.o' failed

是啥原因呢,好像也没改他,估计是git clone下来的时候自动转换换行符了
整体换一下换行符就可以了
cygwin下面执行
find . -type f -print0 | xargs -0 dos2unix

编译没错了
 
posted @ 2017-01-19 22:02 冷侃 阅读(...) 评论(...) 编辑 收藏