MDP_Tracking icon indicating copy to clipboard operation
MDP_Tracking copied to clipboard

Invalid MEX-file lk.mexa64 Missing symbol

Open konnerthg opened this issue 7 years ago • 5 comments

I have run compile successfully without any warnings about the gcc version. When running MOT_test i receive the following error:

.Invalid MEX-file '/<path>/MDP_Tracking/lk.mexa64':
Missing symbol
'_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12find_last_ofEPKcmm'
required by
'/usr/lib/x86_64-linux-gnu/libopencv_core.so.2.4->/<path>/MDP_Tracking/lk.mexa64'

Has anyone had this problem? Thank you.

konnerthg avatar Jan 06 '18 17:01 konnerthg

Hi, I have the same issue, have you fixed?

MoonBlvd avatar Mar 27 '18 00:03 MoonBlvd

I switched to a Mac, where this issue did not occur (first was Ubuntu).

konnerthg avatar Mar 29 '18 07:03 konnerthg

@konnerthg Thank you for your reply , I figured out the issue by adding libopencv_core.so.2.4 to $LD_PRELOAD.

MoonBlvd avatar Mar 29 '18 13:03 MoonBlvd

In the command line, type "LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6:/usr/lib/x86_64-linux-gnu/libopencv_core.so.2.4", then run Matlab, problem solved. Hope it is useful.

CodingGALAXY avatar Apr 03 '18 08:04 CodingGALAXY

I have the same problem, but LD_PRELOAD is not work for me, anyone fixed it by other way?

shammmmmless avatar Jul 24 '19 09:07 shammmmmless