dongyuyi5680 2015-12-11 15:08
浏览 448
已采纳

使用akavel rsrc工具

Basically I am following this tutorial: https://gowalker.org/github.com/lxn/walk

But when it comes to building the manifest file into a .syso file using the akavel rsrc tool I am running into the following error:

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.

I have run the go get and the package is in the goprojects folder and I am only changing the make of the manifest from 'test.manifest' to windowService.manifest' but this is updated in the command and I don't think this is my error?

IF you could shed any light on this I would be grateful as google doesn't seem to return anything helpful to this tool specifically!

  • 写回答

2条回答 默认 最新

  • doulingzou1712 2015-12-11 16:53
    关注

    If anyone runs into the same error you need to actually run the rsrc, so for me the steps were:

    1) Navigate in command line to the location of rsrc.exe:

    For me it was 'C:\GoProjects\bin'

    2) Run the command:

    .src.exe -manifest '*PATHTOMANIFESTLOCATION*' -o rsrc.syso
    

    3) Copy the rsrc.syso file back to the location of my goproject before running go build.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 C++ yoloV5改写遇到的问题
  • ¥20 win11修改中文用户名路径
  • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
  • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
  • ¥70 PlayWright在Java上连接CDP关联本地Chrome启动失败,貌似是Windows端口转发问题
  • ¥15 帮我写一个c++工程
  • ¥30 Eclipse官网打不开,官网首页进不去,显示无法访问此页面,求解决方法
  • ¥15 关于smbclient 库的使用
  • ¥15 微信小程序协议怎么写
  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?