Visual Studio配置VLFeat库
来源:互联网 发布:python怎么滤波图片 编辑:程序博客网 时间:2024/05/18 01:45
These instructions show how to setup a basic VLFeat project with Visual C++ Express 2008 on Windows XP (32 bit). Instructions for other versions of Visual Studio should be similar.
First, we create a new project called vlfeat-client
. Open Visual C++ Express 2008 and select File > New > Project and choose General > Empty Project. Give your project a name and location (here vlfeat-client
) and click OK.
Next, we have to modify the project properties to include the VLFeat library and include directories. Right click on the project and select properties.
We want these settings to apply to both Debug and Release builds, so switch to all configurations.
Add an additional include path which points to the root of the VLFeat folder:
Add an additional library include path pointing to the bin/w32
folder in the distribution, and add vl.dll
as a dependency:
This will allow us to compile, but we will not be able to run, getting because vl.dll
will not be found:
To remedy this, we add a post-build step which copies vl.dll to the debug or release folder. Since this only needs to be done once for each project, we could instead copy the file manually.
Now that we have created our project, add a new .cpp file (right click on Source Files and choose Add > New Item) with this code:
extern "C" {#include <vl/generic.h>}int main (int argc, const char * argv[]) { VL_PRINT ("Hello world!\n") ; return 0;}
Build and run the project (Ctrl+F5). It should run correctly, and you should see this:
from: http://www.vlfeat.org/vsexpress.html
- Visual Studio配置VLFeat库
- Visual Studio配置VLFeat库(一次配置,永久生效)
- VLfeat库的配置
- matlab安装配置VLFeat库
- Matlab中配置vlfeat库
- vlfeat重编译以及visual studio与matlab联调
- visual studio配置xclib第三方库
- Visual Studio 环境配置
- visual studio字体配置
- boost 配置 Visual studio
- Visual Studio配置OpenGL
- OpenGL配置 visual studio
- Visual Studio配置OpenSSL
- visual studio配置openGL
- Visual Studio Code配置
- matlab中配置vlfeat
- VLFeat开源库的配置
- VLFeat + VS2013+opencv 配置
- C语言(函数与宏)
- nodejs request & response 对象
- Gradle笔记——构建基础
- Spring进阶之路(2)-ApplicationContext容器以及事件机制
- java 知识体系
- Visual Studio配置VLFeat库
- 读《深入php面向对象、模式与实践》有感(一)
- JavaScript--Map和Set介绍
- V-Play 文档翻译 App
- Codeforces #284 C. Crazy Town 几何
- fragment生命周期
- ZOJ-3780-Paint the Grid Again【11th浙江省赛】
- Android上面做Flash播放器
- HDU 3790 最短路径问题(双重Dijkstra算法)