VLFeat库中加extern “C“

 使用VLFeat的时候官网有这么一句话,VLFeat是C的库,想要在C++中使用它就要加上extern "C"

 如下:

extern "C" {
#include "vl/generic.h"
#include "vl/sift.h"
#include "vl/kdtree.h"
}

猜你喜欢

转载自blog.csdn.net/weixin_51229250/article/details/122139758