Error when trying to install PottersWheel
Show older comments
I am attempting to install PottersWheel for Matlab and I keep running into the following error:
Problem detected at 2015-03-27 12:18:54: Error using mex Cannot compile both C and FORTRAN source files in a single call to MEX.
Line 347 of pwCompileFortranIntegrators.p Line 70 of pwInstall.p Matlab 2015a (mexw64) PottersWheel 3.1.2 -------------------------------------------
I have installed C++ and am using 'Microsoft Visual C++ 2013 Professional (C)' via the 'mex -setup command'. Does anybody know the problem?
Answers (1)
Image Analyst
on 27 Mar 2015
0 votes
Do you have the Compiler Toolbox installed? Type "ver" on the command line and see if it's listed.
7 Comments
Ciaran
on 27 Mar 2015
Image Analyst
on 27 Mar 2015
Well, that's the problem. Either get the compiled file from the toolbox supplier, or contact the Mathworks to see about buying the compiler toolbox.
Ciaran
on 27 Mar 2015
Image Analyst
on 27 Mar 2015
Well they might not have told you but if it's trying to run the mex command....what's your guess? Why do you think it says this :
"Error using mex Cannot compile ....'
if it's not trying to compile? Do you think maybe they have it printout a false error message that is not really occurring, like with fprintf() or something, just to deceive you and play a hoax on you? I don't think you should find it unlikely just because they didn't tell you. You can see yourself with your own eyes, from your error message, that compilation is trying to occur . Go back and ask the toolbox authors.
Ciaran
on 29 Mar 2015
Ciaran
on 29 Mar 2015
Image Analyst
on 29 Mar 2015
That's not unusual, for some reason, though I agree with you that it should be unusual. I've seen File Exchange submissions that expect you to compile a mex file - kind of mean I think. I suggest you contact the toolbox authors.
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!