Page 1 of 1

Compile tips and tricks

PostPosted: Sun Sep 25, 2011 7:11 pm
by Arbee
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.

Re: Compile tips and tricks

PostPosted: Sun Jan 01, 2012 6:34 am
by nil
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 !

Re: Compile tips and tricks

PostPosted: Mon Jan 02, 2012 11:18 am
by nikdd
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.

Re: Compile tips and tricks

PostPosted: Fri Jan 06, 2012 6:26 am
by nil
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

Re: Compile tips and tricks

PostPosted: Fri Jan 06, 2012 12:29 pm
by Bart
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?

Re: Compile tips and tricks

PostPosted: Mon Jan 09, 2012 11:30 am
by nil
Here is the error I get (I tried it again right now)

Re: Compile tips and tricks

PostPosted: Tue Jan 10, 2012 9:46 am
by nikdd
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.

Re: Compile tips and tricks

PostPosted: Thu Jan 12, 2012 1:02 am
by Bart
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?

Re: Compile tips and tricks

PostPosted: Sun Jan 29, 2012 12:17 pm
by Cinderella99
Works on 11.10 64bit.

Thanks.