Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

Trying to compile 2.5 for Mac OS X

Having issues not related to a specific Sandbox game mode? Get help here!
Please also read the rules for support when posting support requests.
Failure to comply with the forum rules may result in your topic being locked without resolution.
User avatar
klimyriad
Support Team
Support Team
Posts: 969
Joined: December 23rd, 2009, 1:43 pm
Name: liam
Contact:

Re: Trying to compile 2.5 for Mac OS X

Post by klimyriad »

Yea that an good idea
Firstspace the attack Progress. Image
Maps= Image finishing the town of hisal map.
Models and textures Image Just started finding these.
Menus, script's and other stuff. Image
ToddPM
Member
Member
Posts: 7
Joined: May 28th, 2010, 10:09 pm

Re: Trying to compile 2.5 for Mac OS X

Post by ToddPM »

Well, I got something to compile on my Mac, so that's at least a start.

For anyone trying it themselves, what I did in the Xcode project was to delete all of the source code from the following folders in "Other Sources": enet, engine, fpsgame, and shared. I deleted the references only, and did not move the files to the trash.

Then I added all source code files (*.c, *.cpp, *.h) from src/enet, src/engine, src/fpsgame, and src/shared back into those 4 folders.

There was one compile error because "engine" had two files trying to define the same function or property ("fatal"). I removed the reference to master.cpp from engine, and got it to compile.

Then I followed the renaming/moving instructions in the last step of http://sandboxgamemaker.com/wiki/index. ... de#MAC_OSX and the program at least starts up!


If anyone has any tips about what I did and why things will go kablooey later on down the road, please let me know. For now, I'm going to poke around in the sandbox.
User avatar
Mike
Administrator
Administrator
Posts: 871
Joined: May 24th, 2009, 12:52 pm

Re: Trying to compile 2.5 for Mac OS X

Post by Mike »

So you got 2.5 to successfully compile? Maybe you'd be willing to compile the mac binary for our future releases? You get your name mentioned and everything!!! hehe. Take care.
-mike
Sign up for our Newsletter to keep up to date with the Sandbox news!
We also have a facebook page, facebook group, myspace page and a twitter page[/b][/color]!
Hirato
Developer
Developer
Posts: 689
Joined: May 30th, 2009, 1:23 pm
IRC Username: hirato

Re: Trying to compile 2.5 for Mac OS X

Post by Hirato »

do not link engine/master.cpp into the main binary - it's meant to be linked against the -DSTANDALONE build ONLY
This is not a url, clicking it is pointless
ToddPM
Member
Member
Posts: 7
Joined: May 28th, 2010, 10:09 pm

Re: Trying to compile 2.5 for Mac OS X

Post by ToddPM »

Hirato wrote:do not link engine/master.cpp into the main binary - it's meant to be linked against the -DSTANDALONE build ONLY
Is there a place where I can find a collection of tidbits like this?
User avatar
Mike
Administrator
Administrator
Posts: 871
Joined: May 24th, 2009, 12:52 pm

Re: Trying to compile 2.5 for Mac OS X

Post by Mike »

Yeah, here :D Also you could come in and chat with Hirato in our chatroom. I think that is the main piece of advice for compiling Sandbox, not much else unless you're also using GCC which I found needs to be updated to the newest or newer, whatever codeblocks uses. I also noticed Codeblocks has a Mac version:
http://www.codeblocks.org/downloads/26

You might want to try that and use the project file called sandbox.cbp we have in our /src/windows folder and see what happens though of course you'd have to edit the project file to fit for macs. That might be the easiest solution of all!! Take care.
-mike
Sign up for our Newsletter to keep up to date with the Sandbox news!
We also have a facebook page, facebook group, myspace page and a twitter page[/b][/color]!
User avatar
Leo_V117
Support Team
Support Team
Posts: 1640
Joined: February 16th, 2010, 8:00 pm
Name: Leo
IRC Username: Leo_V117
Location: That one place...
Contact:

Re: Trying to compile 2.5 for Mac OS X

Post by Leo_V117 »

I smell the workings of a new usergroup... Compilers... I also see new credits... and other things...
User avatar
GR1M
Support Team
Support Team
Posts: 1305
Joined: August 22nd, 2009, 4:35 pm
Name: Luke
IRC Username: Gr1m
Location: Texas
Contact:

Re: Trying to compile 2.5 for Mac OS X

Post by GR1M »

Good things :)
Image
Want a user bar like this one? PM Leo
User avatar
Leo_V117
Support Team
Support Team
Posts: 1640
Joined: February 16th, 2010, 8:00 pm
Name: Leo
IRC Username: Leo_V117
Location: That one place...
Contact:

Re: Trying to compile 2.5 for Mac OS X

Post by Leo_V117 »

Very Good Things... Oh yeah... you know my on-exit-save? Calimer Likes It... Hes gonna talk Hirato into adding it to the next releases of Sandbox. :P
arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: Trying to compile 2.5 for Mac OS X

Post by arcones »

I love how we call Mike, Calimer, and Calimer Mike :D
Image
Want a user bar like this one? PM Leo!
Locked