Emuforums.com

Go Back   Emuforums.com > Handheld Emulation > Nintendo Handhelds > VBA-M Discussion
Home Register Downloads FAQ Members List Calendar Arcade Mark Forums Read

WON'T YOU JOIN US?
You are not a registered member and
are viewing this site as a guest.
Registration is simple and FREE.
Join this CrowdGather community today.
Registration offers the following perks:

» Less advertising throughout
» Post and participate in discussions
» Network with other forum members
» Free private messaging

join

Reply
 
Thread Tools Display Modes
Old May 13th, 2010, 19:16   #1
JRMoore
Registered User
 
Join Date: May 2010
Location: All around.
Posts: 1
How to build VBA-M from the SVN code in Linux.

This is a guide for people who would like to build VBA-M from its development source code in Linux and use it either through the SDL or the GTK+ interfaces.

First of all, dependencies. As far as I know you'll need the following programs and libraries:

cmake subversion sdl libpng zlib sfml mesa cairo libxv gtkglext gtkglextmm gtkmm glibmm glademm

A minimum development environment is assumed (e.g. C/C++ compiler, the make utility, ...). The ones marked in orange indicate that development packages of them are needed as well (e.g. mesa-dev).

Now, once all of that is installed create a directory named VBA-M (for example) where ever you wish to build it. Open a terminal window and navigate to the directory you just created. Now follow this steps:

1. Get the source code, check out the trunk branch:

[user@machine VBA-M]# svn co https://vbam.svn.sourceforge.net/svnroot/vbam/trunk .

2. Generate the makefile:

[user@machine VBA-M]# cmake . -DCMAKE_INSTALL_PREFIX=/usr

3. Build and install VBA-M:

[user@machine VBA-M]# make && sudo make install

4. Run VBA-M: gvbam for the GTK+ interface and vbam for the SDL one.

NOTES:

1. When looking for the dependencies, some of them might be available in your distribution with "lib" prefixing them (e.g.: libgtkmm instead of gtkmm) or not available at all (you'd need to get and build them yourself).
2. In the second phase CMake may warn about things not found, if that's the case verify you have installed all the dependencies as well as their development packages. E.g.: gtkmm-dev or something like that.
3. In that phase too, you may specify a different dir for CMAKE_INSTALL_PREFIX, the one I posted should make VBA-M available for system-wide.
4. In the third phase, make install have to be called as root or with administrative privileges as it will write to /etc (unless you changed the directories through additional options). E.g.: I've put sudo there because it's common to have that installed and configured.
5. There are more options to be used when generating the build script: disabling one of the interfaces, using some assembly parts, ... This "walk-through" is kind of generic.
6. Last but not least, @hackwizard: don't come to the boards saying ****. You should be grateful to the dev team for all they've done.
JRMoore is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old May 14th, 2010, 08:06   #2
hackwizard
Registered User
 
Join Date: May 2010
Location: Arizona
Posts: 16
Quote:
Originally Posted by JRMoore View Post
@hackwizard: don't come to the boards saying ****. You should be grateful to the dev team for all they've done.
I'm sorry that that's how I came across... this really hasn't been a good week for me. I'll try to be less blunt & opinionated from now on (but I admit that tends to be my greatest personal flaw).
hackwizard is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 07:59.

© 2006 - 2012 Emu Forums | About Emu Forums | Advertisers | Investors | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.