vrabaud / gPb

gPb implementation for OpenCV
102 stars 36 forks source link

Error while running example with Octave in Ubuntu #7

Open WeiyiLi opened 7 years ago

WeiyiLi commented 7 years ago

After I run example in Octave, it shows the following output and terminated with an error,

warning: your version of GraphicsMagick limits images to 8 bits per pixel
warning: called from
    __imread__ at line 86 column 10
    imageIO at line 117 column 26
    imread at line 106 column 30
    globalPb at line 27 column 4
    example at line 11 column 12
error: det_mPb: /home/gPb-master/grouping/lib/mex_pb_parts_final_selected.mex: failed to load: libopencv_gpb.so: cannot open shared object file: No such file or directory
error: called from
    det_mPb at line 8 column 2
    multiscalePb at line 24 column 64
    globalPb at line 39 column 76
    example at line 11 column 12

Can anyone help me?

mnchapel commented 7 years ago

You have to do export LD_LIBRARY_PATH=$(pwd)/lib:/usr/lib before running Octave

astropic commented 4 years ago

Hello!

Apparently I've compiled everything ok, but when run 'example', I get:

error: det_mPb: /home/cscfloan/Desktop/gpb/gPb-master/grouping/lib/mex_pb_parts_final_selected.mex: failed to load: /home/cscfloan/Desktop/gpb/gPb-master/grouping/lib/libopencv_gpb.so: undefined symbol: _ZN2cv8fastFreeEPv error: called from det_mPb at line 8 column 2 multiscalePb at line 24 column 64 globalPb at line 39 column 76 example at line 11 column 12

Could someone help please?

astropic commented 4 years ago

Ubuntu 16 :)