-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fatal error: 'lua.hpp' file not found #1207
Comments
I stumbled upon this problem as well. It seems lua was not installed. The docs suggest using brew but the lua formulae is disabled. ❯ brew install [email protected] We'd need to use a tap or install [email protected] by ourselves. |
You can |
With @diath help and after [100%] Linking CXX executable otclient I'm using this to run the build #!/bin/bash
PREFIX=$(brew --prefix)
cmake \
-DUSE_STATIC_LIBS=OFF \
-DLUAJIT=ON \
-DBoost_INCLUDE_DIR=$PREFIX/Cellar/[email protected]/1.76.0_5/include/ \
-DOPENSSL_INCLUDE_DIR=$PREFIX/Cellar/openssl@3/3.3.0/include/ \
-DGMP_INCLUDE_DIR=$PREFIX/Cellar/gmp/6.3.0/include \
-DGMP_LIBRARY=$PREFIX/Cellar/gmp/6.3.0/lib/libgmp.dylib \
../
make -j$(( $(sysctl -n hw.ncpu) - 1 )) I'm using Sonoma btw. |
otclient doesn't support MacOS natively, you need XQuartz (X11 server for MacOS) installed ( |
This happen when executing the: "make -j$(sysctl -n hw.ncpu)"
macOS Monterey (12.4)
The text was updated successfully, but these errors were encountered: