我想将 SCrypt 库添加到我的 XCode Objective-C 项目中。但是,我收到了大量以下类型的错误:
blkcpy(void * dest, void * src, size_t len)
{
size_t * D = dest; //cannot initialize a variable of type size_t * (aka 'unsigned long) with an lvalue of type void *
size_t * S = src;/cannot initialize a variable of type size_t * (aka 'unsigned long) with an lvalue of type void *
size_t L = len / sizeof(size_t);
size_t i;
for (i = 0; i < L; i++)
D[i] = S[i];
}
怎么办?有没有人将 scrypt 库添加到 XCode 中?