Open dai-2584 opened 5 years ago
D:\udp2raw-multiplatform-mp\udp2raw-multiplatform-mp>make mingw process_begin: CreateProcess(NULL, git rev-parse HEAD, ...) failed. echo "const char *gitversion = \"\";" > git_version.h rm -f udp2raw_mp udp2raw_mp_nolibnet udp2raw_mp.exe udp2raw_mp_nolibnet.exe process_begin: CreateProcess(NULL, rm -f udp2raw_mp udp2raw_mp_nolibnet udp2raw_mp.exe udp2raw_mp_nolibnet.exe, ...) failed. make (e=2): makefile:38: recipe for target 'mingw' failed make: *** [mingw] Error 2
不知啥原因,没有安装git, 安装了MingW, 用mingw32-make mingw 也是一样的报错。
已经解决,需要稍稍改动一下Makefile
D:\udp2raw-multiplatform-mp\udp2raw-multiplatform-mp>make mingw process_begin: CreateProcess(NULL, git rev-parse HEAD, ...) failed. echo "const char *gitversion = \"\";" > git_version.h rm -f udp2raw_mp udp2raw_mp_nolibnet udp2raw_mp.exe udp2raw_mp_nolibnet.exe process_begin: CreateProcess(NULL, rm -f udp2raw_mp udp2raw_mp_nolibnet udp2raw_mp.exe udp2raw_mp_nolibnet.exe, ...) failed. make (e=2): makefile:38: recipe for target 'mingw' failed make: *** [mingw] Error 2
不知啥原因,没有安装git, 安装了MingW, 用mingw32-make mingw 也是一样的报错。