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.

12345678910111213141516171819202122232425262728293031323334
  1. $Id$
  2. Building libcaca
  3. o Run configure then make. Useful configure flags are:
  4. --enable-ncurses: support for the ncurses library
  5. --enable-slang: support for the SLang library
  6. --enable-conio: support for MS-DOS conio.h
  7. --enable-x11: support for native X11 rendering
  8. --enable-gl: support for OpenGL rendering
  9. --enable-win32: support for the Windows console
  10. --enable-network: support for the network server
  11. --disable-imlib2: remove Imlib2 support in cacaview
  12. --disable-doc: do not build documentation
  13. o Cross-compilation examples:
  14. ./configure --disable-imlib2 --host=i386-pc-msdosdjgpp
  15. ./configure --disable-imlib2 --host=i586-mingw32msvc
  16. Using libcaca
  17. o Look into the src/ and test/ directories for source code examples.
  18. o Compiling a libcaca program is fairly simple:
  19. gcc -c foobar.c -o foobar.o `pkg-config --cflags caca`
  20. gcc foobar.o -o foobar `pkg-config --libs caca`