Skip to content

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

Open

Description

@soosmile

image

Activity

  1. aeverj commented on Jun 25, 2022

    @aeverj
    Owner

    从这里下载 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.
    
  2. soosmile commented on Jun 26, 2022

    @soosmile
    Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions