|
|
16 vuotta sitten | |
|---|---|---|
| caca | 16 vuotta sitten | |
| caca-php | 16 vuotta sitten | |
| caca-sharp | 16 vuotta sitten | |
| cxx | 16 vuotta sitten | |
| doc | 16 vuotta sitten | |
| examples | 16 vuotta sitten | |
| kernel | 16 vuotta sitten | |
| perl | 19 vuotta sitten | |
| python | 16 vuotta sitten | |
| ruby | 16 vuotta sitten | |
| src | 16 vuotta sitten | |
| tests | 16 vuotta sitten | |
| tools | 17 vuotta sitten | |
| win32 | 16 vuotta sitten | |
| .gitignore | 17 vuotta sitten | |
| AUTHORS | 16 vuotta sitten | |
| COPYING | 18 vuotta sitten | |
| COPYING.GPL | 20 vuotta sitten | |
| COPYING.ISC | 16 vuotta sitten | |
| COPYING.LGPL | 20 vuotta sitten | |
| ChangeLog | 17 vuotta sitten | |
| Makefile.am | 16 vuotta sitten | |
| NEWS | 16 vuotta sitten | |
| NOTES | 19 vuotta sitten | |
| README | 18 vuotta sitten | |
| THANKS | 16 vuotta sitten | |
| bootstrap | 16 vuotta sitten | |
| build-dos | 17 vuotta sitten | |
| build-kernel | 17 vuotta sitten | |
| build-win32 | 17 vuotta sitten | |
| caca-config.in | 17 vuotta sitten | |
| configure.ac | 16 vuotta sitten | |
| libcaca.sln | 16 vuotta sitten | |
| libcaca.spec | 20 vuotta sitten | |
$Id$
Building libcaca
o Run configure then make. Useful configure flags are:
--enable-ncurses: support for the ncurses library
--enable-slang: support for the SLang library
--enable-conio: support for MS-DOS conio.h
--enable-x11: support for native X11 rendering
--enable-gl: support for OpenGL rendering
--enable-win32: support for the Windows console
--enable-network: support for the network server
--disable-imlib2: remove Imlib2 support in cacaview
--disable-doc: do not build documentation
o Cross-compilation examples:
./configure --disable-imlib2 --host=i386-pc-msdosdjgpp
./configure --disable-imlib2 --host=i586-mingw32msvc
Using libcaca
o Look into the src/ and test/ directories for source code examples.
o Compiling a libcaca program is fairly simple:
gcc -c foobar.c -o foobar.o `pkg-config --cflags caca`
gcc foobar.o -o foobar `pkg-config --libs caca`