cegui遇到的问题及其通用解决办法

来源:互联网 发布:淘宝黄钻门事件 编辑:程序博客网 时间:2024/05/22 00:29
  近日编译cegui时,执行configure总是出错:
    .infig.status: error: cannot find input file: Makefile
  于是查找相关资料,总算找到解决方案, 查看此处及此处。原来这是文件回车换行符的差异造成的。windows下采用/r/n,*nix下采用/r。这样在执行configure时就会出错。只好改了,采用命令:
find . -type f -and -not -name "*.cpp" -and -not -name "*.h" -and -not -name "*.png" -and -not -name "*.bmp" | sed "s/.*//"//0/"/" | xargs dos2unix
即可。
原创粉丝点击