Visual C++ issue. 'cl' is not recognised

2 次查看(过去 30 天)
jaclyn
jaclyn 2014-8-22
Dear all,
I'd appreciate some help on this as going round in circles despite some useful forum posts on here.
I'm using Matlab 7.9.0 (R2009b) 64 bit on windows 7. and I'm trying to get this to talk to my Arrington eye tracker (64bit installation)which has a VPX_Interapp.dll file. I'm getting the error...
??? Error using ==> loadlibrary at 367
Failed to preprocess the input file.
Output from preprocessor is:The system cannot find the path specified.
'cl' is not recognized as an internal or external command,
operable program or batch file.
I have Microsoft Visual C++ 2008 Express Edition, Microsoft visual Studio 2008 and SDK v6.1 installed. I've tried to see what my env variables are with the following:
>> !set vs
VS90COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools
VSEDEFLOGDIR=C:\ProgramData\McAfee\DesktopProtection
>> !"%VS90COMNTOOLS%..\..\VC\vcvarsall.bat"
The system cannot find the path specified.
There is no \VC folder only a VDT and the only .bat in tools is 'vsvars32.bat'.
when I run mex - setup all seems to be working so not sure what the issue is. I would be very greatful if someone can share their experiences.
Thank you.
  1 个评论
Geoff Hayes
Geoff Hayes 2014-8-22
Jaclyn - could you paste the line (or lines) of code that you are running (presumably in the Command Window) that generates this error? It might give a clue for someone reading this who has experienced similar behaviour.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by