Info

この質問は閉じられています。 編集または回答するには再度開いてください。

mex fails when compiling 32 bit MATLAB on a 64 bit Linux machine.

1 回表示 (過去 30 日間)
Edward
Edward 2012 年 10 月 9 日
I'm running 32 bit MATLAB 7.7.0.471 (R2008b) on a 64 bit RHE 5.8 (Tikanga) machine. When I try to execute Hanchuan Peng's package includes "makeosmex.m" to create mex files, I get the error "mex: link of ' "*.mexa64"' failed." (Where * indicates the particular mex file being created.)
When I run "mexext", I get "mexglx", "computer('arch')" returns "glnx86".
The mex.m file shows that the command line option '-<arch>' should force mex to build an output file for architecture arch. However, after editing the mex call to 'mex('-glnx86', list(i).name)', I still get the same error message. What do I have to do to get mex configured to generate glnx86 files?

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by