Instructables

Portable native MOD player based on Raspberry PI (plays MOD,S3M,IT,XM etc...). Uses BassPlay library.

Featured

Step 4: Software part - Compiling of the player for Raspberry PI

The most tricky part is to put correct libraries in the correct directory.
MANY THANKS to Aleksander Mosingiewicz (author of the player) for figuring out!

All commands are being executed as root.

Gain root access using command:

sudo passwd

Then you can log in as root by your password.

There are some packages to install before compiling:

aptitude update

aptitude install intltool

aptitude install libgtk2.0-dev

Preparation of source code and libs:

Put hardfp/libbass.so from bass24-linux-arm.zip in:

/usr/local/lib

Unzip source code:

tar -zxvf bassplay-0.1.tar.gz

unzip bass24-linux.zip in subdirectory bass in the directory of source code bassplay-0.1/bass.
!Do the same with bass24-linux-arm.zip and overwrite files!.

mkdir bassplay-0.1/bass
cp bass24-linux.zip bassplay-0.1/bass/
cp bass24-linux-arm.zip bassplay-0.1/bass/
unzip bassplay-0.1/bass/bass24-linux.zip
unzip bassplay-0.1/bass/bass24-linux-arm.zip

Proceed with compilation:

cd bassplay-0.1

./configure
make
make install
 
Remove these adsRemove these ads by Signing Up
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!