SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

$Id: README 595 2006-04-18 08:33:53Z sam $

Building libcaca

  • 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
  • Cross-compilation examples:

./configure --disable-imlib2 --host=i386-pc-msdosdjgpp

./configure --disable-imlib2 --host=i586-mingw32msvc

Using libcaca

  • Look into the src/ and test/ directories for source code examples.
  • 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`


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.