MhLiao / TextBoxes_plusplus

TextBoxes++: A Single-Shot Oriented Scene Text Detector
Other
953 stars 279 forks source link

Undefined symbol when running demo.py #48

Open xsvonjhs opened 6 years ago

xsvonjhs commented 6 years ago

I'm facing this issue when trying to run python examples/text/demo.py. I've run build_cpp.sh without error......someone please help!

recognition begin /home/localuser/torch/install/bin/luajit: /home/localuser/torch/install/share/lua/5.1/trepl/init.lua:389: error loading module 'crnn/src/libcrnn' from file './crnn/src/libcrnn.so': ./crnn/src/libcrnn.so: undefined symbol: _ZN6google10LogMessage6streamEv stack traceback: [C]: in function 'error' /home/localuser/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require' crnn/src/demo.lua:9: in main chunk [C]: in function 'dofile' ...user/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: at 0x00405d50 Traceback (most recent call last): File "examples/text/demo.py", line 202, in '-dicPath', config['lexicon_path']]) File "/usr/lib/python2.7/subprocess.py", line 541, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['th', 'crnn/src/demo.lua', '-imgDir', './demo_images/', '-imgName', 'demo.jpg', '-cropDir', './demo_images/crops/', '-resultDir', './demo_images/recognition_result/', '-dicPath', './crnn/data/icdar_generic_lexicon.txt']' returned non-zero exit status 1

rashmendis commented 6 years ago

@xsvonjhs Did you install libgoogle-glog-dev ?

xsvonjhs commented 6 years ago

@rashmendis yes I think I did

luoqingyu commented 6 years ago

I have the same question in Ubuntu 16.04,please let me know if you have solve it,thank you 。

ilovin commented 6 years ago

same error

maichm commented 6 years ago

+1

EM3X commented 6 years ago

https://github.com/bgshih/crnn/issues/110 Edit CMakeLists.txt as shown here, works on 16.04