hellboy
Intermediate OT User
Hello.
I tried compile Mehah OTC on Ubuntu 20.04.
It failed on cmake command.
I also "regenerated" protobuf files.
Anyone know how to fix this?
I tried compile Mehah OTC on Ubuntu 20.04.
Compiling on Ubuntu 20.04 · mehah/otclient Wiki
An alternative tibia client for otserv written in C++20 and Lua, made with a modular system that uses lua scripts for ingame interface and functionality, making otclient flexible and easy to custom...
github.com
It failed on cmake command.
I also "regenerated" protobuf files.
Code:
cmake ..
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 11.1.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
-- Link to static libraries: ON
-- Build type: RelWithDebInfo
-- Build commit: devel
-- Build revision: 0
-- Found Lua: /usr/lib/x86_64-linux-gnu/liblua5.1.a
-- LuaJIT: OFF
-- Found PhysFS: /usr/lib/x86_64-linux-gnu/libphysfs.a
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.a
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find Protobuf (missing: Protobuf_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.16/Modules/FindProtobuf.cmake:624 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
src/framework/CMakeLists.txt:208 (find_package)
CMakeLists.txt:12 (include)
-- Configuring incomplete, errors occurred!
See also "/home/daniel/git/public/otclient/build/CMakeFiles/CMakeOutput.log".
See also "/home/daniel/git/public/otclient/build/CMakeFiles/CMakeError.log".
Anyone know how to fix this?