mehah / otclient

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 customize
Other
269 stars 211 forks source link

Macos build error #758

Open humbertogontijo opened 6 months ago

humbertogontijo commented 6 months ago

Priority

Low

Area

What happened?

Because of stduuid dependecy macos build fails. But stduuid does not support latest macOS

-- The C compiler identification is AppleClang 15.0.0.15000309
-- The CXX compiler identification is AppleClang 15.0.0.15000309
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Enabled: ipo
-- Found Protobuf: /opt/homebrew/lib/libprotobuf.dylib (found version "5.26.1")
-- Found Protobuf Compiler: /opt/homebrew/bin/protoc
FATAL_ERROR,Failed to generate protobuf files
-- Bot protection: ON
-- Use precompiled header: ON
-- Enabled: Build unity for speed up compilation
-- Disabled: asan
-- Disabled: DEBUG LOG
-- Build type: 
-- Build commit: 
-- Build revision: 
-- Found ZLIB: /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/lib/libz.tbd (found version "1.2.12")
-- Looking for lzma_auto_decoder in /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/lib/liblzma.tbd
-- Looking for lzma_auto_decoder in /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/lib/liblzma.tbd - found
-- Looking for lzma_easy_encoder in /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/lib/liblzma.tbd
-- Looking for lzma_easy_encoder in /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/lib/liblzma.tbd - found
-- Looking for lzma_lzma_preset in /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/lib/liblzma.tbd
-- Looking for lzma_lzma_preset in /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/lib/liblzma.tbd - found
-- Found LibLZMA: /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/lib/liblzma.tbd (found version "5.4.6")
-- Found nlohmann_json: /opt/homebrew/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found version "3.11.3")
-- Found asio: /opt/homebrew/include
-- Found Threads: TRUE
CMake Error at src/CMakeLists.txt:195 (find_package):
  Could not find a package configuration file provided by "STDUUID" with any
  of the following names:

    STDUUIDConfig.cmake
    stduuid-config.cmake

  Add the installation prefix of "STDUUID" to CMAKE_PREFIX_PATH or set
  "STDUUID_DIR" to a directory containing one of the above files.  If
  "STDUUID" provides a separate development package or SDK, be sure it has
  been installed.

-- Configuring incomplete, errors occurred!

What OS are you seeing the problem on?

MacOS

Code of Conduct

github-actions[bot] commented 3 months ago

This issue is stale because it has been open 120 days with no activity.

nekiro commented 1 month ago

@humbertogontijo please provide your build workflow