Questions about compiling in OSX
BlitzMax Forums/BlitzMax Programming/Questions about compiling in OSX
| ||
Hey guys, I originally developed my game under Windows and, now that it is finished, I am trying to create an OSX build. I got it to compile, but there's 2 questions that I have: 1) How do I create a build which is not a debug build? 2) Where is my executable saved to? |
| ||
1) From the terminal is how I do it: bmk makeapp -r yourSource.bmx I'm sure there's a toggle in the IDE, but I refuse to use it. 2) /source/Path/appName |
| ||
Thanks for the quick reply. I get a "bmk: command not found" error when I try to build the game from the terminal. /mac newbie. temporarily comandeering someone's powerbook so I can compile this thing. |
| ||
Well first you should probably add a symbolic link to bmk to your ~/bin directory. Like so: ln -s /path/to/bmax/bin/bmk ~/bin/bmk I don't know that Macs allow a per-user bin directory, but my Linux install does, and I'd assume you're able to add a user bin to the PATH. If you just want to modify the PATH, then you'd just do something like this: export PATH="$PATH":/path/to/bmax/bin Then you should be able to execute bmk from any directory (until you close the terminal). Beyond that, I can't help much, since I no longer have my Mac. Worse comes to worst, I'd try the IDE even if it is downright evil. |
| ||
Thanks! got it running! |