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 373c88b989 Merge branch 'main' of github.com:cacalabs/libcaca 3 年之前
.travis Refactor a few things in the makefiles. 8 年之前
XCode/libcacaXCode.xcodeproj Remove legacy code from 10 years ago. 6 年之前
build Upgrade autoconf scripts 3 年之前
caca Update copyright information and changelog 3 年之前
caca-php build: fix the WTFPL homepage and copyright information. 12 年之前
caca-sharp Refactor a few things in the makefiles. 8 年之前
cxx Clean up Visual Studio build files 3 年之前
doc Remove hack from 2004 that caused latex documentation generation issues 3 年之前
examples Clean up Visual Studio build files 3 年之前
java Refactor a few things in the makefiles. 8 年之前
kernel Refactor a few things in the makefiles. 8 年之前
perl Large source code cleanup, getting rid of spaces, tabs, and svn keywords. 15 年之前
python Fix deprecated call to pil method 7 年之前
ruby Update copyright information and changelog 3 年之前
src Minor IPv6 tweaks and credit to original author 3 年之前
tools Update copyright information and changelog 3 年之前
.gitignore Add .dirstamp to .gitignore. 5 年之前
.travis.yml Try to run Coverity from Travis CI. 8 年之前
AUTHORS New improved ctypes-based Python bindings, by Alex Foulon <alxf@lavabit.com>. 14 年之前
COPYING build: fix the WTFPL homepage and copyright information. 12 年之前
COPYING.GPL * Added glue code to compile libcaca without a libc and build applications 18 年之前
COPYING.ISC Add a simple snake program using the <conio.h> interface. 15 年之前
COPYING.LGPL * Changed the licensing to WTFPL, as per all copyright holders' permission. 19 年之前
Makefile.am Remove useless generated ChangeLog. 5 年之前
NEWS Minor IPv6 tweaks and credit to original author 3 年之前
NOTES Large source code cleanup, getting rid of spaces, tabs, and svn keywords. 15 年之前
README Clarify the need to bootstrap in README. 14 年之前
THANKS Minor IPv6 tweaks and credit to original author 3 年之前
bootstrap Upgrade autoconf scripts 3 年之前
caca-config.in Large source code cleanup, getting rid of spaces, tabs, and svn keywords. 15 年之前
configure.ac Merge branch 'main' of github.com:cacalabs/libcaca 3 年之前
libcaca.sln build: fix the Visual Studio compilation, remove old solution 12 年之前
libcaca.spec * Removed cacademo from examples, manpages and distributions. It's useless. 19 年之前

README


Building libcaca

o If you are using a Git or SVN checkout, you need to run the
bootstrap script in order to generate configure. This is not
necessary for official tarballs.

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`