compiling problem for S-Function builder (64 bit system)

12 views (last 30 days)
Hello,
I have installed the compiler "Microsoft Software Development Kit 7.1" and executed mex -setup in matlab. But then I get this following problem at compiling a S-Function Builder:
c1: Command line error D8027: cannot execute 'C:\ Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\c1.dll'
Can someone solve this problem? Thanks in advanced.
Lan
  2 Comments
Kaustubha Govind
Kaustubha Govind on 27 Feb 2012
Do C:\ Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\c1.dll and C:\ Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\cl.exe exist on your machine?
Kaustubha Govind
Kaustubha Govind on 27 Feb 2012
Also, when you executed mex -setup, did it pick up the compiler location automatically, or did you manually specify it?
If you had to do it manually, it is likely that you do have a supported compiler installed. You need to make sure that MSVC 10.0 is supported with your MATLAB version. See the last column here against your version: http://www.mathworks.com/support/sysreq/previous_releases.html

Sign in to comment.

Answers (0)

Categories

Find more on Introduction to Installation and Licensing 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!