View unanswered posts | View active topics It is currently Sun Dec 08, 2019 3:49 am



This topic is locked, you cannot edit posts or make further replies.  [ 12 posts ] 
Instruct others how to compile bsnes on your OS 
Author Message
Rookie

Joined: Sat Aug 07, 2004 7:20 pm
Posts: 46
Reply with quote
Post Instruct others how to compile bsnes on your OS
Allright, the purpose of this thread is to provide how to compile bsnes under various flavors. Add your own below.


Sun Oct 26, 2008 10:05 pm
Profile
Rookie

Joined: Sat Aug 07, 2004 7:20 pm
Posts: 46
Reply with quote
Post 
Ubuntu 8.10 (Intrepid Ibex)

Step 1: Download the sources from Byuu's website
Step 2: Open up a terminal
Step 3: Navigate to the folder you saved bsnes to
Code:
cd downloads/

Step 4: Create a new directory
Code:
mkdir bsnes

Step 5: Move the bsnes packages to the new directory
Code:
mv bsnes_v037.tar.bz2 bsnes

Step 6: Enter the new directory
Code:
cd bsnes

Step 7: Untar the package
Code:
tar jxfv bsnes_v037.tar.bz2

Step 8: Enter the src directory
Code:
cd src

Step 9: Install the proper packages
Code:
sudo apt-get install build-essential libgtk2.0-dev libsdl1.2-dev libopenal-dev libasound-dev libao-dev libxv-dev

Step 10: Run make
Code:
make platform=x compiler=gcc enable_gzip=true enable_jma=true

Step 11: Run bsnes to make sure it works
Code:
../bsnes

Step 12: Install it
Code:
sudo make install


Sun Oct 26, 2008 10:10 pm
Profile
Lurker

Joined: Wed Jul 28, 2004 1:35 am
Posts: 128
Reply with quote
Post 
as of 0.38, you need to
Code:
sudo apt-get install libpulse-dev libxtst-dev


Fri Dec 19, 2008 4:37 am
Profile ICQ YIM
♥ Love Freak FlonneZilla ♥
User avatar

Joined: Sun Apr 01, 2007 12:59 am
Posts: 111
Location: USA
Reply with quote
Post 
Arch Linux

Normal:
Code:
wget http://aur.archlinux.org/packages/bsnes/bsnes.tar.gz
tar -xzf bsnes.tar.gz
cd bsnes/
makepkg

# The wildcards compensate for different architectures and version numbers
sudo pacman -U bsnes-*.pkg.tar.gz


With Yaourt:
Code:
yaourt -S bsnes

:) The bsnes package maintainer is named vEX, and he's very good with keeping up with the latest version at all times.


Sat Feb 07, 2009 10:47 pm
Profile WWW
Reply with quote
Post 
I would actually like to be able to build a copy of bsnes on Windows, so could someone here post some tips for that too? I understand that this thread is geared towards Linux/BSD (both of which I use, btw), I know how to compile on those two, but Windows I'm not so sure, so a tutorial would be nice.
(It'd be nice to be able to compile to build a copy of bsnes that is optimized for my system).

I understand that you can use Visual C++ or MinGW to compile; whichever produces faster code is ideal, but it would be nice to have a tutorial for both.

PS byuu:
Can't wait to see how the QT interface works out :wink:
(EDITED: spelt QT as GT by mistake, so I fixed it)


Last edited by ZH/Franky on Sun Feb 08, 2009 1:03 am, edited 2 times in total.



Sat Feb 07, 2009 11:51 pm
Reply with quote
Post 
Killa B wrote:
The bsnes package maintainer is named vEX, and he's very good with keeping up with the latest version at all times.


Hi, thank you for stopping by! :D
Your instructions are greatly appreciated.

Yes, [vEX] is a great guy. As is belegdol et al. Speaking of which, if anyone wants their distro package linked on the main bsnes download page, please let me know and I'll add it ASAP.

Larry the Panda wrote:
I would actually like to be able to build a copy of bsnes on Windows, so could someone here post some tips for that too?


Sure.

1) Download and install the latest TDM-GCC:
http://www.tdragon.net/recentgcc/

2) Download and install the latest DirectX SDK:
http://www.microsoft.com/downloads/deta ... B1CCA4865A

3) Copy the DirectX headers (not libraries) to MinGW/include, overwriting the existing files.

4) run bsnes/src/cc.bat.

If you want to build the new Qt interface, do the above with:

3a) Download and install the latest Qt:
ftp://ftp.trolltech.com/qt/source/qt-wi ... -mingw.exe
(You will need 4.5, as yet unreleased, to build a distributable LGPL version.)

3b) Compile the latest Qt:
This is very involved, sadly. You can find instructions elsewhere for building with GCC4.

3c) Modify bsnes/src/ui/Makefile and set qtdir to the root folder of your Qt installation.


Sun Feb 08, 2009 12:26 am
Reply with quote
Post 
Hey byuu, thanks for the tips.
EDIT:
Just tried it now. It works.


Sun Feb 08, 2009 1:05 am
Reply with quote
Post 
There is another question that I have:
Where can I find both source code and binaries for older versions of bsnes?


Sun Feb 08, 2009 3:31 pm
Lurker

Joined: Mon Mar 10, 2008 11:36 pm
Posts: 199
Reply with quote
Post 
Updated on March 18, 2009

bsnes without upx compress. - http://coonstation.googlepages.com/bsne ... pxcompress.

_________________
Window Vista Home Premium 32-bit / Intel Core 2 Quad Q6600 2.40Ghz / 3.00 GB RAM / Nvidia GeForce 8500 GT


Last edited by Dullaron on Wed Mar 18, 2009 11:34 am, edited 2 times in total.



Sun Feb 08, 2009 8:23 pm
Profile
Rookie

Joined: Mon Jul 18, 2005 2:16 pm
Posts: 21
Location: BW, Germany
Reply with quote
Post 
Mac OSx?


Mon Mar 16, 2009 6:33 pm
Profile
Reply with quote
Post 
Shin_Gouki wrote:
Mac OSx?


Good luck :P

It should compile fine, but there won't be any video / audio / input drivers :(


Mon Mar 16, 2009 7:21 pm
Rookie

Joined: Mon Jul 18, 2005 2:16 pm
Posts: 21
Location: BW, Germany
Reply with quote
Post 
Whats with the guy who build the 0.038 release?
Where did he get all that from?
IMO QT 4.5 should run very fine with OSX, what else is needed?


Mon Mar 16, 2009 8:35 pm
Profile
Display posts from previous:  Sort by  
This topic is locked, you cannot edit posts or make further replies.   [ 12 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software.