aeverj/NimShellCodeLoader

gcc安装,还是一直编译失败,感觉是环境问题,但是gcc环境可以运行

soosmile opened this issue · 2 comments

从这里下载 https://nim-lang.org/download/mingw64.7z 然后解压缩,将里面的bin目录添加到环境变量中

PS C:\Users\admin> gcc --version
gcc.exe (MinGW-W64 x86_64-posix-seh, built by Brecht Sanders) 11.1.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

PS C:\Users\admin> g++ --version
g++.exe (MinGW-W64 x86_64-posix-seh, built by Brecht Sanders) 11.1.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

感谢师傅,这个没问题了,是因为我使用nim中的fish安装mingw安装两种方法,导致环境问题。目前只能使用你编译好的codeloader,自己使用c#编译会报错,应该还是环境问题