Sam Hocevar 8ae84fad4e | 15 years ago | |
---|---|---|
XCode/libcacaXCode.xcodeproj | 15 years ago | |
caca | 15 years ago | |
caca-php | 15 years ago | |
caca-sharp | 15 years ago | |
cxx | 15 years ago | |
doc | 15 years ago | |
examples | 15 years ago | |
java | 15 years ago | |
kernel | 15 years ago | |
perl | 18 years ago | |
python | 15 years ago | |
ruby | 15 years ago | |
src | 15 years ago | |
test | 15 years ago | |
tools | 15 years ago | |
win32 | 15 years ago | |
.gitignore | 15 years ago | |
AUTHORS | 15 years ago | |
COPYING | 17 years ago | |
COPYING.GPL | 18 years ago | |
COPYING.ISC | 15 years ago | |
COPYING.LGPL | 19 years ago | |
ChangeLog | 15 years ago | |
Makefile.am | 15 years ago | |
NEWS | 15 years ago | |
NOTES | 18 years ago | |
README | 17 years ago | |
THANKS | 15 years ago | |
bootstrap | 15 years ago | |
build-dos | 15 years ago | |
build-kernel | 15 years ago | |
build-win32 | 15 years ago | |
caca-config.in | 15 years ago | |
configure.ac | 15 years ago | |
libcaca.sln | 15 years ago | |
libcaca.spec | 19 years ago |
$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`