How can we compile on OS X?

  • Xenocide
    4th Oct 2010 Former Staff 0 Permalink
    pastebin.com is your friend, use it to help keep the forums readable >.<
  • jakester12345
    4th Oct 2010 Member 0 Permalink
    okay sorry ill fix it


    EDIT : goto http://freebasic.pastebin.com/xpQWq2re and there are my errors that i get when i try to compile on OSX by following the instructions in this thread.
  • ZebraineZ
    4th Oct 2010 Member 0 Permalink
    The saying of getting things done yourself is so true...

    Well here is my way of doing it after randomly trying:

    'cd /powder' (folder name is powder, is on the top hierarchy or whatever of all the folders)

    then after that I put '/Developer/usr/bin/gcc /Developer/usr/bin/make' and press enter and the error I get is:

    'ld: library not found for -lcrt1.10.6.o
    collect2: ld returned 1 exit status'

    I hope some of you realize that just 'make powder-x' isn't some magical end all be all command that does everything for you in one line, there is obviously much more to it, it seems as though the more I stress this the more you guys spill the beans so why not just say everything at once? Causes less confusion you know. It helps to go the extra mile than just repeating 'make powder-x' every chance you get.

    Edit: I do google, I went on a mac forum and asked for their help and what they said was nothing even close to what I needed -___-. The point is, what Simon said, did not do the trick, yet, there are Mac binaries, which means that someone has compiled them, which ALSO means that there would have to be some sort of method they use to compile, which is the method I've been asking for the entire time. If it's not something complicated then just SAY it, how hard is that? You would honestly be surprised. A lot of things that we think 'not many people do' usually have a good number of people, you just don't know about them.

    Having said THAT, there are probably a bunch more people that use Macs that just haven't signed up on the forums and whatnot. If you go by that logic that just because there is a small number that use it, and don't see this thread worth helping, to an extent at least, then what is the point in having the Mac version then? Might as well take it off if you think that no one is going to use it anyways. People won't play BECAUSE there would be no Mac version, not the other way around.

    Edit2: Woot. After some more fiddling around, my error is now the same as jakes lol!
  • bchandark
    4th Oct 2010 Member 0 Permalink
    Again, not many people use Macs, even less people develop for it. No one's withholding any magic secret.

    Having said that, JUST GOOGLE YOUR PROBLEMS.
    See if this site helps: http://forum.xbmc.org/showthread.php?t=52656
  • devast8a
    4th Oct 2010 Former Staff 0 Permalink
    ZebraineZ
    By the looks of it, it can't seem to find SDL
    Check that the include paths are set for your environment.

    Secondly, What the hell? Do you think people are purposely withholding information?
    Simon, points the terminal at the path where PT is and runs "make powder-x".
    So, yes there is just a magical one line command that does it.
    The problem is, either you're doing it wrong or you haven't setup your environment properly.
  • Xenocide
    4th Oct 2010 Former Staff 0 Permalink
    Or your missing some files, I'll do your hard work shall I?

    http://www.meandmark.com/sdlopenglpart2.html

    http://www.bzip.org/downloads.html


    If that's too hard you shouldn't be developing. You should at least have a working development and runtime environment before even looking at source codes.
  • ZebraineZ
    4th Oct 2010 Member 0 Permalink
    Wooooooooooooooooooooooooooooooooooooooooooooooooooooooooooohooooooooooo! I did it :D yayyyyyyyyyy! I am so happy now :D! I can finally play antbs mods without having to reboot :3!!!!

    Just one question, is there anything we do with the powder-x file after we are done?
  • devast8a
    4th Oct 2010 Former Staff 0 Permalink
    What the executable?

    Anything that you would normally be able to do to an executable.
  • ZebraineZ
    4th Oct 2010 Member 0 Permalink
    Woops, I meant like how do we turn it into an application bundle or something, right now it's only a 'unix executable file' and opens up terminal when I click it, which opens up the game. I googled a bunch on how to make it into an .app, with the resources folder and whatnot but still couldn't find much help -__- someone told me to do make powder-x-gui but that doesn't work.
  • Vanadium
    4th Oct 2010 Member 0 Permalink
    how did you do it ZebraineZ? please tell me i am a mac user too