Last change
on this file since 3274 was
2182,
checked in by Jean-Yves Lamoureux, 13 years ago
|
|
-
Property svn:keywords set to
Id
|
File size:
968 bytes
|
Line | |
---|
1 | $Id: README 2182 2008-01-01 00:07:04Z jylam $ |
---|
2 | |
---|
3 | Building libcaca |
---|
4 | |
---|
5 | o Run configure then make. Useful configure flags are: |
---|
6 | |
---|
7 | --enable-ncurses: support for the ncurses library |
---|
8 | --enable-slang: support for the SLang library |
---|
9 | --enable-conio: support for MS-DOS conio.h |
---|
10 | --enable-x11: support for native X11 rendering |
---|
11 | --enable-gl: support for OpenGL rendering |
---|
12 | --enable-win32: support for the Windows console |
---|
13 | --enable-network: support for the network server |
---|
14 | |
---|
15 | --disable-imlib2: remove Imlib2 support in cacaview |
---|
16 | |
---|
17 | --disable-doc: do not build documentation |
---|
18 | |
---|
19 | o Cross-compilation examples: |
---|
20 | |
---|
21 | ./configure --disable-imlib2 --host=i386-pc-msdosdjgpp |
---|
22 | |
---|
23 | ./configure --disable-imlib2 --host=i586-mingw32msvc |
---|
24 | |
---|
25 | |
---|
26 | Using libcaca |
---|
27 | |
---|
28 | o Look into the src/ and test/ directories for source code examples. |
---|
29 | |
---|
30 | o Compiling a libcaca program is fairly simple: |
---|
31 | |
---|
32 | gcc -c foobar.c -o foobar.o `pkg-config --cflags caca` |
---|
33 | gcc foobar.o -o foobar `pkg-config --libs caca` |
---|
34 | |
---|
Note: See
TracBrowser
for help on using the repository browser.