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 a72d5736e0 * Fixed a segfault in the C++ bindings. Vieux porc ! 18 年之前
autotools * Fixed $Id in all Makefile.am files. 21 年之前
caca * Set library names to lib*.so.0.10.0. 18 年之前
cpp * Fixed a segfault in the C++ bindings. Vieux porc ! 18 年之前
cucul * Set library names to lib*.so.0.10.0. 18 年之前
debian * Updates to the Debian build files. 18 年之前
doc * Documentation improvements. Wrote a small migration guide and added the 18 年之前
kernel * Removed \file directives from all files except caca.h and cucul.h, to 18 年之前
msvc * Updated MSVC++ project (static library and src/*) 18 年之前
perl * Updated MSVC++ project (static library and src/*) 18 年之前
python * More function mass-renaming: caca_attach -> caca_create_display, etc. 18 年之前
src * Moved cucul_load_canvas() into cucul/import.c and renamed it into 18 年之前
test * Moved cucul_load_canvas() into cucul/import.c and renamed it into 18 年之前
tools * Moved the technical discussion on S-Lang's palette optimisation from 18 年之前
AUTHORS * Added AUTHORS, THANKS, NEWS and TODO to the Doxygen documentation. Moved the main 18 年之前
COPYING * Changed the licensing to WTFPL, as per all copyright holders' permission. 19 年之前
COPYING.GPL * Added glue code to compile libcaca without a libc and build applications 18 年之前
COPYING.LGPL * Changed the licensing to WTFPL, as per all copyright holders' permission. 19 年之前
ChangeLog * Updated ChangeLog and converted it to UTF-8. 18 年之前
Makefile.am * Added preliminary C++ bindings 18 年之前
NEWS * Added AUTHORS, THANKS, NEWS and TODO to the Doxygen documentation. Moved the main 18 年之前
NOTES * Moved the technical discussion on S-Lang's palette optimisation from 18 年之前
README * Updated README (caca-config -> pkg-config) and TODO. 18 年之前
THANKS * Added AUTHORS, THANKS, NEWS and TODO to the Doxygen documentation. Moved the main 18 年之前
TODO * Documentation improvements. Wrote a small migration guide and added the 18 年之前
bootstrap * New updated bootstrap script. 19 年之前
build-dos * Fixed DOS driver. 19 年之前
build-kernel * Oops, modified build-kernel while testing and commited it ;) 18 年之前
build-win32 * Distribute the license with Win32 packages and convert text files to 18 年之前
caca-config.in * Let us do "caca-config --libs cucul" to get only the libcucul dependencies. 18 年之前
configure.ac * Set library names to lib*.so.0.10.0. 18 年之前
libcaca.spec * Removed cacademo from examples, manpages and distributions. It's useless. 19 年之前

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`