各个版本下载
http://www.vlfeat.org/download/

我是用的VLFeat 0.9.18,但是编译方法通用

1 修改make/nmake_helper.mak


VS2015版本

2 修改Makefile.mak


将Makefile.mak文件中所有出现msvcr的地方改成msvcp(注意,只改小写的地方)

3修改vlfeat-0.9.20/vl/host.h文件


注释掉snprintf isnan

4 命令行编译



最后报这个错其实也是成功的。
NMAKE : fatal error U1077: “echo”: 返回代码“0x1”
Stop.

5 matlab mex 编译

到toolbox目录下,分别运行setup,complie demo

>> vl_setup
>> vl_compile
vl_compile: assuming that Visual C++ is the active compiler
vl_compile: compiling for PCWIN64 (64 bit)
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\aib\vl_aib.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\aib\vl_aibhist.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\fisher\vl_fisher.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\geometry\vl_irodr.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\geometry\vl_rodr.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\gmm\vl_gmm.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\imop\vl_imdisttf.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\imop\vl_imintegral.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\imop\vl_imsmooth.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\imop\vl_imwbackwardmx.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\imop\vl_tpsumx.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\kmeans\vl_hikmeans.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\kmeans\vl_hikmeanspush.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\kmeans\vl_ikmeans.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\kmeans\vl_ikmeanspush.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\kmeans\vl_kmeans.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\misc\vl_alldist.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\misc\vl_alldist2.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\misc\vl_binsearch.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\misc\vl_binsum.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\misc\vl_cummax.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\misc\vl_getpid.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\misc\vl_hog.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\misc\vl_homkermap.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\misc\vl_ihashfind.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\misc\vl_ihashsum.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\misc\vl_inthist.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\misc\vl_kdtreebuild.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\misc\vl_kdtreequery.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\misc\vl_lbp.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\misc\vl_localmax.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\misc\vl_sampleinthist.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\misc\vl_simdctrl.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\misc\vl_svmtrain.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\misc\vl_threads.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\misc\vl_twister.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\misc\vl_version.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\mser\vl_erfill.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\mser\vl_mser.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\quickshift\vl_quickshift.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\sift\vl_covdet.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\sift\vl_dsift.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\sift\vl_liop.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\sift\vl_sift.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\sift\vl_siftdescriptor.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\sift\vl_ubcmatch.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\slic\vl_slic.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
MEX H:\code\dcnf-fcsp-master\libs\vlfeat-0.9.18\toolbox\vlad\vl_vlad.c
使用 'Microsoft Visual C++ 2015 Professional (C)' 编译。
MEX 已成功完成。
>> vl_demo
vl_covdet: doubling image: yes
vl_covdet: detector: DoG
vl_covdet: peak threshold: 0.01, edge threshold: 10
vl_covdet: 13 features suppressed as duplicate (threshold: 0.5)
vl_covdet: detected 382 features
vl_covdet: kept 360 inside the boundary margin (2)
vl_covdet: doubling image: yes
vl_covdet: detector: DoG
vl_covdet: peak threshold: 0.01, edge threshold: 10
vl_covdet: 13 features suppressed as duplicate (threshold: 0.5)
vl_covdet: detected 382 features
vl_covdet: kept 360 inside the boundary margin (2)
vl_covdet: estimating affine shape for 360 features
vl_covdet: 360 features passed affine adaptation
vl_covdet: doubling image: yes
vl_covdet: detector: DoG
vl_covdet: peak threshold: 0.01, edge threshold: 10
vl_covdet: 13 features suppressed as duplicate (threshold: 0.5)
vl_covdet: detected 382 features
vl_covdet: kept 360 inside the boundary margin (2)
vl_covdet: 165 duplicate features were crated due to ambiguous orientation detection (525 total)
vl_sift: filter settings:
vl_sift:   octaves      (O)      = 5
vl_sift:   levels       (S)      = 3
vl_sift:   first octave (o_min)  = -1
vl_sift:   edge thresh           = 10
vl_sift:   peak thresh           = 0.01
vl_sift:   norm thresh           = 0
vl_sift:   window size           = 2
vl_sift:   float descriptor      = 0
vl_sift: will source frames? no
vl_sift: will force orientations? no
vl_sift: processing octave -1
vl_sift: processing octave -1
vl_sift: processing octave 0
vl_sift: processing octave 1
vl_sift: processing octave 2
vl_sift: processing octave 3
vl_sift: found 694 keypoints
vl_sift: filter settings:
vl_sift:   octaves      (O)      = 5
vl_sift:   levels       (S)      = 3
vl_sift:   first octave (o_min)  = -1
vl_sift:   edge thresh           = 10
vl_sift:   peak thresh           = 0
vl_sift:   norm thresh           = 0
vl_sift:   window size           = 2
vl_sift:   float descriptor      = 0
vl_sift: will source frames? yes (638 read)
vl_sift: will force orientations? no
vl_sift: processing octave -1
vl_sift: processing octave -1
vl_sift: processing octave 0
vl_sift: processing octave 1
vl_sift: processing octave 2
vl_sift: processing octave 3
vl_sift: found 638 keypoints
mser: parameters:
mser:   delta         = 1
mser:   max_area      = 0.75
mser:   min_area      = 6e-05
mser:   max_variation = 0.25
mser:   min_diversity = 0.2
mser: statistics:
mser: 6 extremal regions of which
mser:      5 (   83.3 % of previous) maximally stable,
mser:      5 (    100 % of previous) stable enough,
mser:      5 (    100 % of previous) small enough,
mser:      5 (    100 % of previous) big enough,
mser:      5 (    100 % of previous) diverse enough.
mser: parameters:
mser:   delta         = 32
mser:   max_area      = 0.75
mser:   min_area      = 6e-05
mser:   max_variation = 0.25
mser:   min_diversity = 0.2
mser: statistics:
mser: 6 extremal regions of which
mser:      5 (   83.3 % of previous) maximally stable,
mser:      4 (     80 % of previous) stable enough,
mser:      4 (    100 % of previous) small enough,
mser:      4 (    100 % of previous) big enough,
mser:      4 (    100 % of previous) diverse enough.
mser: parameters:
mser:   delta         = 159
mser:   max_area      = 0.75
mser:   min_area      = 6e-05
mser:   max_variation = 0.25
mser:   min_diversity = 0.2
mser: statistics:
mser: 6 extremal regions of which
mser:      5 (   83.3 % of previous) maximally stable,
mser:      1 (     20 % of previous) stable enough,
mser:      1 (    100 % of previous) small enough,
mser:      1 (    100 % of previous) big enough,
mser:      1 (    100 % of previous) diverse enough.
mser: parameters:
mser:   delta         = 160
mser:   max_area      = 0.75
mser:   min_area      = 6e-05
mser:   max_variation = 0.25
mser:   min_diversity = 0.2
mser: statistics:
mser: 6 extremal regions of which
mser:      5 (   83.3 % of previous) maximally stable,
mser:      0 (      0 % of previous) stable enough,
mser:      0 (      0 % of previous) small enough,
mser:      0 (      0 % of previous) big enough,
mser:      0 (      0 % of previous) diverse enough.
1/10 113096 regions
...

成功

ref
https://blog.csdn.net/weiwei9363/article/details/65434976
https://blog.csdn.net/jizhidexiaolili/article/details/79810342

VLfeat win10 vs2015 matlab编译相关推荐

  1. win10 vs2015 wxWidgets编译

    wxwidgets官网: http://www.wxwidgets.org 官网下载源码包: http://www.wxwidgets.org/downloads/ https://github.co ...

  2. VLfeat win10 vs2015 编译

    为什么要编译 官网有提供编译好的二进制文件(VLFeat 0.9.20),理论上不需要我们再进行编译,但是坑爹的是,自己的电脑上完全不能用! 具体错误和这位博主的一样,但这位博主的解决方式却对我的问题 ...

  3. win10+VS2015+pycaffe编译

    这里的环境是WIN10+cuda v8 +cudnn v6 + opencv + pycharm+VS2015 使用的是GPU,我的GPU是titan 6G+内存16G 首先是caffe的文件以及第三 ...

  4. win10 vs2015 jsoncpp编译 支持xp系统

    01 环境 系统:win10企业版10.0.14393 vs2015企业版.git.CMake3.4.0 相关文档: 老官网:http://open-source-parsers.github.io/ ...

  5. MatConvNet1.0bate25+win10+vs2015+matlab2017a GPU编译踩坑

    MatConvNet1.0bate25+win10+vs2015+matlab2017a GPU编译踩坑 开头按照下边这个搞,不出意外的话直接成功.(但一般会出意外----狗头表情) matconvn ...

  6. Win10+VS2015平台下OpenCV3.1.0的x86和x64平台的Debug与Release模式的编译与配置

    闲话 昨天晚上在新电脑上重新配置了OpenCV3.1,之前虽然也弄过,不过当时是初学者,只是照着网上的教程简单的配置了Debug模式下x86的运行环境(大部分的教程也只教了这种方式的配置......) ...

  7. Seetaface 03 Seetaface python版 win10 vs2015编译

    01 环境 win10x64 vs2015 update3 cmake3.7.2 git 源码:https://github.com/5455945/SeetaFaceEngine.git 如果要测试 ...

  8. 用matlab调用vs2015来编译vs工程

    用matlab调用vs2015来编译vs工程 一.背景: 在测试仿真模型的时候需要自动化批量测试.而模型的输入是一个加密的任务文件.这个文件是大佬用cpp写的,需要用vs编译. 二.目的: 因此我想要 ...

  9. WIN10+VS2015部署PanddleOCR

    一.环境 WIN10 VS2015 (1)下载panddleOCR项目和模型 下载地址:https://github.com/PaddlePaddle/PaddleOCR 我下载的是2.0版本的 该页 ...

  10. win10+vs2015+pcl1.8.1安装配置

    win10+vs2015+pcl1.8.1安装配置过程: 1.下载pcl1.8.1,网址:http://unanancyowen.com/en/pcl181 界面如下图, 选择下载下面两个即可. 2. ...

最新文章

  1. [转] 大规模服务设计部署经验谈
  2. Android--EditText控件属性汇总
  3. leetcode算法题--反转链表
  4. java buffer nio_Java NIO之Buffer(缓冲区)入门
  5. 3.1.4 操作系统之内存的分配与回收
  6. 千元显卡玩转百亿大模型,清华推出工具包BMInf让模型推理轻而易举
  7. TensorFlow学习笔记(二十二) tensorflow数据读取方法总结
  8. SM66 does not have debug button in Q system
  9. 仿真模拟,需要注意这几点!
  10. $Android连续按返回键两次实现退出程序
  11. python docx 字体大小_Python操作Word的入门教程
  12. 外贸电商ERP都有哪些值得用?
  13. JAVA获取word书签内容_Java 操作Word书签(一):添加、删除、读取书签
  14. Seata分布式事务原理
  15. Python turtle库之QQ呲牙表情的绘制
  16. 利用组策略部署软件——将软件发布给用户
  17. Tarjan算法专练
  18. proftpd mysql_使用MySQL认证ProFTPD用户
  19. VS2012安装DirectX SDK(DXSDK_Feb10)
  20. 零基础wordpress安装详细教程(收藏)

热门文章

  1. 用java计算定积分
  2. 实对称矩阵的特征值求法_对称矩阵、对角矩阵与三角矩阵
  3. G.8032协议 ERPS
  4. IDEA maven的安装与配置(超详细)
  5. 你最关心的马蜂窝事件舆论全景图在这里,用文本挖掘一挖到底
  6. nero 刻录一张4g的服务器系统盘大概需要多长时间,刻录系统盘(如何刻录系统盘) 狸窝用户有福了:nero刻录系统盘...
  7. UI自动化之PO模式
  8. 修改 mysql 的默认端口号_mysql的默认端口号修改方法
  9. 傲腾持久内存如何为数据赋能,加速应用落地?
  10. 【电路设计】AD17使用及PCB绘制总结