pond3r / ggpo

Good Game, Peace Out Rollback Network SDK
MIT License
3.11k stars 360 forks source link

linux and unix build support #37

Open arrayofchar opened 4 years ago

arrayofchar commented 4 years ago

Merges #17 and #21 to conform to the new cross-platform abstraction. Build succeeded on OSX and Ubuntu.

andrewdbanks commented 3 years ago

Merges #17 and #21 to conform to the new cross-platform abstraction. Build succeeded on OSX and Ubuntu.

I admit I'm not usually this far into the weeds on open source projects, so I'm sure there's something obvious I'm missing trying to build this on Kubuntu right now, but my build is failing on strncat_s and sprintf_s calls, which appear to have been committed to the repo specifically to resolve compiler issues. The best answers I can find on Google are that these are Microsoft-oriented C++ extensions, but the commits also coincide with the multiplatform efforts timestamps on this project. Is there a step I'm missing to get this building properly on Linux? With other operating systems labeled as still "in progress", the wiki build instructions are a little light.

henrebotha commented 1 year ago

What's the build process for this? cmake . && make?