c++ - Mexopencv mex file not found -
i have called mex file compiled using mexopencv matlab. program runs in matlab , gives no problem when convert matlab c++ shared library using matlab deploytool , compile exe application while running exe error mexfile not found or not valid filepath or directory. reason behind this??should add additional libraries or path in makefile or should change system path?? using linux , matlab r2012a,mexopencv.
note mex file can called matlab , gives output can't called exe. trying run facedetection module in mexopencv samples.it requires xml file input. why isn't able detect mex file , xml file?
the deploytool should bring in mex files, have guess dependencies of mexopencv files not being included in generated library or accessible via ld_library_path
or ld_preload
. these opencv libraries (e.g. libopencv_core.so.2.4, libopencv_imgproc.so.2.4, etc.).
check additional dependencies of mexopencv mex files ldd
(for windows folks, use dependency walker). edit: add them!
Comments
Post a Comment