Repository navigation
fix gcc build errors in server and shared code - #115
junknewera wants to merge 2 commits into
Conversation
|
i will merge this if you get it running on linux |
MSVC accepts non-standard code and omitted headers that GCC rejects. Needed to build the server on Linux.
Allows hosting the server on Linux and adds an Ubuntu CI build. Replaces Windows-only SDK headers and fixes cross-platform chat packets.
3d64189 to
057f1ae
Compare
it builds and runs on linux now. tested on x86_64 (arch, gcc 16) and arm64: the server starts and listens on 6767/udp. there's also a linux job in ci that builds it and runs it for 5 seconds (needs your approval to run on the pr).
rebased on current main |
|
isnt it possible to use the shared plugin-sdk? did you try excluding PluginBase.h? |
that's already done where possible: |
Fixes GCC compile errors in server and shared code:
No behavior change on Windows; CI passed: https://github.com/junknewera/CoopAndreas/actions/runs/38397723710
Linux server still does not build yet (plugin-sdk/injector deps in shared, xmake linux target TODO, wchar_t size mismatch).
I can follow up with server stubs, Linux CI, and wire string fixes if you don't already have this in an unpushed branch (you mentioned it on #85)