-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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 shows the version wrong #467
Comments
Have not encountered such a problem. |
The version of gflags source code I got from github is 1.8.3.1 Then the error shows: But actually, when I check cmake version ("cmake -version"), the result is : |
I think the problem may be in your cmake environment.
If set the VERSION less than 3.2, no error reported. |
Make sense. It looks the problem is from my cmake. Thanks a lot ! |
* add_api_cn (PaddlePaddle#437) * add gpu benchmark page (PaddlePaddle#436) * add gpu benchmark * fix comments * add chinese link in gen_doc.py (PaddlePaddle#439) * modified gen_doc.py * Update gen_doc.py * update gen_doc.py * Update mobile doc (PaddlePaddle#440) * update_en_structure * update_Paddle_commitid * delete_DS * update_mobile_doc * Update book commit (PaddlePaddle#438) * update_en_structure * update_Paddle_commitid * delete_DS * update_book_commit_id * update_api_rst * Adjust structure of advanced usage (PaddlePaddle#442) * adjust_structure_of_advanced_usage * Update paddle_gpu_benchmark.md * adjust_toctree_hidden * fix_api_guide * Update index.rst * fix deadlinkes (PaddlePaddle#443) * add_toctree (PaddlePaddle#445) * adjust_beginners_structure (PaddlePaddle#446) * adjust_beginners_structure * Update index.rst * update install_doc for python3 (PaddlePaddle#418) * update install_doc for python3 * update python3.5+ info,test=develop * fix review, test=develop * fix_pic (PaddlePaddle#447) * delete en2zn link * update lod_tensor * 1207 1.english api reference links removed 2. formatted * update transpiler * update profilse_cn * Update docker-image instroduce, test=develop (PaddlePaddle#459) * fix_bug (PaddlePaddle#460) * [cp2dev]Add avx info 1.1 (PaddlePaddle#279) (PaddlePaddle#451) * Add avx info 1.1 (PaddlePaddle#279) * refine avx info representation * refine avx info representation * refine avx info representation * updatetoavx * fix_AVX * update_en_api (PaddlePaddle#461) * update api guides for cn (PaddlePaddle#462) * Update commit_id of Paddle (PaddlePaddle#463) * update_en_api * update_again * Fix bug (PaddlePaddle#465) * update_en_api * update_again * bug_fix * fix_2nd * add_release_note
* Add NeZha Language Model Add NeZha Language Model * Add NeZha model Add NeZha model Co-authored-by: yingyibiao <yyb0576@163.com>
I installed gflags from source code. And gflags was built in /home/local/. Then when I compiled Paddle, I was meeting the following errors. I have verified the CMake version on my machine is 3.6 above 2.8, however it always shows "This file relies on consumers using CMake 2.8.12 or greater.", What's the reason ? Could you help me please ? Thanks
/////////////////////////////////////////////////////////////////////////////////////////////////////////
cmake .. -DWITH_GPU=OFF -DWITH_DOC=OFF
-- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available.
CMake Error at /home/local/lib/cmake/gflags/gflags-targets.cmake:66 (message):
This file relies on consumers using CMake 2.8.12 or greater.
Call Stack (most recent call first):
/home/local/lib/cmake/gflags/gflags-config.cmake:10 (include)
cmake/FindGflags.cmake:318 (find_package)
CMakeLists.txt:27 (find_package)
////////////////////////////////////////////////////////////////////////////////////////////////////////////
The text was updated successfully, but these errors were encountered: