1) Download the 0.7.2 source from here : https://bitbucket.org/rude/love/downloa ... src.tar.gz
or http://cdn.bitbucket.org/rude/love/down ... src.tar.gz
2) Extract the package by either gnome desktop or by terminal using :
Code: Select all
tar zxf love-0.7.2-linux-src.tar.gz
4) run terminal
use these commands:-
Code: Select all
./configure
the links to those files are:-
4.a) libsdl for (SDL_Init) http://www.libsdl.org/release/SDL-1.2.13.tar.gz
#Extract the tar
#then go to terminal
#navigate to extracted folder
Code: Select all
./configure
make
make install
in terminal:-
Code: Select all
sudo apt-get install libopenal-dev
4.c) DevIL [developer image library]
here you can download either the .deb file or source file
.deb file : http://ftp.debian.org/debian/pool/main/ ... 1_i386.deb
src file : http://downloads.sourceforge.net/openil ... 7.8.tar.gz
The following Files will be needed for compiling the src [Note : you should have them neway, if not then install now ]
Libpng http://www.libpng.org/pub/png/libpng.html
Libtiff http://www.libtiff.org/ this sucker was causing me some trouble
CMS http://www.littlecms.com/
LibMng http://www.libmng.com/
To install all the above libraries use the same procedure:
#Extract the tar
#then go to terminal
#navigate to extracted folder
Code: Select all
./configure
make
make install
If you use .deb file : just double click the file and install
if you use src file then follow the steps as earlier to compile and install:
#Extract the tar
#then go to terminal
#navigate to extracted folder
Code: Select all
./configure
make
make install
to compile u will need "cmake"
#extract the file
#open terminal
#navigate to extracted folder
Code: Select all
cmake .
make
make install
4.e) mpg123 http://sourceforge.net/projects/mpg123/ ... 2/download
#Extract the tar
#then go to terminal
#navigate to extracted folder
Code: Select all
./configure
make
make install
Go to where you extracted Folder [step 3 = love-head]
run terminal
use :-
Code: Select all
./configure
#all should run well
make
something like this:-
Code: Select all
g++ -DHAVE_CONFIG_H -I. -I./modules -I/usr/include/AL -I/usr/include/freetype2 -I/usr/include/lua5.1 -I/usr/include/SDL -D_FILE_OFFSET_BITS=64 -g -O2 -MT modules/sound/lullaby/ModPlugDecoder.o -MD -MP -MF $depbase.Tpo -c -o modules/sound/lullaby/ModPlugDecoder.o modules/sound/lullaby/ModPlugDecoder.cpp &&\
mv -f $depbase.Tpo $depbase.Po
modules/sound/lullaby/ModPlugDecoder.cpp: In constructor ‘love::sound::lullaby::ModPlugDecoder::ModPlugDecoder(love::Data*, const std::string&, int)’:
modules/sound/lullaby/ModPlugDecoder.cpp:45: error: ‘struct ModPlug_Settings’ has no member named ‘mStereoSeparation’
modules/sound/lullaby/ModPlugDecoder.cpp:46: error: ‘struct ModPlug_Settings’ has no member named ‘mMaxMixChannels’
make[3]: *** [modules/sound/lullaby/ModPlugDecoder.o] Error 1
make[3]: Leaving directory `/home/fer0x/Downloads/love-HEAD/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/fer0x/Downloads/love-HEAD/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fer0x/Downloads/love-HEAD'
make: *** [all] Error 2
go to folder : love-HEAD/src/modules/sound/lullaby
edit the file modPlugDecoder.cpp using gedit
look for the lines
Code: Select all
settings.mStereoSeparation = 128;
settings.mMaxMixChannels = 32;
Code: Select all
//settings.mStereoSeparation = 128;
//settings.mMaxMixChannels = 32;
7)repeat the make procedure at the "love-head" folder [all will be fine now]
Code: Select all
make
make install
To test type in terminal :-
Code: Select all
love
ENJOY