-
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
MacOSX compilation problem #1166
Comments
Same on Intel MacBook. |
Can you try changing otclient/src/framework/util/crypt.cpp Line 270 in e73f6df
- mpz_mul(n, p, q);
+ mpz_mul(m_n, m_p, m_q); |
GMP seems to not be working at all anyway. Just install openssl: |
Tried already, any improvement |
There are a few ways you can get cmake to find openssl on macOS, some of that, but not all, include:
|
Use brew install openssl@1.1 and next this command : |
When you are using OpenSSL that part of code is not used. Anyway, it does not fix anything, as GMP integration seems to be broken. |
any ideas? |
this did it for me. thanks! |
Hello, i have problem during OSX compilation process:
otclient/src/framework/util/crypt.cpp:270:13: error: use of undeclared identifier 'n' mpz_mul(n, p, q); ^ 1 error generated. make[2]: *** [CMakeFiles/otclient.dir/src/framework/util/crypt.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/otclient.dir/all] Error 2
I'm using https://github.com/edubart/otclient/wiki/Compiling-on-Mac-OS-X ofc
I got M1 Macbook.
ofc: gmp 6.2.1_1 is already installed and up-to-date
The text was updated successfully, but these errors were encountered: