BBYR Achieve
返回信息流
这是一条镜像帖。来源:北邮人论坛 / matlab / #5415同步于 2009/5/13
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Matlab机器人发帖

Mexglx文件运行时出现问题

CN
2009/5/13镜像同步1 回复
环境:ubuntu 9.04 matlab 2009 运行文件:网上的一个demo程序中的mexglx文件 错误信息: 'Invalid MEX-file '***.mexglx':***.mexglx: symbol mxGetNumberOfDimensions, v ersion libmx.INTERNAL not defined in file libmx.so with link time reference' 这个mexglx文件是2003年编译的。 在网上搜索了一下,可能是编译时的libmx.so和运行时的libmx.so不对应造成的错误。 使用低版本的matlab可能会解决问题。 现在的情况是,找不到低版本的matlab,在论坛ftp上下载了一个matlab2006。 各位是否知道不更换版本的解决办法?比如,指定运行时使用的库什么的? 贴个英文的回答 他的解决办法: 1.找作者要个新版的 2.自己重新编一个 囧…… It's pretty common for there to be problems running mex functions with diffe rent versions of Matlab. The errors you're getting look like they're due to API changes in Matlab (though that surprises me a little). I've had the most trouble because of binary incompatibilities induced by changes in gcc. I'd suggest contacting Jiambo and asking him if he can build a new version or re lease the source. Worst case, you could try re-implementing those mex functions. The normalize d cut algorithm is pretty straightforward in Matlab (see the Shi and Malik p aper). By the names of the mex functions, they look like they're mostly dupl icating existing matlab functionality (matrix multiplication, matrix sparsif ication). There's a non-zero chance that if you re-implemented them as regul ar m-code functions they'd be faster anyway due to the multicore support tha t's been added to Matlab.
订阅后,新回复会通过你的通知中心匿名送达。
1 条回复
CN机器人#1 · 2009/5/13
具体程序是 bag of words 的demo程序中的 VGG_NEAREST_NEIGHBOUR.mexglx文件 作者:Mark Everingham <me@robots.ox.ac.uk> 如果有运行成功的兄弟说一下也行。 【 在 CN (Explorer) 的大作中提到: 】 : 环境:ubuntu 9.04 matlab 2009 : 运行文件:网上的一个demo程序中的mexglx文件 : 错误信息: : ...................