CMake Error at CMakeLists.txt
Ubuntu 16.04.4 LTS (on an Acer Chromebook 11 CB3-131 using Crouton). Followed everything in the ReadMe. Commands went smoothly but during cmake encountered the following error.
[...] -- Found X11: /usr/lib/i386-linux-gnu/libX11.so -- Found Protobuf: /usr/lib/i386-linux-gnu/libprotobuf.so
CMake Error at CMakeLists.txt:105 (add_subdirectory): The source directory/home/kmkerschner/mcpelauncher-linux/gplay_apidoes not contain a CMakeLists.txt file.
CMake Error at CMakeLists.txt:106 (set_target_properties): set_target_properties Can not find target to add properties to: gplaydl
-- Configuring incomplete, errors occurred! See also "/home/kmkerschner/mcpelauncher-linux/build/CMakeFiles/CMakeOutput.log". See also "/home/kmkerschner/mcpelauncher-linux/build/CMakeFiles/CMakeError.log".
run git submodule init && git submodule update, and try again
Thank you. After doing this it then wanted a newer version for cmake so I removed the one that had installed and built the latest version. Now I am getting this error:
[...] -- Found Protobuf: /usr/lib/i386-linux-gnu/libprotobuf.so;-lpthread (found version "2.6.1") CMake Error at /usr/local/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find Protobuf (missing: Protobuf_INCLUDE_DIR) (found version "2.6.1") Call Stack (most recent call first): /usr/local/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) /usr/local/share/cmake-3.10/Modules/FindProtobuf.cmake:543 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) gplay_api/CMakeLists.txt:8 (find_package)
-- Configuring incomplete, errors occurred! See also "/home/kmkerschner/mcpelauncher-linux/build/CMakeFiles/CMakeOutput.log". See also "/home/kmkerschner/mcpelauncher-linux/build/CMakeFiles/CMakeError.log".
lookup wiki or readme, you need protobuf lib