回 帖 发 新 帖 刷新版面

主题:vs2005版本的问题,里面的vc是vc8还是vc7?我的matlab调用vc的过程中出了找不到编译

我下载了一个matlab界面的surf程序,使用matlab调用了c 
的install.m提出要用msvc8编译链接库 
我电脑上安装了vs2005(正版);但是调用install后 
说无法编译,提示找不到编译器,请问这是为什么 
而且,我在系统目录windows的system32文件夹中,只看到了msvcp71.dll 

install如下 

%INSTALLATION INSTRUCTIONS 

%  OPTIONAL: Run this file to compile the C and C++ files. 
%            Due to the nature of surfWINDLL, you have to use MSVC++ 8.0, 
%            because otherwise std::vector is not binary compatible. 

%  1. Add the SURF directory to the search path with the command 
%  "pathtool". 

%  2. Run the examples in the "examples" folder to verfy that everything 
%  works. 

%  Petter Strandmark 2008 
%  petter.strandmark@gmail.com 


%% Compile 
disp('Compiling SURF interface....'); 
mex -DWIN32  surfpoints.cpp surfWINDLL.lib 
mex surfmatch.c 

回复列表 (共3个回复)

沙发

没有人知道么 ?请大家看一看啦

matlab中报错说-mex错误

板凳

当然是VC8啦!
VC7是2003!

3 楼

多谢了 
发现matlab上找不到编译器

我来回复

您尚未登录,请登录后再回复。点此登录或注册