duanrenzou1619 2018-12-11 15:05
浏览 101

Golang图像IPTC元数据

I need to get the meta data, especially the iptc meta data from the uploaded files on the server.

I have found two packages I can import, but both of them require the "libiptcdata" libary. It should not be a problem, but after I installed the libary with brew, as it is written on both of the packages page, and typed go get "https://github.com/Melraidin/iptc" (for example, one of the two packages I wanted to use), I got the following error:

../../github.com/Melraidin/iptc/main.go:10:10: fatal error: libiptcdata/iptc-data.h: No such file or directory #include <libiptcdata/iptc-data.h> ^~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated.

The error is real, the file is really is not there, but how then it could work at anyone else? I found these 2 packages suggestion of using on a few page.

Thank you for your help

  • 写回答

1条回答 默认 最新

  • drhwb470572 2018-12-12 09:15
    关注

    First, I have removed the brew installed "libiptcdata" libary, than installed the following libaries:

    "libiptcdata0" "libiptcdata0-dev" "python-iptcdata"

    with these three, the "go get" is managed to run, and could continue working on the original problem...

    评论

报告相同问题?

悬赏问题

  • ¥15 kafka 分区副本增加会导致消息丢失或者不可用吗?
  • ¥15 微信公众号自制会员卡没有收款渠道啊
  • ¥15 stable diffusion
  • ¥100 Jenkins自动化部署—悬赏100元
  • ¥15 关于#python#的问题:求帮写python代码
  • ¥20 MATLAB画图图形出现上下震荡的线条
  • ¥15 关于#windows#的问题:怎么用WIN 11系统的电脑 克隆WIN NT3.51-4.0系统的硬盘
  • ¥15 perl MISA分析p3_in脚本出错
  • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
  • ¥15 ubuntu虚拟机打包apk错误