普通网友 2018-10-21 15:50
浏览 32
已采纳

GO API安装失败“ evq /色度”

I am trying to install chromaticity on my own machine for testing, and no matter what i do i will always hit the error seen in this picture installation error I dont know why it happened i tried searching but i found nothing online. my question is does anyone know why it happens? or can point me to the right direction? i have checked the folders and yes there are no GO files in there but i dont see why that is a problem

The api could be found here: https://github.com/evq/chromaticity

  • 写回答

2条回答 默认 最新

  • dtp791357 2018-10-22 03:46
    关注

    This is not an issue (as in bug) on the project, rather an issue due to lack of documentation on how to build the project itself.

    If you look at the Makefile file on the root directory, you'll notice that static/static.go is a generated file as part of the build process. Such file is usually not committed to the repo so you'll need to build it yourself. To do so, you'll need to have go-bindata installed.

    Here's what you need to do in order to build the project successfully:

    1. Get the go-bindata package

      go get -u github.com/jteeuwen/go-bindata/...
      
    2. Get the project

      go get github.com/evq/chromaticity
      
    3. Go the project root directory

      cd [...the chromaticity project root..]
      
    4. Run make to generate the static/static.go file

      make
      
    5. Build/ install the project

      go install
      

    Update:

    Noticed from your screenshot that you're using Windows, in that case you may need to workaround the issue of running Makefile in Windows. See here for possible solution: How to run a makefile in Windows?

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

报告相同问题?

悬赏问题

  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度