-
Notifications
You must be signed in to change notification settings - Fork 173
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
raknet fails to compile on arm64: "I can't tell what endian-ness to use for your architecture." #7
Comments
To my knowledge version of RakNet was never designed to run on ARM (especially modern ARM). What compiler are you using? If you’re using gcc, clang (untested on linux) would likely be a better option because of it’s usage of LLVM IR. You will also encounter much bigger problems than RakNet not compiling. Notably, Oracle does not provide pre-built ARM binaries for MySQL Connector C++. |
I was using GCC 9 if I recall correctly; whatever was installed by default along with the I’m not familiar with MySQL Connector C++; is that something a binary is provided for in the server source for x86? I was able to get the server up and running just fine on a separate machine running Ubuntu 20.04 amd64. Not sure if there’s an equivalent that can be used on ARM platforms. |
i hit the same compilation error with MacOS monterey, all required packages are installed trough homebrew where necessary and are up to date, so essentially getting architecture error, what could i be missing ? terminal photo with redacted homefolder |
Trying to build on Apple Silicon is still a bit of a mystery, I've attempted to do so a couple of times but thus far have not got it to work. The macOS build steps thus don't really apply to it. |
This will likely be closed by #111 once it is merged. I'll test it in the original environment that I was in when I wrote this issue, then if it seems to work I'll close it |
#231 has been merged and resolves this issue. Feel free to let us know if any more issues arise. |
Attempting to build the server on Ubuntu 20.04 arm64 throws an error when trying to compile AutoRPC.cpp, indicating that it doesn't recognize the architecture. Build continues for a bit, but will ultimately fail since the raknet component never finishes compiling. Should be a simple fix in theory but I'm not sure where to make the changes.
build continues for a bit...
The text was updated successfully, but these errors were encountered: