作者热门文章
- r - 以节省内存的方式增长 data.frame
- ruby-on-rails - ruby/ruby on rails 内存泄漏检测
- android - 无法解析导入android.support.v7.app
- UNIX 域套接字与共享内存(映射文件)
基本上,我遵循的是本教程: https://gowalker.org/github.com/lxn/walk
但是当使用 akavel rsrc 工具将 list 文件构建为 .syso 文件时,我遇到了以下错误:
rsrc : The term 'rsrc' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
我已经运行了 go get,包在 goprojects 文件夹中,我只是将 list 的制作从“test.manifest”更改为 windowService.manifest,但这在命令中更新了,我没有认为这是我的错误?
如果您能对此有所了解,我将不胜感激,因为 google 似乎没有专门返回任何对此工具有帮助的信息!
最佳答案
执行@JackFrost 提到的操作的更简单方法是使用您的 %GOPATH% 环境变量。
这让我免去了在 bin 文件中编译 list 文件的麻烦。
%GOPATH%\bin\rsrc.exe -manifest file.manifest -o rsrc.syso
关于go - 使用akavel rsrc工具,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34226565/
我是一名优秀的程序员,十分优秀!