Can someone compile for Mac OSX ?

Linux geeks and Mac OS hipsters unite! A board for discussion of Supermodel on non-Windows platforms.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

Can someone compile for Mac OSX ?

Postby thunderbolt » Sun Sep 25, 2011 9:16 am

Hello,

Can someone compile Supermodel v0.2 for Mac OSX ?

Thanks.
thunderbolt
 
Posts: 33
Joined: Sat Sep 24, 2011 9:32 pm

Re: Can someone compile for Mac OSX ?

Postby Arbee » Sun Sep 25, 2011 6:43 pm

Are you asking if it's possible or for someone to do it for you? :) Because it's definitely possible - any Intel Mac capable of compiling and running MAME/MESS will also compile and run Supermodel pretty easily.
Arbee
 
Posts: 67
Joined: Sun Sep 25, 2011 6:41 pm

Re: Can someone compile for Mac OSX ?

Postby thunderbolt » Sun Sep 25, 2011 6:46 pm

Arbee wrote:Are you asking if it's possible or for someone to do it for you? :) Because it's definitely possible - any Intel Mac capable of compiling and running MAME/MESS will also compile and run Supermodel pretty easily.


I am not a programmer and I don't know about compiling.

I would appreciate it if some people compile a Mac version of Supermodel v0.2 to run in the OSX computer.

Thanks.
thunderbolt
 
Posts: 33
Joined: Sat Sep 24, 2011 9:32 pm

Re: Can someone compile for Mac OSX ?

Postby Arbee » Sun Sep 25, 2011 6:55 pm

I can probably post a binary for systems running Lion (10.7); is your Mac on Lion or still Leopard/Snow Leopard?


Note that even with a canned binary, you will still need to install the SDL framework. That installation consists of dragging one folder into another in the Finder, as follows:

1) Go to http://www.libsdl.org/ , and click the "SDL 1.2" download link in the sidebar, then scroll down to "Mac OS X" under "Runtime Libraries".
2) Download the "SDL-1.2.14.dmg" disk image and open it.
3) Click 'Macintosh HD' (or whatever your Mac's hard disk is named) in the left pane of a Finder window.
4) Open the Library folder and drag the SDL.framework folder from the SDL disk image into the 'Frameworks' folder.
Arbee
 
Posts: 67
Joined: Sun Sep 25, 2011 6:41 pm

Re: Can someone compile for Mac OSX ?

Postby thunderbolt » Sun Sep 25, 2011 6:57 pm

Arbee wrote:I can probably post a binary for systems running Lion (10.7); is your Mac on Lion or still Leopard/Snow Leopard?


Note that even with a canned binary, you will still need to install the SDL framework. That installation consists of dragging one folder into another in the Finder, as follows:

1) Go to http://www.libsdl.org/ , and click the "SDL 1.2" download link in the sidebar, then scroll down to "Mac OS X" under "Runtime Libraries".
2) Download the "SDL-1.2.14.dmg" disk image and open it.
3) Click 'Macintosh HD' (or whatever your Mac's hard disk is named) in the left pane of a Finder window.
4) Open the Library folder and drag the SDL.framework folder from the SDL disk image into the 'Frameworks' folder.


I am runnung Snow Leopard 10.6.8, and I would like to try your binary.

Thank you very much for your contribution. :lol:
thunderbolt
 
Posts: 33
Joined: Sat Sep 24, 2011 9:32 pm

Re: Can someone compile for Mac OSX ?

Postby Arbee » Sun Sep 25, 2011 7:23 pm

I have posted an experimental binary here. It's 64-bit and built on Lion; I think it should work on earlier OS Xes as well, but you never know.

Caveats are included there, but I'll mention them here again:

1) You must have SDL.framework installed.
2) This is a pure command line app, like all versions of Supermodel. There are no compatible front ends for OS X yet.

It's a raw binary in a .tgz; double-click to extract the binary into the current folder. If someone more up on OS X than I wants to make a full-on bundle please feel free :)
Arbee
 
Posts: 67
Joined: Sun Sep 25, 2011 6:41 pm

Re: Can someone compile for Mac OSX ?

Postby RetroRepair » Sun Sep 25, 2011 8:13 pm

This works fine, however the controls need configuring as by default they are set to nothing. ;)
User avatar
RetroRepair
 
Posts: 85
Joined: Sun Sep 25, 2011 10:08 am

Re: Can someone compile for Mac OSX ?

Postby Bart » Sun Sep 25, 2011 8:23 pm

RetroRepair wrote:This works fine, however the controls need configuring as by default they are set to nothing. ;)


You ought to be able to take Config/Supermodel.ini from the Windows version and use that (Supermodel now assumes it is being distributed with that file).

Thanks for the Mac support, RB! By the way, what prevents a static binary that would work on all versions of OS X from being compiled? I'm not familiar with the Mac platform and its concept of "frameworks".
User avatar
Bart
Site Admin
 
Posts: 1684
Joined: Thu Sep 01, 2011 2:13 pm
Location: New York City

Re: Can someone compile for Mac OSX ?

Postby thunderbolt » Sun Sep 25, 2011 8:35 pm

It is a good idea to include the SDL library/framework into the OSX binary. Is it possible to do that ?
thunderbolt
 
Posts: 33
Joined: Sat Sep 24, 2011 9:32 pm

Re: Can someone compile for Mac OSX ?

Postby thunderbolt » Mon Sep 26, 2011 6:10 am

Arbee wrote:I have posted an experimental binary here. It's 64-bit and built on Lion; I think it should work on earlier OS Xes as well, but you never know.

Caveats are included there, but I'll mention them here again:

1) You must have SDL.framework installed.
2) This is a pure command line app, like all versions of Supermodel. There are no compatible front ends for OS X yet.

It's a raw binary in a .tgz; double-click to extract the binary into the current folder. If someone more up on OS X than I wants to make a full-on bundle please feel free :)


It works successfully on my i7 iMac (OSX 10.6.8) and I can get 60 fps in most of the time. Well done.
thunderbolt
 
Posts: 33
Joined: Sat Sep 24, 2011 9:32 pm

Next

Return to Alternative Fashion

Who is online

Users browsing this forum: No registered users and 1 guest