这是事情:我正在尝试使用Dipimage工具。
最后:这是由低级别生成的错误消息 初始化功能:
无效的MEX文件'/home/myname/dip/common/mlv7_6/diplib/private/dip__initialise.mexa64': 缺少'/home/myname/dip/common/mlv7_6/diplib/private/dip__initialise.mexa64'所需的符号' mexCallMATLAB ' 缺少'/home/myname/dip/common/mlv7_6/diplib/private/dip__initialise.mexa64'所需的符号' mexErrMsgTxt ' 缺少'/home/myname/dip/common/mlv7_6/diplib/private/dip__initialise.mexa64'所需的符号' mexIsLocked ' 缺少'/home/myname/dip/common/mlv7_6/diplib/private/dip__initialise.mexa64'所需的符号'mexLock' 缺少'/home/myname/dip/common/mlv7_6/diplib/private/dip__initialise.mexa64'所需的符号'mexUnlock' 缺少'/home/myname/dip/common/mlv7_6/diplib/private/dip__initialise.mexa64'所需的符号'mxGetScalar' 缺少'/home/myname/dip/common/mlv7_6/diplib/private/dip__initialise.mexa64'所需的符号'mxGetString' 缺少'/home/myname/dip/Linuxa64/lib/libdml_mlv7_6.so->/home/myname/dip/common/mlv7_6/diplib/private/dip__initialise.mexa64'所需的符号'mexCallMATLAB' .........
操作系统:Ubuntu 12.04.5 LTS MATLAB:/ usr / local / MATLAB / R2017a / bin / matlab
3.1基本安装步骤:
export LD_LIBRARY_PATH = / home / myname / dip / Linuxa64 / lib:$ LD_LIBRARY_PATH: (然后在matlab中) 让addpath( '/家庭/ MYNAME /软件/ DIP /普通/ dipimage') dip_initialise (在此之后我得到了错误)
3.2我怀疑LD_LIBARAY_PATH所以
export LD_LIBRARY_PATH = / usr / local / MATLAB / R2017a / bin / glnxa64:/ usr / local / MATLAB / R2017a / sys / os / glnxa64:$ LD_LIBRARY_PATH:
3.3我尝试了LD_PRELOAD
LD_PRELOAD = / usr / local / MATLAB / R2017a / bin / glnxa64 / libmex.so:/ usr / lib / x86_64-linux-gnu / libstdc ++。so.6 \
我认为最奇怪的部分是我想念的符号来自MATLAB? 现在我完全糊涂了。所以我在这里。请帮忙~~~