Devilutionx: [Switch] Please fix/enable network support on Switch

Created on 12 Oct 2020  路  6Comments  路  Source: diasurgical/devilutionX

When trying to start Multiplayer on Switch it only shows "loopback" as available "protocol".
Apparently this is disabled in https://github.com/diasurgical/devilutionX/blob/master/CMake/switch/switch_defs.cmake because it (of course) doesn't compile with NONET disabled:

devilutionX/3rdParty/asio/include/asio/detail/socket_types.hpp:78:11: fatal error: sys/uio.h: No such file or directory
   78 | # include <sys/uio.h>
help wanted platform support

Most helpful comment

These are the blocking issues on the switch newlib side:

All 6 comments

feel free to make it compile ;)

feel free to make it compile ;)

If I knew how, I wouldn't ask, I'd fix it and make a pull request ;)

It's a dependency problem as far as i rmember, but can't remember if it's ASIO or Sodium. Could you post the compile error, that would be a good starting point. It would probably be easy for some one who know about developing for the nintendo switch, unless it needs porting then it needs some one who is really good at developing for the switch :)

Could you post the compile error, that would be a good starting point.

@AJenbo I did in the first post. There was not much more, and I believe it was not relevant (some other warnings). Simply a file not found.

These are the blocking issues on the switch newlib side:

An alternative is porting things to SDL_net if that's available on the switch?

Was this page helpful?
0 / 5 - 0 ratings