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

Build fail with error 'visualdl/storage/CMakeFiles/binary_record.dir/build.make:61: *** target pattern contains no `%'. Stop.' on Linux #447

Closed
higis927 opened this issue May 8, 2018 · 4 comments
Assignees

Comments

@higis927
Copy link

higis927 commented May 8, 2018

OS version:
System Version: Linux e18f05531.et15sqa 2.6.32-220.23.2.ali1089.el5.x86_64 #1 SMP Fri Jun 14 10:52:15 CST 2013 x86_64 x86_64 x86_64 GNU/Linux
Python version: 2.7.14
cmake version: 3.11.0
protoc version: I do not installed protoc by myself
gcc version: gcc (GCC) 4.9.2 20150212
The errors are as following:
-- Installing: /tmp/rnn/VisualDL/build/third_party/install/gtest/include/gtest/gtest-param-test.h.pump
-- Installing: /tmp/rnn/VisualDL/build/third_party/install/gtest/include/gtest/gtest-death-test.h
[ 38%] Completed 'extern_gtest'
[ 38%] Built target extern_gtest
visualdl/storage/CMakeFiles/binary_record.dir/build.make:61: *** target pattern contains no `%'. Stop.
make[1]: *** [visualdl/storage/CMakeFiles/binary_record.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
^Cinterrupted
make[2]: *** [third_party/eigen3/src/extern_eigen3-stamp/extern_eigen3-download] Interrupt
make[1]: *** [CMakeFiles/extern_eigen3.dir/all] Interrupt
make: *** [all] Interrupt

@daming-lu
Copy link
Collaborator

@higis927 Thanks for your interest in VisualDL. 'protoc' is installed automatically by VisualDL. May I know if you use Anaconda or not? Anaconda is suggested to prevent environment conflicts.

@higis927
Copy link
Author

higis927 commented May 9, 2018

@daming-lu I am installing it on Linux docker.
On Mac os, I install it by Anancoda, but the issue is documented as following:
#439

@jetfuel
Copy link
Collaborator

jetfuel commented May 9, 2018

@higis927 Sorry for the trouble. It took us a while to debug this. The Cmake version is too new for the protobuf build script. Try downgrading the cmake to version 3.9. and that should resolve the issue for you.

The team will also try to update the protobuf build script asap to be compatible with latest cmake.

@ZeyuChen
Copy link
Member

VisualDL 2.0 use pure python 3 to build, so there is no C++ compile issues from now on, easy to install with high compatibility, so issues closed.

@ZeyuChen ZeyuChen self-assigned this May 22, 2020
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

4 participants