• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

(macOS) Compiling Error - TFS

cassio

New Member
Joined
Nov 23, 2009
Messages
3
Reaction score
0
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 ..

$ 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.
 
Back
Top