C++ Compiler for x64 win7

  • Follow


Hi,

I am running on windows 7 x64  bits and matlab 7.1 R2010, when running mbuild - setup i am having the famous error below 

"Could not find the 64-bit compiler.  This may indicate that the  
         "X64 Compilers and Tools" or the Microsoft Windows Software  
         Development Kit (SDK) is not installed.  To build 64-bit binaries,  
         Microsoft Visual C++ 2008 Express Edition requires that these two  
         packages be properly installed."

i have installed microsoft visual c++ 2008 express edition with SP1 and windows SDK for windows 7 as well i do have microsoft visual studio ultimate 2010 still no luck no make it work.

through all the setups and control panel options i cannot find the "X64 compilers and tools" 

could you please help me out installing the compiler for my matlab ?

thanks,
M
0
Reply Moh 6/23/2010 6:30:22 PM

"Moh Elbaba" <mohamed.elbaba@hotmail.com> wrote in message <hvtjru$k39$1@fred.mathworks.com>...
> Hi,
> 
> I am running on windows 7 x64  bits and matlab 7.1 R2010, when running mbuild - setup i am having the famous error below 
> 
> "Could not find the 64-bit compiler.  This may indicate that the  
>          "X64 Compilers and Tools" or the Microsoft Windows Software  
>          Development Kit (SDK) is not installed.  To build 64-bit binaries,  
>          Microsoft Visual C++ 2008 Express Edition requires that these two  
>          packages be properly installed."
> 
> i have installed microsoft visual c++ 2008 express edition with SP1 and windows SDK for windows 7 as well i do have microsoft visual studio ultimate 2010 still no luck no make it work.
> 
> through all the setups and control panel options i cannot find the "X64 compilers and tools" 
> 
> could you please help me out installing the compiler for my matlab ?
> 
> thanks,
> M

you may need the pro edition of Microsoft Visual C++ 2008, regardless when you install you need to manually select to install the x64 compilers 
0
Reply omegayen 6/23/2010 7:25:21 PM


but there is no option to select the x64 compilers during the installation!
0
Reply Moh 6/23/2010 7:53:20 PM

Quick web search turns up:

"Visual C++ 2008 Express does not include MFC, ATL, OpenMP support, 
or 64-bit compilers, nor does it include a resource editor. The 
higher-end commercial editions of Visual Studio, specifically the 
Professional and Team Suite editions have these features."

That would explain why you aren't seeing 64-bit compile option.

Stan
0
Reply Stan 6/23/2010 8:09:55 PM

Stan Bischof <stan@newserve.worldbadminton.com> wrote:
> Quick web search turns up:
> 
> "Visual C++ 2008 Express does not include MFC, ATL, OpenMP support, 
> or 64-bit compilers, nor does it include a resource editor. The 
> higher-end commercial editions of Visual Studio, specifically the 
> Professional and Team Suite editions have these features."
> 
> That would explain why you aren't seeing 64-bit compile option.

just fired up the VS "ultimate" installer and several screens
in there's options for Itanium and x64 compilers, so since
you have "Ultimate" install it but make sure you choose the
 x64 option.

Stan
0
Reply Stan 6/23/2010 8:21:33 PM

Moh,

You are right to be confused.  The software and documentation are not clear 
about the requirements.

You need the SDK v6.0 downloaded from here:
http://www.microsoft.com/downloads/details.aspx?FamilyId=F26B1AA4-741A-433A-9BE5-FA919850BDBF&displaylang=en

The online documentation is not very explicit about this:
http://www.mathworks.com/support/compilers/R2010a/win64.html#n2

There is a mention of the version about half way down in this Technical 
Support Solution:
http://www.mathworks.com/support/solutions/en/data/1-6IJJ3L/index.html?solution=1-6IJJ3L

In future versions of the Supported Compilers Page we are more explicit 
about which version of the SDK is required.

Sorry for the confusion.  I hope this helps.

Gadi 


0
Reply gadi.reinhorn (13) 6/24/2010 3:17:33 PM

5 Replies
681 Views

(page loaded in 0.132 seconds)

Similiar Articles:













7/22/2012 12:05:53 PM


Reply: