You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Sam Hocevar d04b853800 * Look for htons/htonl in netinet/in.h in addition to arpa/inet.h 18 years ago
autotools * Fixed $Id in all Makefile.am files. 21 years ago
caca * Removed duplicate uint*_t defines from *_internal.h and included common.h 18 years ago
cpp * Removed soon-to-be-thrown-away sprite stuff from the C++ bindings. 18 years ago
cucul * Look for htons/htonl in netinet/in.h in addition to arpa/inet.h 18 years ago
debian * Fixed Debian build files. 18 years ago
doc * Hahaha, fixed the coding style example. 18 years ago
kernel * Removed duplicate uint*_t defines from *_internal.h and included common.h 18 years ago
msvc * Updated MSVC++ project (static library and src/*) 18 years ago
perl * Updated MSVC++ project (static library and src/*) 18 years ago
python * More function mass-renaming: caca_attach -> caca_create_display, etc. 18 years ago
src * Removed duplicate uint*_t defines from *_internal.h and included common.h 18 years ago
test * Removed duplicate uint*_t defines from *_internal.h and included common.h 18 years ago
tools * Look for htons/htonl in netinet/in.h in addition to arpa/inet.h 18 years ago
AUTHORS * Added AUTHORS, THANKS, NEWS and TODO to the Doxygen documentation. Moved the main 18 years ago
COPYING * Changed the licensing to WTFPL, as per all copyright holders' permission. 19 years ago
COPYING.GPL * Added glue code to compile libcaca without a libc and build applications 18 years ago
COPYING.LGPL * Changed the licensing to WTFPL, as per all copyright holders' permission. 19 years ago
ChangeLog * 0.99.beta1 release. 18 years ago
Makefile.am * Added "common.h", a placeholder for simple features and functions missing 18 years ago
NEWS * 0.99.beta1 release. 18 years ago
NOTES * Moved the technical discussion on S-Lang's palette optimisation from 18 years ago
README * Updated README (caca-config -> pkg-config) and TODO. 18 years ago
THANKS * Added AUTHORS, THANKS, NEWS and TODO to the Doxygen documentation. Moved the main 18 years ago
TODO * 0.99.beta1 release. 18 years ago
bootstrap * New updated bootstrap script. 19 years ago
build-dos * Fixed DOS driver. 19 years ago
build-kernel * Oops, modified build-kernel while testing and commited it ;) 18 years ago
build-win32 * Distribute the license with Win32 packages and convert text files to 18 years ago
caca-config.in * Let us do "caca-config --libs cucul" to get only the libcucul dependencies. 18 years ago
common.h * Look for htons/htonl in netinet/in.h in addition to arpa/inet.h 18 years ago
configure.ac * Look for htons/htonl in netinet/in.h in addition to arpa/inet.h 18 years ago
libcaca.spec * Removed cacademo from examples, manpages and distributions. It's useless. 19 years ago

README

$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

--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`