Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

KillingSpree

macrumors member
Original poster
Feb 11, 2008
33
0
http://minercpp.sourceforge.net/
It's a minecraft server that comes with a .exe and it's open source so it comes with the files. I was wondering if it could be compiled for a mac?
If so can anyone compile it and upload it and then later write a guide on how you did it so I don't have to come here every time it updates.
 

kainjow

Moderator emeritus
Jun 15, 2000
7,958
7
A lot of that code is Windows-only. You can't compile it on the Mac without rewriting large portions of it.
 

kainjow

Moderator emeritus
Jun 15, 2000
7,958
7
Actually, it's less than I originally thought. I was able to cut the errors from ~130 down to ~30 with a few simple changes, but the underlying sockets that the code uses (which is used for network communication) and a few other small functions are Windows-only and would need replacing.

I've attached the source with the changes I made and the Xcode project for anyone else interested.
 

Attachments

  • minerCPP_03b.zip
    36.6 KB · Views: 42
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.