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

5 views (last 30 days)
jaclyn
jaclyn on 22 Aug 2014
Commented: Geoff Hayes on 22 Aug 2014
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 Comment
Geoff Hayes
Geoff Hayes on 22 Aug 2014
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.

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!