Could not find the compiler "cl" on the DOS path. #2

  • Follow


Hi 

I am trying to compile some c++ code into a MEX in MATLAB 2010a under Windows 7 64 bit. I get the following error: 

--- 
Error: Could not find the compiler "cl" on the DOS path. 
Use mex -setup to configure your environment properly. 


C:\PROGRA~1\MATLAB\R2010A\BIN\MEX.PL: Error: Unable to locate compiler. 
--- 

When use mex -setup the only compiler listed is "Microsoft Visual C++ 2008 Express in C:\Program Files (x86)\Microsoft Visual Studio 9.0". 

I have done some searching and found suggestions this might be due to the path of the VCINSTALLDIR not being specified properly in the mexopts .bat files. I set the environment variable VCINSTALLDIR to "C:\Program Files (x86)\Microsoft Visual Studio 9.0". 

i have installed "" Windows SDK components."  also still i am facing the same !!

I still get the same error. Can any one help me? 

Many thanks 
RAmana 
0
Reply RAMANA 2/1/2011 6:51:03 PM


0 Replies
679 Views

(page loaded in 0.027 seconds)

Similiar Articles:













7/24/2012 4:59:13 AM


Reply: