C compiler for MATLAB in 64-bit windows
Show older comments
I have installed 64-bit MATLAB on my PC (Windows 7, 64-bit) and am trying to install a C compiler. I downloaded Windows SDK 7.1 and it reported as follows when I was trying to install:
Installation of the "Microsoft Windows SDK for Windows 7" product has reported the following error: Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information.
I tried all the solutions mentioned in the MSDN blog but none worked. Can anyone help? Or I think I have to turn to another compiler.
As lcc win32 has already been included in the 32-bit MATLAB, I wonder does the lcc win64 found on the website http://www.cs.virginia.edu/~lcc-win32/ also works fine with the 64-bit MATLAB?
Thanks guys.
Accepted Answer
More Answers (2)
Friedrich
on 8 Feb 2012
0 votes
Hi,
LCC64bit wont work (at least its not supported). Which compilers are supported can be found here:
Or for older Realeases:
So first of all: Does the ML version you are using support SDK 7.1? If yes, see this nice install guide from MathWorks:
Andreas Goser
on 8 Feb 2012
0 votes
The 64 Bit LCC is not supported for MATLAB on Win 64.
For your other issue, please provide the MATLAB Release information.
1 Comment
Jan
on 8 Feb 2012
The LCC compiler shipped with 32-bit versions is very old also. A modern version can be downloaded from the net, but the mexopts.bat file need some fine-tuning. E.g. RSP-files do not work.
Actually modern LCC versions are "not supported", but the old LCC2.4 has so many bugs (e.g. wrong results for 64 bit integers), that I do trust the unsupported version more than the supported one.
Nevertheless, the MSVC compilers are much more efficient and supported.
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!