Skip to content

matlab can not run with mex file #6

@PengtingChen

Description

@PengtingChen

I have had four mex files, which are run_OD_INT, run_DE_INT, run_DE_RGB and run_OF_RGB from the makefile provided. It seems that I can run the m file on matlab of linux without additional operation.

`MEX-file '/home/wxhwrdmn/Documents/zsameem-OF_DIS-9c06995/run_OF_INT.mexa64' 无效:
缺少 '/usr/lib/x86_64-linux-gnu/libopencv_shape.so.3.2->/home/wxhwrdmn/Documents/zsameem-OF_DIS-9c06995/run_OF_INT.mexa64' 需要的符号 '_ZdlPvm'

缺少'/usr/lib/x86_64-linux-gnu/libopencv_video.so.3.2->/usr/lib/x86_64-linux gnu/libopencv_shape.so.3.2->/home/wxhwrdmn/Documents/zsameem-OF_DIS 9c06995/run_OF_INT.mexa64'需要的符号 'ZdlPvm'

缺少'/usr/lib/x86_64-linux-gnu/libopencv_imgproc.so.3.2->/usr/lib/x86_64-linux gnu/libopencv_video.so.3.2->/usr/lib/x86_64-linux-gnu/libopencv_shape.so.3.2 >/home/wxhwrdmn/Documents/zsameem-OF_DIS-9c06995/run_OF_INT.mexa64'需要的符号 'ZdaPvm'...`

There are a lot of errors, indicating that

`MEX-file '/home/wxhwrdmn/Documents/zsameem-OF_DIS-9c06995/run_OF_INT.mexa64' is valid:
lack the symbol 'ZdlPvm', which is needed by '/usr/lib/x86_64-linux-gnu/libopencv_shape.so.3.2->/home/wxhwrdmn/Documents/zsameem-OF_DIS-9c06995/run_OF_INT.mexa64'

lack the symbol ''ZdlPvm'', which is needed by '/usr/lib/x86_64-linux-gnu/libopencv_video.so.3.2->/usr/lib/x86_64-linux-gnu/libopencv_shape.so.3.2->/home/wxhwrdmn/Documents/zsameem-OF_DIS-9c06995/run_OF_INT.mexa64'

lack the symbol 'ZdaPvm', which is needed by '/usr/lib/x86_64-linux-gnu/libopencv_imgproc.so.3.2->/usr/lib/x86_64-linux-gnu/libopencv_video.so.3.2->/usr/lib/x86_64-linux-gnu/libopencv_shape.so.3.2->/home/wxhwrdmn/Documents/zsameem-OF_DIS-9c06995/run_OF_INT.mexa64'`

From this line, various symbols are needed.
So do you have some other operation to avoid that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions