Package: protobuf-compiler Version: 3.0.0-9 Severity: minor $:~/src/protobuf$ cp -r /usr/share/doc/protobuf-compiler/examples . $:~/src/protobuf$ cd examples/ $:~/src/protobuf/examples$ cmake ./ -- The C compiler identification is GNU 6.3.0 -- The CXX compiler identification is GNU 6.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at CMakeLists.txt:8 (find_package): Could not find a package configuration file provided by "protobuf" with any of the following names:
protobufConfig.cmake protobuf-config.cmake Add the installation prefix of "protobuf" to CMAKE_PREFIX_PATH or set "protobuf_DIR" to a directory containing one of the above files. If "protobuf" provides a separate development package or SDK, be sure it has been installed. -- Configuring incomplete, errors occurred! See also "/home/ss/src/protobuf/examples/CMakeFiles/CMakeOutput.log". -- System Information: Debian Release: 9.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages protobuf-compiler depends on: ii libc6 2.24-11+deb9u1 ii libgcc1 1:6.3.0-18 ii libprotobuf10 3.0.0-9 ii libprotoc10 3.0.0-9 ii libstdc++6 6.3.0-18 ii zlib1g 1:1.2.8.dfsg-5 protobuf-compiler recommends no packages. protobuf-compiler suggests no packages. -- no debconf information