Hello, I know very basic stuff about programming and trying to compile the forgotten server on macOS Monterey 12.2.1 but I am getting an error after the command cmake ..
I am following this tutorial (Compiling on Mac OS X · otland/forgottenserver Wiki (https://github.com/otland/forgottenserver/wiki/Compiling-on-Mac-OS-X)) and I'm stuck on step 3:
Does anyone know how to fix this error? Thanks.
$ cmake ..
-- The CXX compiler identification is AppleClang 13.1.6.13160021
-- 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
-- Found Crypto++: /usr/local/include
CMake Error at cmake/FindMySQL.cmake:123 (MESSAGE):
Cannot find MySQL. Include dir:
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr library dir:
Call Stack (most recent call first):
CMakeLists.txt:41 (find_package)
I am following this tutorial (Compiling on Mac OS X · otland/forgottenserver Wiki (https://github.com/otland/forgottenserver/wiki/Compiling-on-Mac-OS-X)) and I'm stuck on step 3:
3. Generate the build files
$ cd forgottenserver
$ mkdir build; cd build
$ cmake ..
Does anyone know how to fix this error? Thanks.