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

Unknown CMake command "protobuf_generate_cpp". #123

Open
loveraven42 opened this issue May 11, 2019 · 0 comments
Open

Unknown CMake command "protobuf_generate_cpp". #123

loveraven42 opened this issue May 11, 2019 · 0 comments

Comments

@loveraven42
Copy link

I install all the prerequisites. But ninja check failed
So I just want to build a simple demo, then it comes the flowing errors.
My Linux version : ubuntu 18.04
libprotoc version: 3.0.0
clang version: 6.0.0-1ubuntu2
cmake version: 3.10.2

raven@ubuntu:~/libprotobuf-mutator/examples/libfuzzer/build$ cmake ..
CMake Error at CMakeLists.txt:25 (protobuf_generate_cpp):
  Unknown CMake command "protobuf_generate_cpp".


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 3.10)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
See also "/home/raven/libprotobuf-mutator/examples/libfuzzer/build/CMakeFiles/CMakeOutput.log".

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

1 participant