crnn icon indicating copy to clipboard operation
crnn copied to clipboard

Compilation error when execute sh build_cpp.sh

Open abdelDebug opened this issue 7 years ago • 8 comments

Dear @bgshih, I get compilation errors when building the cpp part.

screenshot from 2017-03-22 16-25-24 screenshot from 2017-03-22 16-25-43

could you help me please in order to solve these errors

abdelDebug avatar Mar 22 '17 15:03 abdelDebug

@abdelDebug Same for me, did you figure it out ?

solivr avatar Apr 24 '17 10:04 solivr

had the same problem. The reason for this was the wrong version of thpp as far as I remember. Just be sure to use the correct versions for all libs, then everything works fine (tested on Ubuntu 14.04).

githubharald avatar May 27 '17 16:05 githubharald

@githubharald I am installing CRNN on 16.04. In your comment, you said that using the correct versions for all libs is the key. I wonder that how to choose the right versions?

LamForest avatar Mar 17 '18 12:03 LamForest

we had our GPU running with 14.04, therefore we had to checkout the non-head versions, see install_all.sh:

...
else
    git clone -b v0.35.0  --depth 1 https://github.com/facebook/folly
    git clone -b v0.24.0  --depth 1 https://github.com/facebook/fbthrift
    git clone -b v1.0 https://github.com/facebook/thpp
    git clone -b v1.0 https://github.com/facebook/fblualib
fi
...

However, your are using 16.04, so I can't help you with this one.

githubharald avatar Mar 18 '18 10:03 githubharald

@githubharald Thanks. have tried the install_all.sh and encountered plenty of errors. I am going to try the pytorch version.

LamForest avatar Mar 20 '18 04:03 LamForest

Just a remainder. Use 14.04 instead of 16.04.

LamForest avatar Mar 20 '18 04:03 LamForest

亲爱的@bgshih,我在构建cpp部件时遇到了编译错误。

截图2017-03-22 16-25-24 截图2017-03-22 16-25-43

你能帮我解决这些错误吗?

题主,请问这个问题你解决了嘛,我也遇到同样的问题了,希望得到你的帮助

yuxiaomu avatar Jun 18 '19 09:06 yuxiaomu

@githubharald我正在16.04安装CRNN。在您的评论中,您说使用所有库的正确版本是关键。我想知道如何选择合适的版本?

请问这个问题你最后是怎么改的啊,我这查了好几天了也不行,可否帮助一下,十分感谢

yuxiaomu avatar Jun 18 '19 11:06 yuxiaomu