-
Notifications
You must be signed in to change notification settings - Fork 362
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
Add Linux support #19
Comments
To port the vectorwar example application I thought we could replace the gdi_renderer and all the Window specific code with a simple libsdl implementation (using sdl_ttf for text rendering). The simple 2D rendering primitives available in libsdl should work on Windows, Linux and MacOSX. Does that sound reasonable? |
@arrayofchar does this mean Linux Support is added already and this issue is closed? |
I'm not sure how much cross platform support there is. I think I got it to
build in a Ubuntu VM. I've not tested the actual functionality. You should
compare the cross platform branch with the main branch
…On Mon, Nov 29, 2021, 09:51 Daniel Plas Rivera ***@***.***> wrote:
@arrayofchar <https://github.com/arrayofchar> does this mean Linux
Support is added already and this issue is closed?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#19 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABOBEWXTR5SSZ4A6ABVYBL3UOO4RBANCNFSM4JBCOY7A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
On Thu, Dec 2, 2021 at 10:04 PM arrayofchar ***@***.***> wrote:
I'm not sure how much cross platform support there is. I think I got it to
build in a Ubuntu VM. I've not tested the actual functionality. You should
I have ported the "vectorwar" example application to Linux based on
the linux support branch here: #57
This probably has bitrotted quite a bit but back then on a local
machine, the vectorwar example application worked on Linux as well as
Windows with up to 4 players IIRC. I have not tried running the
application over the network but in theory (!) it should just work.
|
Has any progress been made on the linux/unix support? I'm looking through the development/crossplatform branch and it seems to still heavily utilize Win32 API and types. Unless there were some macros I missed. |
This is something I'm interested in working on but I figured I'd create an issue to track the work in case anyone else wants to jump in.
Currently building fails on Linux with this totally unsurprising error about a missing
winsock2.h
:Once the build works on Linux I can proceed to getting it packaged for Debian/Ubuntu.
The text was updated successfully, but these errors were encountered: