Error when trying to install PottersWheel
显示 更早的评论
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?
回答(1 个)
Image Analyst
2015-3-27
0 个投票
Do you have the Compiler Toolbox installed? Type "ver" on the command line and see if it's listed.
7 个评论
Ciaran
2015-3-27
Image Analyst
2015-3-27
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
2015-3-27
Image Analyst
2015-3-27
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
2015-3-29
Ciaran
2015-3-29
Image Analyst
2015-3-29
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!