Compile tips and tricks

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!

Compile tips and tricks

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

For Linux, the prerequisites are a subset of those for MAME. You'll want to start with the MAME packages and then go from there.

For OS X, you'll need to install Xcode and the SDL framework in order to compile. Those are the "Step 0" steps here.

Note that the -j flag to make does not work properly with Supermodel 0.2 (make -j9 on my 8-thread Sandy Bridge system is just a disaster ;-) so don't use it. Supermodel doesn't take very long to compile anyway.

On Linux you *must* have hardware OpenGL. For Nvidia cards, only the Nvidia binary drivers will work. Most distros have these available in some form; on Fedora you can get them from rpmfusion.org. In theory either the binary fglrx or open source drivers should work for many ATI cards, but I don't have personal experience there.
Arbee
 
Posts: 69
Joined: Sun Sep 25, 2011 6:41 pm

Re: Compile tips and tricks

Postby nil » Sun Jan 01, 2012 6:34 am

Please someone tell me how to compile on Ubuntu 32 bit.
I'm getting mad with it.
Do you use the gcc file from the source ?
If yes do you have to edit it ?
Do you compile from terminal or do you use a compiler program ?
and so on ...
HELP !
nil
 
Posts: 4
Joined: Sun Jan 01, 2012 6:26 am

Re: Compile tips and tricks

Postby nikdd » Mon Jan 02, 2012 11:18 am

nil wrote:Please someone tell me how to compile on Ubuntu 32 bit.
I'm getting mad with it.
Do you use the gcc file from the source ?
If yes do you have to edit it ?
Do you compile from terminal or do you use a compiler program ?
and so on ...
HELP !


Hi nil,

I've written up some instructions in another thread on how to compile Supermodel on Ubuntu 32-Bit (the steps have been tested on 10.04 & 11.10). You can find the instructions here:

http://www.supermodel3.com/Forum/viewtopic.php?f=7&p=2037#p2037

Please note what Arbee says about having the correct graphics drivers installed though.

Hope that helps!

Cheers, Nik.
nikdd
 
Posts: 180
Joined: Fri Sep 02, 2011 10:39 am
Location: London

Re: Compile tips and tricks

Postby nil » Fri Jan 06, 2012 6:26 am

Thanx !

It worked with source from last daily build (0.3a)
Nevertheless, it never worked with source from version 0.2a available from download section.

Best Regards.

Nil
nil
 
Posts: 4
Joined: Sun Jan 01, 2012 6:26 am

Re: Compile tips and tricks

Postby Bart » Fri Jan 06, 2012 12:29 pm

nil wrote:Nevertheless, it never worked with source from version 0.2a available from download section.


Which step is causing you difficulty w/ 0.2a?
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Compile tips and tricks

Postby nil » Mon Jan 09, 2012 11:30 am

Here is the error I get (I tried it again right now)
Attachments
error.gif
error.gif (106.47 KiB) Viewed 18643 times
nil
 
Posts: 4
Joined: Sun Jan 01, 2012 6:26 am

Re: Compile tips and tricks

Postby nikdd » Tue Jan 10, 2012 9:46 am

nil wrote:Here is the error I get (I tried it again right now)


Hi nil,

v0.1.2a & v0.2a currently do not build on Ubuntu 11.10, they only build on 10.04. I do mention this in the build steps I wrote. I'm guessing too that they don't build on some other versions of Ubuntu, although 10.04 and 11.10 are the only ones I've tested.

v0.3a in SVN at the moment is not that different to v0.2a so I would just stick with that but if you really want to build v0.2a then for now you will have to copy the Makefile across from v0.3a in order to get it to work, as this is where the problem is. At some point we will update the v0.2a source with this fix.

Cheers, Nik.
nikdd
 
Posts: 180
Joined: Fri Sep 02, 2011 10:39 am
Location: London

Re: Compile tips and tricks

Postby Bart » Thu Jan 12, 2012 1:02 am

I've just modified the Supermodel 0.2a source file on the download page. Can you (or anyone else with Ubuntu 11.10) give it a try, nil?
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Compile tips and tricks

Postby Cinderella99 » Sun Jan 29, 2012 12:17 pm

Works on 11.10 64bit.

Thanks.
Cinderella99
 
Posts: 1
Joined: Sun Jan 29, 2012 12:11 pm


Return to Alternative Fashion

Who is online

Users browsing this forum: No registered users and 1 guest