-
Notifications
You must be signed in to change notification settings - Fork 15
Building LÖVEPotion
LÖVEPotion has the following dependencies:
- devkitARM
- ctrulib
- portlibs (freetype, zlib, libogg, libvorbis, libpng and libjpeg-turbo)
- zlib (for freetype)
- A working GCC compiler (for freetype)
- sf2dlib, sftdlib and sfilib (included in the source)
-
Download devkitPRO from here and run the automated installer.
-
Download ctrulib from here (always download the latest version by pressing on Download ZIP). Afterwards, put the content of the libctru folder from the compressed file on C:/devkitPRO/libctru. Then, open a command shell and run the following commands:
cd C:\devkitPro\libctru
make clean
make
make install
-
Download zlib from here, and put the file zlib1.dll on your folder system32.
-
Download MinGW and it's GCC compiler. Instructions here.
-
Make a folder for the portlibs, and uncompress the files from here inside it. Now, download the following files and put them in the same folder:
Open a command shell, use cd folder
where folder should be obviously an URL to the folder where the Makefile and the portlibs are located, and then run the following commands:
make zlib
make install-zlib
make libogg
make install
make freetype
make libpng
make libjpeg-turbo
make libvorbis
make install
-
Use
cd
to the folder where you downloaded LÖVEPotion, and runmake build-all
-
Done!