hszhao / ICNet

ICNet for Real-Time Semantic Segmentation on High-Resolution Images, ECCV2018
https://hszhao.github.io/projects/icnet
605 stars 199 forks source link

Invalid MEX-file, undefined symbol, libQtTest #10

Closed chaotaklon closed 7 years ago

chaotaklon commented 7 years ago

If such error occur, try: $ ldd /ICNet/PSPNet/matlab/+caffe/private/caffe_.mexa64 and in matlab:

! ldd /ICNet/PSPNet/matlab/+caffe/private/caffe_.mexa64

You will find libQtOpenGL, libQtGui, libQtCore is point to /bin/glnxa64 but libQtTest is point to sth in /lib64/

However, all 4 lib should use the one in /lib64/

solution: delete libQtOpenGL, libQtGui, libQtCore in /bin/glnxa64 create symbolic link of these 3 and point to the one in /lib64/