-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined symbol: _ZN2cv6formatB5cxx11EPKcz #9
Comments
您好!当前的repo确实对依赖库的版本要求有点高,严格用我们推荐的python、GCC和boost版本即可解决。为了cmake的时候找对路径,建议用 |
@Xiao-Ann
使用GCC and MSVC C++ Demangler解析后发现是OpenCV的问题,OpenCV2.x在CUDA9.0或者高点的CUDA上容易出问题,所以首先检查下OpenCV 2.x的编译,检查完后重新make该工程可能最后还会遇到如下问题:
可以参考链接CentOS7下OpenCV2+CUDA9的编译问题解决最末尾的方法解决,希望对你有所帮助! |
我用python重写了这个代码,速度在14ms,有兴趣的可以支持下,https://github.com/RubanSeven/Text-Image-Augmentation-python |
您好,我也遇到了相同的问题,_ZN2cv6formatB5cxx11EPKcz,所有的环境都是一样的,但是也不知道为什么,我c++filt命令看了一下,是cv::format()函数没有找到,可是我并没有grep到这个函数,版本是python 2.7.15 boost 1.67 opencv 2.4.11 gcc 4.8.5 ,有什么问题吗?或者您是怎么解决的呢? |
是不是需要和cuda8搭配使用呢? |
@RubanSeven |
@WDONG66 |
@Xiao-Ann 你好请问你解决了嘛,我也遇到类似的问题了 undefined symbol: _ZN2cv9rectangleERKNS |
作者您好!
我已经生成了Augment.so文件,在运行脚本时出现了这个错误,不知道作者知道可能是什么引起的吗?感谢!
ImportError: /home/sun/sunny/projects/Decoupled-attention-network/Scene-Text-Image-Transformer/Augment.so: undefined symbol: _ZN2cv6formatB5cxx11EPKcz
The text was updated successfully, but these errors were encountered: