mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-22 23:12:21 +00:00
[CHG] Updated the readme file (FreeType support)
This commit is contained in:
parent
5deb38d502
commit
ef709a23b7
1 changed files with 19 additions and 12 deletions
19
README.html
19
README.html
|
@ -47,9 +47,10 @@ or a text editor.
|
||||||
As of v4.1.0, GRRLIB is supplied as a standard C/C++ library (aka. archive)
|
As of v4.1.0, GRRLIB is supplied as a standard C/C++ library (aka. archive)
|
||||||
called 'libgrrlib'. Because GRRLIB processes JPEG and PNG images, it requires
|
called 'libgrrlib'. Because GRRLIB processes JPEG and PNG images, it requires
|
||||||
the installation of the 'libjpeg' and 'libpngu' libraries. 'libpngu', in turn,
|
the installation of the 'libjpeg' and 'libpngu' libraries. 'libpngu', in turn,
|
||||||
requires 'libpng' and 'libpng' requires 'libz'. GRRLIB also has FileIO
|
requires 'libpng' and 'libpng' requires 'libz'. GRRLIB has FileIO functions
|
||||||
functions to allow real-time loading and saving of graphical data, and thus also
|
to allow real-time loading and saving of graphical data, and thus requires
|
||||||
requires 'libfat'.
|
'libfat'. GRRLIB also has the possibility to use TrueType fonts, so
|
||||||
|
'libfreetype' is also required.
|
||||||
|
|
||||||
libgrrlib <- 2D/3D graphics library
|
libgrrlib <- 2D/3D graphics library
|
||||||
+-- libfat <- File I/O
|
+-- libfat <- File I/O
|
||||||
|
@ -57,7 +58,7 @@ libgrrlib <- 2D/3D graphics library
|
||||||
+-- libpngu <- Wii wrapper for libpng
|
+-- libpngu <- Wii wrapper for libpng
|
||||||
+-- libpng <- PNG image processor
|
+-- libpng <- PNG image processor
|
||||||
+-- libz <- Zip (lossless) compression (for PNG compression)
|
+-- libz <- Zip (lossless) compression (for PNG compression)
|
||||||
+-- libfreetype <- TrueType Font processor
|
+-- libfreetype <- TrueType font processor
|
||||||
|
|
||||||
|
|
||||||
Developing for the Wii
|
Developing for the Wii
|
||||||
|
@ -120,13 +121,19 @@ Next up the list is libpngu *2
|
||||||
cd \grr\trunk\GRRLIB\lib\pngu
|
cd \grr\trunk\GRRLIB\lib\pngu
|
||||||
make clean all install
|
make clean all install
|
||||||
|
|
||||||
|
To install libfreetype *2
|
||||||
|
c:
|
||||||
|
cd \grr\trunk\GRRLIB\lib\freetype
|
||||||
|
make install
|
||||||
|
|
||||||
Next up the list is libjpeg *2 *3
|
Next up the list is libjpeg *2 *3
|
||||||
c:
|
c:
|
||||||
cd \grr\trunk\GRRLIB\lib\jpeg
|
cd \grr\trunk\GRRLIB\lib\jpeg
|
||||||
make install
|
make install
|
||||||
|
|
||||||
*2 A Windows batch-file and a Linux shell-script are included which will
|
*2 A Windows batch-file and a Linux shell-script are included which will
|
||||||
install the libpng, libpngu and libjpeg libraries in a single command:
|
install the libpng, libpngu, libjpeg and libfreetype libraries in a single
|
||||||
|
command:
|
||||||
c:
|
c:
|
||||||
cd \grr\trunk\GRRLIB\lib
|
cd \grr\trunk\GRRLIB\lib
|
||||||
install <- If you are using Linux, type `./install.sh` instead
|
install <- If you are using Linux, type `./install.sh` instead
|
||||||
|
@ -149,7 +156,7 @@ After everything is installed, simply put
|
||||||
at the top of your .c/.cpp file and use the functions as required
|
at the top of your .c/.cpp file and use the functions as required
|
||||||
|
|
||||||
You will also need to add
|
You will also need to add
|
||||||
-lgrrlib -lfat -ljpeg -lpngu -lpng -lz
|
-lgrrlib -lfreetype -lfat -ljpeg -lpngu -lpng -lz
|
||||||
to the libs line in your makefile
|
to the libs line in your makefile
|
||||||
...Remember the order of the libraries is critical. You may (need to) insert
|
...Remember the order of the libraries is critical. You may (need to) insert
|
||||||
other libraries in the middle of the list, you may need to add others to the
|
other libraries in the middle of the list, you may need to add others to the
|
||||||
|
|
Loading…
Reference in a new issue