但是,即使我已经完成了所有这些操作,在尝试使用这些库时仍然会遇到这个错误:error LNK2019: unresolved external symbol "int __cdecl ph_dct_imagehashph_dct_imagehash@@YAHPBDAA_K@Z) referenced in function _main。我的代码如下所示:#include "pHash.h"
int ph_dct_image
Id (主键、唯一标识符、null)
逻辑是在我的应用程序代码中生成ImageHash我为ImageHash创建了一个索引,但是我对Server索引并没有很好的理解。 [Id] [uniqueidentifier] ROWGUIDCOL NOT NULL,
[ImageHash] [uniqueidentifier]C
\Com\pHash.dll")] [MarshalAs(UnmanagedType.LPStrUnable to find an entry point named 'ph_dct_imagehash' in DLL '.\Com\pHash.dll'.\Com\pHash.dll")]
public static extern int ph_dct_imageha