我正在尝试在 Windows 上安装 svn2git。目前,我在 C:/ 目录中有 svn2git 克隆的 repo。需要 Qt4(这是手册中指定的版本)来构建。但是,我似乎在正确安装 Qt4 时遇到了问题。
目前,当我在 svn2git 文件夹中尝试和 rune qmake && make 时,我得到以下输出:
"C:/Program Files (x86)/Git/bin/sh.exe": -c: line 1: syntax error: unexpected end of file
Makefile:31: recipe for target 'src\Makefile' failed
mingw32-make: *** [src\Makefile] Error 258
当我构建 configure Qt 时,我一直在这样做:
configure -platform win32-msvc2013
不完全确定我应该用哪个平台安装它。
在配置输出结束时,我得到:
Creating qmake...
execute: File or path is not found (nmake)
execute: File or path is not found (nmake)
Cleaning qmake failed, return code -1
我建议简单地安装 Cygwin,你在包管理器中有现成的 qt4 包,你可以简单地安装,然后构建svn2git
就像qmake-qt4 && make
通过包管理器安装所需的依赖项后调用一样简单。至少这就是我svn2git
在 Windows 上构建的方式。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句