I have written the batch file below, in order to automate the process of launching Visual Studio 2008, and then building and compiling the solution file, so that instead of manually starting up VS2008 and then pressing F5, I can just run my solution file:
START CMD.EXE
cd C:\Program Files\MobileRobots\Aria\examples
mbuild myProg.sln
But it complains:
Select a compiler:
[1] Lcc C version 2.4.1 in C:\PROGRAM FILES\MATLAB\R2006A\sys\lcc
[0] None
What does this have anything to do with Matlab?!
It suggested I run:
mbuild -setup
But I didn't, as I didn't know what it had to do with Matlab. What is going on? How can I declare my VS2008 compiler? Why is it not detected automatically?
Thanks