MATLAB Answers


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

Asked by jaclyn
on 22 Aug 2014
Latest activity Commented on by 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 
>> !"%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
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.


No products are associated with this question.

0 Answers

Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!