No description, website, or topics provided.
C Objective-C Python PHP C# C++ Other
Clone or download
Permalink
Failed to load latest commit information.
.travis Refactor a few things in the makefiles. Jan 24, 2016
XCode/libcacaXCode.xcodeproj Remove legacy code from 10 years ago. May 3, 2018
build Fixed VS2015 error; snprintf std is now included Feb 10, 2016
caca-php build: fix the WTFPL homepage and copyright information. Dec 28, 2012
caca-sharp Refactor a few things in the makefiles. Jan 24, 2016
caca Fix copyright headers so that the testsuite passes again. May 22, 2018
cxx Fix copyright headers so that the testsuite passes again. May 22, 2018
doc Remove legacy code from 10 years ago. May 3, 2018
examples Move many build files to the build subdirectory. Jan 24, 2016
java Refactor a few things in the makefiles. Jan 24, 2016
kernel Refactor a few things in the makefiles. Jan 24, 2016
perl Large source code cleanup, getting rid of spaces, tabs, and svn keywo… Feb 8, 2010
python Fix free for caca types. May 22, 2016
ruby ruby: require 'caca' instead of 'caca.so' Oct 7, 2016
src Fix copyright headers so that the testsuite passes again. May 22, 2018
tools Refactor a few things in the makefiles. Jan 24, 2016
.gitignore Revert setlocale() effect as soon as possible. Closes #12. Feb 1, 2016
.travis.yml Try to run Coverity from Travis CI. Oct 7, 2016
AUTHORS New improved ctypes-based Python bindings, by Alex Foulon <alxf@lavab… May 20, 2010
COPYING build: fix the WTFPL homepage and copyright information. Dec 28, 2012
COPYING.GPL * Added glue code to compile libcaca without a libc and build applic… Mar 9, 2006
COPYING.ISC Add a simple snake program using the <conio.h> interface. Aug 1, 2009
COPYING.LGPL * Changed the licensing to WTFPL, as per all copyright holders' perm… Mar 4, 2006
ChangeLog release: libcaca 0.99.beta18 Apr 6, 2012
Makefile.am Move many build files to the build subdirectory. Jan 24, 2016
NEWS release: libcaca 0.99.beta18 Apr 6, 2012
NOTES Large source code cleanup, getting rid of spaces, tabs, and svn keywo… Feb 8, 2010
README Clarify the need to bootstrap in README. Apr 16, 2010
THANKS win32: improvements to the Win32 driver by Bastian Märkisch <bmaerkis… Nov 18, 2012
bootstrap build: update bootstrap script. May 30, 2015
caca-config.in Large source code cleanup, getting rid of spaces, tabs, and svn keywo… Feb 8, 2010
configure.ac Hide private symbols (issue #33). May 19, 2018
libcaca.sln build: fix the Visual Studio compilation, remove old solution Jun 11, 2012
libcaca.spec * Removed cacademo from examples, manpages and distributions. It's u… Mar 6, 2006

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`