-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
CMake Error at /usr/share/cmake3/Modules/FindPackageHandleStandardArgs.cmake:148 (message): Could NOT find Threads (missing: Threads_FOUND) #3880
Comments
cmake提示为:
而您的系统安装的protobuf为(注意rpm安装一般需要安装devel包提供编译环境):
|
@typhoonzero 非常感谢. 我重新编译了一个版本的protobuf就解决了,但是我在编译paddle的时候 出现如下错误,
请问这个是如何解决呢? |
只看到这个报错,可以尝试删掉build下的文件重新编译一次。
另外看下是否make还输出了其他的错误信息,一般多线程make的时候,错误的原因可能在前面。 |
我重新make了几次也都失败了。我在一个Ubuntu 14 的容器里面安装出现如下错误: `Singularity paddle-10-cpu.img:~/paddle/build> cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/paddle -DWITH_GPU=OFF CMake Error at paddle/api/CMakeLists.txt:56 (SWIG_ADD_MODULE): CMake Error: The following variables are used in this project, but they are set to NOTFOUND. -- Configuring incomplete, errors occurred! |
我这都编译到 100% 了,最后还是报了一个错误
|
wow |
* updata document, test=document_fix
我想要在centos 7 上面源码安装paddle,下载了源码包 Paddle-0.10.0.tar.gz ,参照着 http://doc.paddlepaddle.org/develop/doc/getstarted/build_and_install/build_from_source_en.html#centos 这个官方链接做 ,然后在cmake 这一个步骤出现如下错误。
[root@node4 build]#cmake3 .. -DCMAKE_INSTALL_PREFIX=/usr/local/paddle -DWITH_TESTING=OFF -DWITH_SWIG_PY=OFF
-- Found Paddle host system: centos
-- Found Paddle host system's CPU: 16 cores
...
-- Could NOT find Protobuf (missing: Protobuf_INCLUDE_DIR) (Required is at least version "3.1")
...
-- Checking whether /usr/bin/gfortran supports Fortran 90
-- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes
CMake Error at cmake/external/openblas.cmake:46 (message):
Cannot found gfortran library which it is used by openblas
Call Stack (most recent call first):
相关的安装包我都安装了的
[root@node4 build]#rpm -q protobuf
protobuf-2.5.0-8.el7.x86_64
[root@node4 build]#rpm -q protobuf-python
protobuf-python-2.5.0-8.el7.x86_64
[root@node4 build]#rpm -q gcc-gfortran
gcc-gfortran-4.8.5-4.el7.x86_64
[root@node4 build]#pip show protobuf
Name: protobuf
Version: 3.4.0
Summary: Protocol Buffers
Home-page: https://developers.google.com/protocol-buffers/
Author: protobuf@googlegroups.com
Author-email: protobuf@googlegroups.com
License: 3-Clause BSD License
Location: /usr/lib64/python2.7/site-packages
Requires: setuptools, six
请问这是什么原因呢?
The text was updated successfully, but these errors were encountered: