I know most people are on Windors or Linux, but i was wondering if anyone knew how to use the very confusing interface on XCode to compile the source I got off GitHub. Or any other way using mac osx; for that matter. Most of the online tutorials (INCLUDING THE WIKI) were vastly unhelpful, in that they did not work in the console even after downloading the console tools suggested. It's probably due to stupid Mavericks again, dammit apple y u no stabilise interface.
Xcode on Mac is extremely easy compared to Visual C++ on Windows.
Ok so I checkout out the Wiki. You need SDL and XQuartz. The Wiki should be very healpful here: https://powdertoy.co.uk/Wiki/W/Compiling_for_OS_X.html
For the console, you probably didn't set up the PATH correctly. Please explain in more detail what happens when you try the console things.
Sorry. Well, I have XQuartz, and SDL, but the command line tools are no longer free through that particular pathway. Instead, I typed
xcode-select --install
into the terminal, which worked.
Then, I typed (as per the wiki)
cd /Users/(my username)/Desktop/The-Powder-Toy-master ./configure && make
Which yielded the error "make: *** No targets specified and no makefile found. Stop."
Edit: I've been playing around with various combinations of ./configure and make; to little avail.
ahhhhhh that'll do it. EDIT: make returns error 1: unknown type name 'CGDirectPaletteRef'. It also comes up with the warning
./src/video/quartz/SDL_QuartzEvents.m:816:13: warning: 'UpdateSystemActivity' is
deprecated: first deprecated in OS X 10.8 [-Wdeprecated-declarations]
UpdateSystemActivity(UsrActivity);
It looks like this is an SDL bug: https://bitbucket.org/gennady/ja2-stracciatella/issue/54/sdl-1215-wont-compile-on-os-x-109