I made a server for a 3D multiplayer game I'm working on. The game is currently functional to a point where I know multiplayer gameplay is possible locally on Windows.
IDE: Visual Studio 2019 Target platforms: Windows & Ubuntu Server linked libraries: winmm.lib, ws2_32.lib, sfml-system-s-d.lib, sfml-network-s-d.lib
I want the server to work on a remotely hosted dedicated server where I have Ubuntu installed, and to be capable of connecting the client locally from Windows, how should I do this? Considering the following:
- My project currently uses the visual C++ compiler from VS, which I presume makes my own c++ code only work on windows (correct?).
- I've done some simple aplications for Ubuntu in C++, and know that for an aplication to work on Ubuntu, it needs to be compiled using the g++ compiler, however, this doesn't seem to be an option on my current environment.
- Also, 2 of the libraries my sfml dependencies depend on, seem to be designed for windows (This could mean issues with the sfml modules I'm using?).
- Finally, I also know there could be some endianness issues, for now I did a quick check and found out both my local, and remote cpu's, use little endian formats.
Additional note: I really could just install any other OS on my remote machine, including Windows, but I like Ubuntu's lightweightness, and I'm familiar with the OS.