firemail
标题: mingw32-make: [install_target] Error 2 (ignored) [打印本页]
作者: Qter 时间: 2018-3-8 14:13
标题: mingw32-make: [install_target] Error 2 (ignored)
本帖最后由 Qter 于 2018-3-8 14:37 编辑
cp -f libtest.so C:/github/Qt/test/build-test-Android_for_armeabi_v7a_GCC_4_9_Qt_5_5_1-Release/android-build/libs/armeabi-v7a/libtest.so
process_begin: CreateProcess(NULL, cp -f libtest.so C:/github/Qt/test/build-test-Android_for_armeabi_v7a_GCC_4_9_Qt_5_5_1-Release/android-build/libs/armeabi-v7a/libtest.so, ...) failed.
make (e=2): 系统找不到指定的文件。
mingw32-make: [install_target] Error 2 (ignored)
makefile:1597: recipe for target 'install_target' failed
【原因】cp命令缺失
【解决】将cygwin64/bin下cp.exe复制到Qt5.5.1\Tools\mingw492_32\bin下或者在环境变量中设置path路径
不行直接把C:\cygwin64\bin加入到Path环境变量,重启下QCreator.
https://www.bbsmax.com/A/B0zqv363Jv/
另外需要安装VS2013运行环境,vcredist_x64(Visual C++ Redistributable Packages for Visual Studio 2013).exe
欢迎光临 firemail (http://firemail.wang:8088/) |
Powered by Discuz! X3 |