Installing Love 0.7.2 on Linux Mint
Posted: Fri Jul 15, 2011 7:31 pm
ok after a long ( i mean long ) battle with problems and detours i finally got love 0.7.2 to run on my linux mint 9. So that my friends out there dont have to go through the same ordeal i want to put up this guide :-
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 :
3) Go to the extracted Folder
4) run terminal
use these commands:-
you should see that a few files are missing (the script stops as soon as one file is missing hence u will see the next missing file once the previous is installed)
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
4.b) Openal
in terminal:-
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
Now to install DevIL
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
4.d) PhysicsSF http://icculus.org/physfs/downloads/physfs-2.0.2.tar.gz
to compile u will need "cmake"
#extract the file
#open terminal
#navigate to extracted folder
4.e) mpg123 http://sourceforge.net/projects/mpg123/ ... 2/download
#Extract the tar
#then go to terminal
#navigate to extracted folder
5) Finally you are ALMOST ready to install
Go to where you extracted Folder [step 3 = love-head]
run terminal
use :-
again at make you will encounter some errors telling you that some definition is improper in modplug_settings [you will have to read the output on terminal ]
something like this:-
6)now in the extracted folder [love - head]
go to folder : love-HEAD/src/modules/sound/lullaby
edit the file modPlugDecoder.cpp using gedit
look for the lines
and comment them out like this :-
save the file
7)repeat the make procedure at the "love-head" folder [all will be fine now]
You will have Love installed Now
To test type in terminal :-
you will have this window :-
ENJOY
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