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.

README 960 B

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