mirror of
https://github.com/love2d/megasource.git
synced 2026-08-20 04:30:45 +02:00
Add DevIL 1.7.8.
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
How do I compile the 3 libraries?
|
||||
--------------------------------
|
||||
|
||||
You will need autoconf, automake and libtool.
|
||||
|
||||
Just type:
|
||||
autoreconf -i
|
||||
./configure <your options here>
|
||||
make
|
||||
sudo make install
|
||||
|
||||
If you want to use the ILU and ILUT parts of DevIL, you will want to run
|
||||
./configure --enable-ILU --enable-ILUT
|
||||
|
||||
If you want configure to install in /usr instead of /usr/local, append
|
||||
--prefix=/usr to the ./configure line.
|
||||
|
||||
It should find automatically what can (or cannot) be built on your system. Libtool, autoconf and
|
||||
automake will need to be installed. You may need to copy files from your libtool
|
||||
into the libtools directory and overwrite ltmain.sh if it will not compile with the
|
||||
included files.
|
||||
|
||||
NB : ./configure --help gives you all compiling options available for the three
|
||||
libs. This includes enabling/disabling picture formats, ilut apis.
|
||||
|
||||
Enable/Disable:
|
||||
All features are basically enabled, and a test will be performed
|
||||
to verify if is possible to compile them in. If they are explicitly enabled
|
||||
or disabled no test will occour.
|
||||
|
||||
Compiling under Cygwin or MingW in Windows:
|
||||
------------------------------------------
|
||||
|
||||
Run the same commands as above. You will need to have the following packages installed: gcc-core, gcc-mingw-core, gcc-g++, autoconf, automake, libtool.
|
||||
|
||||
Config.h and JasPer:
|
||||
-------------------
|
||||
|
||||
If compiling with JasPer, you may need to modify config.h so that it does not
|
||||
redefine things that are defined in JasPer's jas_config.h. PACKAGE, PACKAGE_NAME,
|
||||
etc. are generated for both projects, since they use a similar configuration
|
||||
program. If there are conflicts, just comment out the ones in DevIL's config.h.
|
||||
|
||||
|
||||
Libraries needed to compile DevIL* :
|
||||
-----------------------------------
|
||||
|
||||
They are all autodetected by the ./configure script. But if you want to include
|
||||
one of those formats, you have just to install the corresponding lib :
|
||||
|
||||
(libs listed in libraries.txt)
|
||||
|
||||
or in your distro/port ftp/site/whatever_you_want :-)
|
||||
|
||||
|
||||
Installation:
|
||||
-------------
|
||||
|
||||
If #make succeeded, just type #make install, followed by #ldconfig
|
||||
(as su, of course)
|
||||
Reference in New Issue
Block a user