Can someone compile this for me?

Discussion in 'Mac Programming' started by KillingSpree, Jan 25, 2010.

  1. KillingSpree macrumors member

    Joined:
    Feb 11, 2008
    #1
    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.
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    A lot of that code is Windows-only. You can't compile it on the Mac without rewriting large portions of it.
     
  3. KillingSpree thread starter macrumors member

    Joined:
    Feb 11, 2008
  4. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #4
    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.
     

    Attached Files:

  5. balamw Moderator

    balamw

    Staff Member

    Joined:
    Aug 16, 2005
    Location:
    New England
    #5

Share This Page