Error using mex for compiling unravel.c
Show older comments
Hi all, I am trying to run mex compiler for unravel.c. However, it always show the error:Error using mex (line 206)Unable to complete successfully.
Although I have try some solution such as download update for Microsoft Visual Studio 2010, the problem keep happening.
Can anyone please help me?
Thank you
PS: I am running MATLAB R2012a and using Microsoft Visual Studio 2010 Express Edition on a 64bit laptop (windows 7).
9 Comments
Walter Roberson
on 22 Dec 2012
Please show us the complete output of the mex command.
Vinh Nguyen
on 23 Dec 2012
Edited: Image Analyst
on 24 Dec 2012
Walter Roberson
on 23 Dec 2012
Odd. What does
mex -setup
show ?
Vinh Nguyen
on 24 Dec 2012
Walter Roberson
on 24 Dec 2012
You got that for
mex -setup
and it did not ask you which compiler to use?
Image Analyst
on 24 Dec 2012
That's strange - on my computer, it says this:
>> mex -setup
Welcome to mex -setup. This utility will help you set up
a default compiler. For a list of supported compilers, see
http://www.mathworks.com/support/compilers/R2012b/win64.html
Please choose your compiler for building MEX-files:
Would you like mex to locate installed compilers [y]/n? y
Are you sure it didn't just fail to compile because you have a syntax error?
Vinh Nguyen
on 24 Dec 2012
Walter Roberson
on 24 Dec 2012
What directory are you in at the time you try to do the compile?
Vinh Nguyen
on 24 Dec 2012
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB Compiler 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!