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.

пре 19 година
12345678910111213141516171819202122232425262728293031323334353637
  1. Building libcaca
  2. o If you are using a Git or SVN checkout, you need to run the
  3. bootstrap script in order to generate configure. This is not
  4. necessary for official tarballs.
  5. o Run configure then make. Useful configure flags are:
  6. --enable-ncurses: support for the ncurses library
  7. --enable-slang: support for the SLang library
  8. --enable-conio: support for MS-DOS conio.h
  9. --enable-x11: support for native X11 rendering
  10. --enable-gl: support for OpenGL rendering
  11. --enable-win32: support for the Windows console
  12. --enable-network: support for the network server
  13. --disable-imlib2: remove Imlib2 support in cacaview
  14. --disable-doc: do not build documentation
  15. o Cross-compilation examples:
  16. ./configure --disable-imlib2 --host=i386-pc-msdosdjgpp
  17. ./configure --disable-imlib2 --host=i586-mingw32msvc
  18. Using libcaca
  19. o Look into the src/ and test/ directories for source code examples.
  20. o Compiling a libcaca program is fairly simple:
  21. gcc -c foobar.c -o foobar.o `pkg-config --cflags caca`
  22. gcc foobar.o -o foobar `pkg-config --libs caca`