【发布时间】:2023-03-24 01:44:01
【问题描述】:
目标
生成图像文件的哈希值。我正在使用 pHash 库来完成这项任务。 pHash 库具有以下用于生成图像哈希的方法。
int ph_dct_imagehash(const char* file,ulong64 &hash);
数据类型 ulong64 不存在于 android stdint.h 中。因此,我收到 "cannot resolve type ulong64" 错误。
请帮助我如何在 Android 的 c 文件中使用 ulong64。
我可以使用一些第三方库来完成这项任务吗?
我们有什么办法可以解决这个错误吗?
【问题讨论】:
标签: android c++ c cmake android-ndk