From: Jaeyeon K on
Hi,
I'm struggling to install 64bit compiler to my laptop (Windows 7 64bit).
My MATLAB is 64bit, and I tried to follow the direction from mathwork. So, I installed VC++ 2008 express and SDK version 7.1. Then, I tried to run mex -setup. It only can show visual studio 2008 express in 32bit direction (Program Files (x86) directory). Since that was the only option available, I selected and finally, MATLAB tossed error saying that it can't find valid 64bit compiler.
Is there any special set-up or options I need to include?
Thanks,

Jae
From: Walter Roberson on
Jaeyeon K wrote:

> I'm struggling to install 64bit compiler to my laptop (Windows 7 64bit).
> My MATLAB is 64bit, and I tried to follow the direction from mathwork.
> So, I installed VC++ 2008 express and SDK version 7.1. Then, I tried to
> run mex -setup. It only can show visual studio 2008 express in 32bit
> direction (Program Files (x86) directory). Since that was the only
> option available, I selected and finally, MATLAB tossed error saying
> that it can't find valid 64bit compiler.
> Is there any special set-up or options I need to include?

Some people have indicated that after you install VS you need to go into
the SDK installer and it will now have the option to install the 64 bit
compilers.

I have not worked with this myself and I do not have a Windows system
available, so I am going by memory of previous discussions.
From: Ryan Osborn on
"Jaeyeon K" <jkim(a)merrimackpharma.com> wrote in message <htecjt$lke$1(a)fred.mathworks.com>...
> Hi,
> I'm struggling to install 64bit compiler to my laptop (Windows 7 64bit).
> My MATLAB is 64bit, and I tried to follow the direction from mathwork. So, I installed VC++ 2008 express and SDK version 7.1. Then, I tried to run mex -setup. It only can show visual studio 2008 express in 32bit direction (Program Files (x86) directory). Since that was the only option available, I selected and finally, MATLAB tossed error saying that it can't find valid 64bit compiler.
> Is there any special set-up or options I need to include?
> Thanks,
>
> Jae

I did this only a couple of hours ago. I installed Visual C++ 2008 Express Edition as the help file said, but rather than installing the Windows Server 2008 version of the SDK I installed the Windows 7 version and it worked fine for me. You can find the Win7 SDK from here: http://www.microsoft.com/downloads/en/confirmation.aspx?familyId=c17ba869-9671-4330-a63e-1fd44e0e2505&displayLang=en

Hope this helps,

Ryan
From: Jaeyeon K on
Thanks Ryan,
It works. Initially, I tried to install SDK with .Net 4.0. Now, with the SKD you mentioned, it is working good!
Thanks again,

Jae
From: omegayen on
"Jaeyeon K" <jkim(a)merrimackpharma.com> wrote in message <htecm9$q86$1(a)fred.mathworks.com>...
> Hi,
> I'm struggling to install 64bit compiler to my laptop (Windows 7 64bit).
> My MATLAB is 64bit, and I tried to follow the direction from mathwork. So, I installed VC++ 2008 express and SDK version 7.1. Then, I tried to run mex -setup. It only can show visual studio 2008 express in 32bit direction (Program Files (x86) directory). Since that was the only option available, I selected and finally, MATLAB tossed error saying that it can't find valid 64bit compiler.
> Is there any special set-up or options I need to include?
> Thanks,
>
> Jae

this might help you http://www.mathworks.com/support/solutions/en/data/1-6IJJ3L/index.html?solution=1-6IJJ3L ?

getting x64 support to work with visual studio 2008 is tricky as the x64 compilers are not installed by default..