qt 好上手,资料多,适合我这种业余人士。但 qtruby 好久不更新了,目前没有 ruby2 对应的 windows 二进制版。 我在 win7 ruby2.1.3 cmake 3.0.2 mingw(gcc4.8.1) 环境下编译通不过,用 cmakegui,specify the generator for this project 选 mingw makefiles 编译失败。linux 下是可以编译成功的。 cmakeerror.log:
Run Build Command:"C:/MinGW/bin/mingw32-make.exe" "cmTryCompileExec610852389/fast" C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTryCompileExec610852389.dir\build.make CMakeFiles/cmTryCompileExec610852389.dir/build
mingw32-make.exe[1]: Entering directory 'C:/Users/田瑞国/Downloads/qtruby-4.14.1/build/CMakeFiles/CMakeTmp'
"C:\Program Files\CMake\bin\cmake.exe" -E cmake_progress_report C:\Users\田瑞国\Downloads\qtruby-4.14.1\build\CMakeFiles\CMakeTmp\CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec610852389.dir/testCCompiler.c.obj
C:\MinGW\bin\gcc.exe -o CMakeFiles\cmTryCompileExec610852389.dir\testCCompiler.c.obj -c C:\Users\田瑞国\Downloads\qtruby-4.14.1\build\CMakeFiles\CMakeTmp\testCCompiler.c
gcc.exe: error: CreateProcess: No such file or directory
CMakeFiles\cmTryCompileExec610852389.dir\build.make:56: recipe for target 'CMakeFiles/cmTryCompileExec610852389.dir/testCCompiler.c.obj' failed
mingw32-make.exe[1]: *** [CMakeFiles/cmTryCompileExec610852389.dir/testCCompiler.c.obj] Error 1
mingw32-make.exe[1]: Leaving directory 'C:/Users/田瑞国/Downloads/qtruby-4.14.1/build/CMakeFiles/CMakeTmp'
Makefile:117: recipe for target 'cmTryCompileExec610852389/fast' failed
mingw32-make.exe: *** [cmTryCompileExec610852389/fast] Error 2 大概意思好像是测试临时文件编译没成功,我哪里弄错了?