Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile error #2

Open
ghost opened this issue Mar 13, 2021 · 2 comments
Open

compile error #2

ghost opened this issue Mar 13, 2021 · 2 comments

Comments

@ghost
Copy link

ghost commented Mar 13, 2021

[>] Arch => x64
[>] Create a directory: temp/
[>] p.docx => EXE
[>] Compiling temp/xpmYvE.syso
[>] Compiling xpmYvE.go
[!] Compile fail: exit status 1

Help please

@darkb1rd
Copy link
Owner

[>] Arch => x64
[>] Create a directory: temp/
[>] p.docx => EXE
[>] Compiling temp/xpmYvE.syso
[>] Compiling xpmYvE.go
[!] Compile fail: exit status 1

Help please

  1. 编译失败后,不要删除temp文件夹
  2. 执行命令set GO111MODULE=off
  3. 执行命令go build .\temp ,此步骤应该会提示缺少某些库,安装即可。
  4. 重新执行第3步,直至正常编译出exe
  5. 删除temp目录,重新使用darkgld.exe进行生成。
  6. 上述命令建议在cmd上执行。若依旧错误,请提交issue

@ghost
Copy link
Author

ghost commented Mar 19, 2021

thanks it is working now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant