libmilo 0.1.0 review
DownloadlibMILO ("MILO"), is a free minimal image loading library written in C
|
|
libMILO ("MILO"), is a free minimal image loading library written in C. The library is capable of loading TGA and DDS files.
libmilo provides also a general purpose API for loading images as OpenGL textures.
Platforms
XEL is developed under Linux (x86), but should compile under most unix like systems.
DDS support
OpenGL extension "GL_ARB_texture_compression" is required.
Compiling the library
Please see the INSTALL file.
Note: If any of the OpenGL libraries (e.g. libGL, libGLU, libglut) reside in a custom directory, you can try something similar to:
LDFLAGS=-L/usr/X11/lib ./configure && make && su -c "make install"
Examples
glut.c example requires freeglut library (freeglut.sourceforge.net) to compile.
Using the library
Please see the src/example subdir for examples.
e.g. gcc -o simple simple.c `pkg-config --cflags --libs libmilo`
Note: the texture files used by the examples are not part of the source package. You can download them separately from the MILO website.
libmilo 0.1.0 search tags