Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

18 лет назад
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`