Prev: loadlibrary Windows 64 bit using Visual C++ 2008 Express
Next: Online Parameter Estimation with Extended Kalman Filter
From: Christopher on 5 May 2010 10:31 "Arnaud Miege" <arnaud.miege(a)nospam.mathworks.co.uk> wrote in message <hednn0$qtb$1(a)fred.mathworks.com>... > > "David Izhaky" <david(a)opt-imaging.com> wrote in message > news:hede92$6os$1(a)fred.mathworks.com... > >> I installed Visual Studio 2008 Express and Visual Studio 2008 Full > >> including the Win 7 SDK and the amd64 folder does not exist. It looks > >> like Mathworks engineers did not test R2009b on Win7 for all options. > > > > So, I am not the only one that experiences this problem. It will be nice > > if a Mathworks engineer will fix those issues. > > > > There is no issue to fix, you need to install the correct components for > Visual Studio to work. > > Arnaud > Hi Arnaud, I have a Win7 x64 machine running R2009b and I have the same problem. On the supported compilers page, we are greeted with this footnote: "To use Microsoft Visual Studio with MATLAB on a 64-bit platform, you must select "X64 Compilers and Tools" when installing Microsoft Visual Studio. This is not selected by default. Microsoft Visual Studio 2008 Express and Professional Editions also require that the Microsoft Windows Software Development Kit (SDK) is installed properly. For more information, see Solution 1-6IJJ3L." Now, this is misleading, since there is no option to select "x64 Compilers and Tools" when installing *VS*, at least from my experience - only options to install Silverlight and something for SQL. At first, I had just installed VS and then tried using >> mex -setup again to receive the same error (that MATLAB cannot find the x64 compiler). Then, I read the solution page (1-6IJJ3L) http://www.mathworks.com/support/solutions/en/data/1-6IJJ3L/index.html?solution=1-6IJJ3L So, I installed the MS SDK today. During the installation of the SDK, I was able to select Visual C++ Compilers, which included the x64 compliers (so, the option to install x64 compilers comes with the installation of the SDK, not VS!). During this process I installed the options: Developer Tools > Visual C++ Compilers and Developer Tools > Windows Headers and Libraries Unfortunately, after doing this, I still can't get MATLAB to find the x64 compilers. Also, the SDK appears to have installed correctly, as the following file appears as wanted (see the solution page). C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64\cl.exe So, I'm not sure what to do at this point. Chris |