64 bit compiler installation - very frustrating

1 view (last 30 days)
Jean
Jean on 26 Feb 2013
Answered: jianlin wang on 21 Oct 2016
Hello to all,
I have Matlab R2012b - 64bit and I need to install a x64 compiler in order to run applications which call 64bit DLL functions.
I have installed Microsoft Visual Studio 2008, Microsoft SDK 7.1, .NET 4, MS Visual C++ Redistributable x64 2005, 2008, 2010 and 2012, MS C++ Compilers 2010 Standars x64 and still when I run the mex -setup command Matlab does NOT "see" the x64 compilers, as shown below:
Select a compiler:
[1] Microsoft Software Development Kit (SDK) 7.1 in C:\Program Files (x86)\Microsoft Visual Studio 10.0
[2] Microsoft Visual C++ 2008 SP1 in C:\Program Files (x86)\Microsoft Visual Studio 9.0
Reading other posts did not do any good, I have the same problem over and over again. Looks like you have to have a PhD in computer science to figure this one out.
Can anybody give me a hint about how can I solve this problem?
Best regards,
Jean
  5 Comments
Justin
Justin on 24 Jul 2013
Hi Jean,
Where you ever able to resolve this issue? I am experiencing a similar hang-up now with compiling a DLL using 'LoadLibrary'. Same display when I initiate 'mex -setup' and my files will not compile and generate an enormous error output. Let me know.
Thanks, Justin
dpb
dpb on 24 Jul 2013
I've generally just made a make file that compiles/links to the proper ML libraries and uses the include file directories.
All setup really does is obfuscate that setting of INCLUDE and LIB directives behind an excessively complex script. :(

Sign in to comment.

Answers (1)

jianlin wang
jianlin wang on 21 Oct 2016
Hi Jean,
Where you ever able to resolve this issue? I am experiencing a similar hang-up now with compiling a DLL using 'LoadLibrary'. Same display when I initiate 'mex -setup' and my files will not compile and generate an enormous error output. Let me know.
Thanks, WangJianLin

Categories

Find more on Troubleshooting in MATLAB Compiler SDK in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!