Skip to content
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

compile error at Makefile command line 编译错误 #106

Open
JiaxiangBU opened this issue Jul 17, 2020 · 3 comments
Open

compile error at Makefile command line 编译错误 #106

JiaxiangBU opened this issue Jul 17, 2020 · 3 comments

Comments

@JiaxiangBU
Copy link

find src -name "*.pb.[ch]*" -delete

Here is the reproducible code script.

$ sh build.sh
rm -rf glog-0.3.4.tar.gz glog-0.3.4
wget --no-check-certificate http://raw.githubusercontent.com/ZeyuChen/third_party/master/package//glog-0.3.4.tar.gz  && tar -zxf glog-0.3.4.tar.gz
rm -rf inference_demo
rm -rf doc_distance_demo
rm -rf query_doc_sim_demo
rm -rf word_distance_demo
rm -rf topic_word_demo
rm -rf show_topic_demo
rm -rf document_keywords_demo
rm -rf build
rm -rf python/cpp/*.o
rm -rf python/demo/*.so
rm -rf python/demo/*.pyc
find src -name "*.pb.[ch]*" -delete

在这里我直接 clone ZeyuChen/third_party 到当前路径可以么?安装的话需要执行那一段指令?

Makefile 没有看太明白。

Familia/Makefile

Lines 75 to 76 in 88211eb

deps: ${GLOGS} ${GFLAGS} ${PROTOBUF}
@echo "dependency installed!"

@DesmonDay
Copy link
Collaborator

安装的话,只要执行sh build.sh命令就可以了,该命令包含了安装第三方依赖的过程,会自动获取并安装。

另外,如果觉得C++版本编译比较难的话,可以试用PaddleHub 1.8版本上线的LDA模型,使用起来很方便。具体可见:https://www.paddlepaddle.org.cn/hublist?filter=en_category&value=SemanticModel

@gaowenxin95
Copy link

gaowenxin95 commented Aug 6, 2020

安装的话,只要执行sh build.sh命令就可以了,该命令包含了安装第三方依赖的过程,会自动获取并安装。

另外,如果觉得C++版本编译比较难的话,可以试用PaddleHub 1.8版本上线的LDA模型,使用起来很方便。具体可见:https://www.paddlepaddle.org.cn/hublist?filter=en_category&value=SemanticModel

想问下是不是直接clone下来,打开到Familia路径下执行你说的?

sh build.sh

@DesmonDay

@DesmonDay
Copy link
Collaborator

DesmonDay commented Aug 6, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants